diff --git a/src/blackgui/components/flightplancomponent.ui b/src/blackgui/components/flightplancomponent.ui index 88f71a695..1c068ac7b 100644 --- a/src/blackgui/components/flightplancomponent.ui +++ b/src/blackgui/components/flightplancomponent.ui @@ -10,6 +10,12 @@ 477 + + + 0 + 0 + + TabWidget diff --git a/src/blackgui/components/maininfoareacomponent.ui b/src/blackgui/components/maininfoareacomponent.ui index 2b62cd0af..9f2df72f4 100644 --- a/src/blackgui/components/maininfoareacomponent.ui +++ b/src/blackgui/components/maininfoareacomponent.ui @@ -42,8 +42,8 @@ - 149 - 80 + 127 + 38 @@ -83,6 +83,12 @@ + + + 0 + 0 + + 0 @@ -138,6 +144,12 @@ + + + 0 + 0 + + 0 @@ -177,7 +189,14 @@ 0 - + + + + 0 + 0 + + + @@ -210,7 +229,14 @@ 0 - + + + + 0 + 0 + + + @@ -243,7 +269,14 @@ 0 - + + + + 0 + 0 + + + @@ -276,7 +309,14 @@ 0 - + + + + 0 + 0 + + + @@ -352,7 +392,14 @@ 0 - + + + + 0 + 0 + + + @@ -425,7 +472,14 @@ 0 - + + + + 0 + 0 + + + diff --git a/src/blackgui/components/settingscomponent.ui b/src/blackgui/components/settingscomponent.ui index 2a3ffb2f4..c1d71aa96 100644 --- a/src/blackgui/components/settingscomponent.ui +++ b/src/blackgui/components/settingscomponent.ui @@ -6,19 +6,25 @@ 0 0 - 400 + 300 323 + + + 0 + 0 + + - TabWidget + Settings 0 - Traffic Network + Network diff --git a/src/blackgui/dockwidget.cpp b/src/blackgui/dockwidget.cpp index f057139cc..45c0d6406 100644 --- a/src/blackgui/dockwidget.cpp +++ b/src/blackgui/dockwidget.cpp @@ -100,6 +100,7 @@ namespace BlackGui void CDockWidget::paintEvent(QPaintEvent *event) { + // KB: Should give me style sheet compliance, however I did not notice any difference // included for style sheet compliance // QStyleOption opt; // opt.init(this); diff --git a/src/blackgui/led.h b/src/blackgui/led.h index 3b006660a..eb62a86e4 100644 --- a/src/blackgui/led.h +++ b/src/blackgui/led.h @@ -21,7 +21,6 @@ #include #include -#include class QColor; class QSvgRenderer; diff --git a/src/swiftcore/swiftcore.pro b/src/swiftcore/swiftcore.pro index d0f259fa9..8387839a2 100644 --- a/src/swiftcore/swiftcore.pro +++ b/src/swiftcore/swiftcore.pro @@ -5,7 +5,7 @@ include (../../build.pri) QT += core dbus network xml multimedia gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets -TARGET = sample_blackcore +TARGET = swiftcore TEMPLATE = app CONFIG += console diff --git a/src/swiftgui_standard/mainwindow_menus.cpp b/src/swiftgui_standard/mainwindow_menus.cpp index f4f56ae02..1b9c99ee0 100644 --- a/src/swiftgui_standard/mainwindow_menus.cpp +++ b/src/swiftgui_standard/mainwindow_menus.cpp @@ -49,13 +49,14 @@ void MainWindow::ps_onMenuClicked() } else if (sender == this->ui->menu_FileFont) { + // KB: There seems to be a bug with the font Dialog (Win 7/32), it only works once + // Then the font cannot be changed anymore bool ok = false; QFont font = QFontDialog::getFont(&ok, this->font(), this, "Application fonts", QFontDialog::ProportionalFonts); - qDebug() << font.toString(); if (ok) { // the user clicked OK and font is set to the font the user selected - // this->setFont(font); + this->setFont(font); CStyleSheetUtility::instance().updateFonts(font); } else diff --git a/src/swiftgui_standard/swiftgui_standard.pro b/src/swiftgui_standard/swiftgui_standard.pro index c6dc094b2..79ce62e74 100644 --- a/src/swiftgui_standard/swiftgui_standard.pro +++ b/src/swiftgui_standard/swiftgui_standard.pro @@ -4,7 +4,7 @@ include (../../build.pri) QT += core dbus gui svg network xml multimedia greaterThan(QT_MAJOR_VERSION, 4): QT += widgets -TARGET = sample_blackgui +TARGET = swiftgui_std TEMPLATE = app SOURCES += *.cpp