Remove most stylesheet use as this messes with a custom style

* Use palettes where a certain colour is needed.
* Still need some solution for table borders in grid layouts
This commit is contained in:
baldurk
2017-07-26 17:14:37 +01:00
parent a4e4c1fd5d
commit a6f0d07e09
11 changed files with 226 additions and 41 deletions
-3
View File
@@ -109,7 +109,6 @@ MainWindow::MainWindow(ICaptureContext &ctx) : QMainWindow(NULL), ui(new Ui::Mai
contextChooser->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
contextChooser->setPopupMode(QToolButton::InstantPopup);
contextChooser->setMenu(contextChooserMenu);
contextChooser->setStyleSheet(lit("QToolButton::menu-indicator { image: none; }"));
contextChooser->setContextMenuPolicy(Qt::DefaultContextMenu);
QObject::connect(contextChooserMenu, &QMenu::aboutToShow, this,
&MainWindow::contextChooser_menuShowing);
@@ -158,8 +157,6 @@ MainWindow::MainWindow(ICaptureContext &ctx) : QMainWindow(NULL), ui(new Ui::Mai
});
m_RemoteProbe->start();
ui->statusBar->setStyleSheet(lit("QStatusBar::item { border: 0px }"));
SetTitle();
PopulateRecentFiles();