Implement stylesheets in caf instead of ResInsight

This commit is contained in:
Gaute Lindkvist
2019-11-11 11:19:55 +01:00
parent 285433cbb8
commit 7a2a0d3f2f
13 changed files with 396 additions and 342 deletions

View File

@@ -680,6 +680,7 @@ void RiuMainWindow::createDockPanels()
m_projectTreeView = new caf::PdmUiTreeView( this );
m_projectTreeView->enableSelectionManagerUpdating( true );
m_styleSheet.applyToWidgetAndChildren( m_projectTreeView );
RiaApplication* app = RiaApplication::instance();
m_projectTreeView->enableAppendOfClassNameToUiItemText( app->preferences()->appendClassNameToUiText() );