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:
@@ -14,7 +14,6 @@ QtCodeView::QtCodeView(ViewLayout* viewLayout)
|
||||
: CodeView(viewLayout)
|
||||
{
|
||||
m_widget = new QtCodeNavigator();
|
||||
setStyleSheet();
|
||||
}
|
||||
|
||||
QtCodeView::~QtCodeView()
|
||||
|
||||
@@ -180,8 +180,6 @@ void QtErrorView::initView()
|
||||
checkboxes->addSpacing(10);
|
||||
|
||||
layout->addLayout(checkboxes);
|
||||
|
||||
setStyleSheet();
|
||||
}
|
||||
|
||||
void QtErrorView::refreshView()
|
||||
|
||||
@@ -150,8 +150,6 @@ void QtGraphView::initView()
|
||||
updateTrailButtons();
|
||||
trailDepthChanged(0);
|
||||
}
|
||||
|
||||
refreshView();
|
||||
}
|
||||
|
||||
void QtGraphView::refreshView()
|
||||
|
||||
@@ -9,7 +9,6 @@ QtRefreshView::QtRefreshView(ViewLayout* viewLayout)
|
||||
: RefreshView(viewLayout)
|
||||
{
|
||||
m_widget = new QtRefreshBar();
|
||||
setStyleSheet();
|
||||
}
|
||||
|
||||
QtRefreshView::~QtRefreshView()
|
||||
|
||||
@@ -11,7 +11,6 @@ QtSearchView::QtSearchView(ViewLayout* viewLayout)
|
||||
: SearchView(viewLayout)
|
||||
{
|
||||
m_widget = new QtSearchBar();
|
||||
setStyleSheet();
|
||||
}
|
||||
|
||||
QtSearchView::~QtSearchView()
|
||||
|
||||
@@ -74,8 +74,6 @@ void QtStatusView::initView()
|
||||
filters->addSpacing(10);
|
||||
|
||||
layout->addLayout(filters);
|
||||
|
||||
refreshView();
|
||||
}
|
||||
|
||||
void QtStatusView::refreshView()
|
||||
|
||||
@@ -9,7 +9,6 @@ QtUndoRedoView::QtUndoRedoView(ViewLayout* viewLayout)
|
||||
: UndoRedoView(viewLayout)
|
||||
{
|
||||
m_widget = new QtUndoRedo();
|
||||
setStyleSheet();
|
||||
}
|
||||
|
||||
QtUndoRedoView::~QtUndoRedoView()
|
||||
|
||||
Reference in New Issue
Block a user