Hi all,

Unfortunately it's not possible to add a QGridLayout* to a QDockWidget in a QMainWindow. It is possible to add one QLineEdit or one QLabel with QDockWidget::setWidget(QWidget *widget).

It's possible to add a QTextEdit which is able to show file contens to the DockWidget with setWidget, but then I have to write all the QLinEdit/QLabels to file which is inconvenient since the QLineEdits variables will change a lot of times during program execution.

My question is how can I add several QLineEdit/QLabels to the same DockWidgetArea?
Any help is deeply appreciated!
Thanks