@@ -77,41 +77,40 @@ using namespace SCIRun::Core::Algorithms;
7777
7878SCIRunMainWindow::SCIRunMainWindow () : firstTimePythonShown_(true )
7979{
80- setupUi (this );
81- setAttribute (Qt::WA_DeleteOnClose);
82- if (newInterface ())
83- setStyleSheet (
84- " background-color: rgb(66,66,69);"
85- " color: white;"
86- " selection-color: yellow;"
87- " selection-background-color: blue;"
88- // "QMenuBar::item { background-color: rgb(66,66,69); color: black }"
89- " QToolBar { background-color: rgb(66,66,69); border: 1px solid black; color: black }"
90- " QProgressBar { background-color: rgb(66,66,69); border: 0px solid black; color: black }"
91- " QDockWidget {background: rgb(66,66,69); background-color: rgb(66,66,69) }"
92-
93- // "border: 1px solid white;"
94- // "border-radius: 3px;"
95- " QPushButton {"
96- " border: 2px solid #8f8f91;"
97- " border - radius: 6px;"
98- " background - color: qlineargradient(x1 : 0, y1 : 0, x2 : 0, y2 : 1,"
99- " stop : 0 #f6f7fa, stop: 1 #dadbde);"
100- " min - width: 80px;"
101- " }"
102- " QPushButton:pressed{"
103- " background - color: qlineargradient(x1 : 0, y1 : 0, x2 : 0, y2 : 1,"
104- " stop : 0 #dadbde, stop: 1 #f6f7fa);"
105- " }"
106- " QPushButton:flat{"
107- " border: none; /* no border for a flat push button */"
108- " }"
109- " QPushButton:default {"
110- " border - color: navy; /* make the default button prominent */"
111- " }"
112- );
113-
114- dialogErrorControl_.reset (new DialogErrorControl (this ));
80+ setupUi (this );
81+ setAttribute (Qt::WA_DeleteOnClose);
82+ if (newInterface ())
83+ setStyleSheet (
84+ " background-color: rgb(66,66,69);"
85+ " color: white;"
86+ " selection-color: yellow;"
87+ " selection-background-color: blue;" // 336699 lighter blue
88+ " QToolBar { background-color: rgb(66,66,69); border: 1px solid black; color: black; }"
89+ " QProgressBar { background-color: rgb(66,66,69); border: 0px solid black; color: black ; }"
90+ " QDockWidget {background: rgb(66,66,69); background-color: rgb(66,66,69); }"
91+ // "border: 1px solid white;"
92+ // "border-radius: 3px;"
93+
94+ " QPushButton {"
95+ " border: 2px solid #8f8f91;"
96+ " border - radius: 6px;"
97+ " background - color: qlineargradient(x1 : 0, y1 : 0, x2 : 0, y2 : 1,"
98+ " stop : 0 #f6f7fa, stop: 1 #dadbde);"
99+ " min - width: 80px;"
100+ " }"
101+ " QPushButton:pressed{"
102+ " background - color: qlineargradient(x1 : 0, y1 : 0, x2 : 0, y2 : 1,"
103+ " stop : 0 #dadbde, stop: 1 #f6f7fa);"
104+ " }"
105+ " QPushButton:flat{"
106+ " border: none; /* no border for a flat push button */"
107+ " }"
108+ " QPushButton:default {"
109+ " border - color: navy; /* make the default button prominent */"
110+ " }"
111+ );
112+ menubar_->setStyleSheet (" QMenuBar::item::selected{background-color : rgb(66, 66, 69); } QMenuBar::item::!selected{ background-color : rgb(66, 66, 69); } " );
113+ dialogErrorControl_.reset (new DialogErrorControl (this ));
115114 setupNetworkEditor ();
116115
117116 setTipsAndWhatsThis ();
@@ -148,7 +147,8 @@ SCIRunMainWindow::SCIRunMainWindow() : firstTimePythonShown_(true)
148147 setActionIcons ();
149148
150149 QToolBar* standardBar = addToolBar (" Standard" );
151- standardBar->setStyleSheet (" QToolBar { background-color: rgb(66,66,69); border: 1px solid black; color: black }" );
150+ standardBar->setStyleSheet (" QToolBar { background-color: rgb(66,66,69); border: 1px solid black; color: black }"
151+ " QToolTip { color: #ffffff; background - color: #2a82da; border: 1px solid white; }" );
152152 standardBar->setObjectName (" StandardToolBar" );
153153 standardBar->addAction (actionNew_);
154154 standardBar->addAction (actionLoad_);
@@ -178,7 +178,9 @@ SCIRunMainWindow::SCIRunMainWindow() : firstTimePythonShown_(true)
178178
179179 networkProgressBar_.reset (new NetworkExecutionProgressBar (this ));
180180 executeBar->addActions (networkProgressBar_->actions ());
181- executeBar->setStyleSheet (" QToolBar { background-color: rgb(66,66,69); border: 1px solid black; color: black }" );
181+ executeBar->setStyleSheet (" QToolBar { background-color: rgb(66,66,69); border: 1px solid black; color: black }"
182+ " QToolTip { color: #ffffff; background - color: #2a82da; border: 1px solid white; }"
183+ );
182184 // executeBar->setStyleSheet(styleSheet());
183185 executeBar->setAutoFillBackground (true );
184186 connect (actionExecute_All_, SIGNAL (triggered ()), networkProgressBar_.get (), SLOT (resetModulesDone ()));
@@ -290,7 +292,10 @@ SCIRunMainWindow::SCIRunMainWindow() : firstTimePythonShown_(true)
290292 actionModule_Selector->setChecked (!moduleSelectorDockWidget_->isHidden ());
291293 actionProvenance_->setChecked (!provenanceWindow_->isHidden ());
292294
293- moduleSelectorDockWidget_->setStyleSheet (" QDockWidget {background: rgb(66,66,69); background-color: rgb(66,66,69) }" );
295+ moduleSelectorDockWidget_->setStyleSheet (" QDockWidget {background: rgb(66,66,69); background-color: rgb(66,66,69) }"
296+ " QToolTip { color: #ffffff; background - color: #2a82da; border: 1px solid white; }"
297+ " QHeaderView::section { background: rgb(66,66,69);} "
298+ );
294299
295300 provenanceWindow_->hide ();
296301
0 commit comments