Qt: Make toolbar more dynamic
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
LogConfigWidget::LogConfigWidget(QWidget* parent) : QDockWidget(parent)
|
||||
{
|
||||
setWindowTitle(tr("Log Configuration"));
|
||||
setObjectName(QStringLiteral("logconfig"));
|
||||
|
||||
setHidden(!Settings::Instance().IsLogConfigVisible());
|
||||
setAllowedAreas(Qt::AllDockWidgetAreas);
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@ constexpr int TIMESTAMP_LENGTH = 10;
|
||||
LogWidget::LogWidget(QWidget* parent) : QDockWidget(parent), m_timer(new QTimer(this))
|
||||
{
|
||||
setWindowTitle(tr("Log"));
|
||||
setObjectName(QStringLiteral("log"));
|
||||
|
||||
setHidden(!Settings::Instance().IsLogVisible());
|
||||
setAllowedAreas(Qt::AllDockWidgetAreas);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user