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