Improved documentation, made a lot of member functions protected to make it clearer which functions the user is allowed to use, the CDockWidget constructor now sets the objectName() to the given title, so there is no need to call setObjectName() explicitely if the title is static and unique

This commit is contained in:
Uwe Kindler
2018-08-29 08:47:05 +02:00
parent 0b963d1540
commit 72ee4a53df
8 changed files with 157 additions and 106 deletions

View File

@@ -211,6 +211,7 @@ CDockWidget::CDockWidget(const QString &title, QWidget *parent) :
d->Layout->setSpacing(0);
setLayout(d->Layout);
setWindowTitle(title);
setObjectName(title);
d->TitleWidget = new CDockWidgetTab(this);
d->ToggleViewAction = new QAction(title);