ui: Custom style for dock widget title bars

* avoid style loading in every view on application start
* improved contrast of reference label
* moved Reset Window Layout action up in View menu
This commit is contained in:
Eberhard Graether
2018-01-05 01:06:49 +01:00
parent c17f7dd3d4
commit ea8ab3df8e
21 changed files with 64 additions and 34 deletions
-1
View File
@@ -14,7 +14,6 @@ QtCodeView::QtCodeView(ViewLayout* viewLayout)
: CodeView(viewLayout)
{
m_widget = new QtCodeNavigator();
setStyleSheet();
}
QtCodeView::~QtCodeView()
-2
View File
@@ -180,8 +180,6 @@ void QtErrorView::initView()
checkboxes->addSpacing(10);
layout->addLayout(checkboxes);
setStyleSheet();
}
void QtErrorView::refreshView()
-2
View File
@@ -150,8 +150,6 @@ void QtGraphView::initView()
updateTrailButtons();
trailDepthChanged(0);
}
refreshView();
}
void QtGraphView::refreshView()
-1
View File
@@ -9,7 +9,6 @@ QtRefreshView::QtRefreshView(ViewLayout* viewLayout)
: RefreshView(viewLayout)
{
m_widget = new QtRefreshBar();
setStyleSheet();
}
QtRefreshView::~QtRefreshView()
-1
View File
@@ -11,7 +11,6 @@ QtSearchView::QtSearchView(ViewLayout* viewLayout)
: SearchView(viewLayout)
{
m_widget = new QtSearchBar();
setStyleSheet();
}
QtSearchView::~QtSearchView()
-2
View File
@@ -74,8 +74,6 @@ void QtStatusView::initView()
filters->addSpacing(10);
layout->addLayout(filters);
refreshView();
}
void QtStatusView::refreshView()
-1
View File
@@ -9,7 +9,6 @@ QtUndoRedoView::QtUndoRedoView(ViewLayout* viewLayout)
: UndoRedoView(viewLayout)
{
m_widget = new QtUndoRedo();
setStyleSheet();
}
QtUndoRedoView::~QtUndoRedoView()