|
|
|
@ -31,6 +31,13 @@ UBMainWindow::UBMainWindow(QWidget *parent, Qt::WindowFlags flags) |
|
|
|
|
{ |
|
|
|
|
Ui::MainWindow::setupUi(this); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Setting tooltip colors staticly, since they look not quite well on different color themes
|
|
|
|
|
QPalette toolTipPalette; |
|
|
|
|
toolTipPalette.setColor(QPalette::ToolTipBase, QColor("#FFFFDC")); |
|
|
|
|
toolTipPalette.setColor(QPalette::ToolTipText, Qt::black); |
|
|
|
|
QToolTip::setPalette(toolTipPalette); |
|
|
|
|
|
|
|
|
|
QWidget* centralWidget = new QWidget(this); |
|
|
|
|
mStackedLayout = new QStackedLayout(centralWidget); |
|
|
|
|
setCentralWidget(centralWidget); |
|
|
|
|