diff --git a/src/blackgui/components/audiocomponent.ui b/src/blackgui/components/audiocomponent.ui new file mode 100644 index 000000000..6c175dcd1 --- /dev/null +++ b/src/blackgui/components/audiocomponent.ui @@ -0,0 +1,94 @@ + + + CAudioComponent + + + + 0 + 0 + 400 + 300 + + + + Audio + + + QFrame::StyledPanel + + + QFrame::Raised + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + true + + + + + 0 + 0 + 396 + 296 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + + + + + + BlackGui::Components::CAudioSetup + QFrame +
blackgui/components/audiosetup.h
+ 1 +
+
+ + +
diff --git a/src/blackgui/components/audiosetup.ui b/src/blackgui/components/audiosetup.ui new file mode 100644 index 000000000..62cc12991 --- /dev/null +++ b/src/blackgui/components/audiosetup.ui @@ -0,0 +1,215 @@ + + + CAudioSetup + + + + 0 + 0 + 400 + 300 + + + + Frame + + + QFrame::StyledPanel + + + QFrame::Raised + + + + 3 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + QFormLayout::AllNonFixedFieldsGrow + + + 2 + + + 4 + + + 2 + + + 2 + + + + + In + + + + + + + + + + Out + + + + + + + + + + Tests + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + 0 + 0 + + + + + 16777215 + 16777215 + + + + false + + + Squelch test + + + + + + + + 0 + 0 + + + + + 16777215 + 16777215 + + + + Mic. test + + + + + + + + + + + + Result + + + + + + + + 16777215 + 40 + + + + true + + + + + + + + 0 + 0 + + + + 0 + + + + + + + Notification sounds + + + + + + + play notification sounds + + + + + + + notification for text messages + + + + + + + notification for join/leave voice room + + + + + + + + + + diff --git a/src/blackgui/components/cockpitcomcomponent.ui b/src/blackgui/components/cockpitcomcomponent.ui index 232d1ee39..80f1620f1 100644 --- a/src/blackgui/components/cockpitcomcomponent.ui +++ b/src/blackgui/components/cockpitcomcomponent.ui @@ -7,13 +7,13 @@ 0 0 363 - 101 + 81 0 - 0 + 75 diff --git a/src/blackgui/components/cockpitcomponent.ui b/src/blackgui/components/cockpitcomponent.ui index df1a823f1..720125eb3 100644 --- a/src/blackgui/components/cockpitcomponent.ui +++ b/src/blackgui/components/cockpitcomponent.ui @@ -32,7 +32,7 @@ - + 0 0 @@ -40,7 +40,7 @@ 0 - 40 + 90 @@ -51,7 +51,7 @@ - + @@ -70,7 +70,7 @@ - + 0 0 diff --git a/src/blackgui/components/cockpitinfoareacomponent.ui b/src/blackgui/components/cockpitinfoareacomponent.ui index 2ea2a6661..a859d302f 100644 --- a/src/blackgui/components/cockpitinfoareacomponent.ui +++ b/src/blackgui/components/cockpitinfoareacomponent.ui @@ -11,7 +11,7 @@ - + 0 0 @@ -37,6 +37,12 @@ + + + 0 + 0 + + false @@ -53,9 +59,9 @@ 8 - + - 0 + 3 0 @@ -83,6 +89,12 @@ + + + 0 + 0 + + false @@ -99,7 +111,22 @@ 8 - + + + 3 + + + 0 + + + 0 + + + 0 + + + 0 + diff --git a/src/blackgui/components/maininfoareacomponent.ui b/src/blackgui/components/maininfoareacomponent.ui index 85fd73e46..73ed2e75d 100644 --- a/src/blackgui/components/maininfoareacomponent.ui +++ b/src/blackgui/components/maininfoareacomponent.ui @@ -40,6 +40,12 @@ + + + 524287 + 524287 + + Qt::TopDockWidgetArea @@ -67,7 +73,7 @@ 0 - + diff --git a/src/blackgui/components/settingscomponent.ui b/src/blackgui/components/settingscomponent.ui index 10b1dcbb6..d84351187 100644 --- a/src/blackgui/components/settingscomponent.ui +++ b/src/blackgui/components/settingscomponent.ui @@ -6,7 +6,7 @@ 0 0 - 354 + 338 323 @@ -355,213 +355,54 @@ Audio - + + + 0 + - 2 + 0 + + + 0 - 2 + 0 + + + 0 - - - QFormLayout::AllNonFixedFieldsGrow + + + QFrame::StyledPanel - - 2 + + QFrame::Raised - - 4 - - - 2 - - - 2 - - - - - In - - - - - - - - - - Out - - - - - - - - - - Qt::Vertical - - - - 20 - 20 - - - - - - - - Tests - - - - - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - - - 0 - 0 - - - - - 16777215 - 16777215 - - - - false - - - Squelch test - - - - - - - - 0 - 0 - - - - - 16777215 - 16777215 - - - - Mic. test - - - - - - - - - - - - Result - - - - - - - - 16777215 - 40 - - - - true - - - - - - - 0 - - - - - - - Qt::Vertical - - - - 20 - 20 - - - - - - - - play notification sounds - - - - - - - notification for text messages - - - - - - - Notification sounds - - - - - - - notification for join/leave voice room - - - - + - + Simulator - + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + @@ -578,7 +419,19 @@ GUI - + + + 1 + + + 1 + + + 1 + + + 1 + @@ -731,7 +584,7 @@ - + 0 0 @@ -843,6 +696,12 @@ + + + 0 + 0 + + true @@ -892,7 +751,7 @@ QFrame::Raised - + @@ -949,6 +808,12 @@
blackgui/components/settingssimulatorcomponent.h
1 + + BlackGui::Components::CAudioSetup + QFrame +
blackgui/components/audiosetup.h
+ 1 +
diff --git a/src/blackgui/components/settingsfsxcomponent.ui b/src/blackgui/components/settingsfsxcomponent.ui index 058f5926d..356c5c346 100644 --- a/src/blackgui/components/settingsfsxcomponent.ui +++ b/src/blackgui/components/settingsfsxcomponent.ui @@ -6,7 +6,7 @@ 0 0 - 400 + 324 150
diff --git a/src/blackgui/components/settingssimulatorcomponent.ui b/src/blackgui/components/settingssimulatorcomponent.ui index 2582f987b..8d6b3c951 100644 --- a/src/blackgui/components/settingssimulatorcomponent.ui +++ b/src/blackgui/components/settingssimulatorcomponent.ui @@ -6,8 +6,8 @@ 0 0 - 424 - 318 + 308 + 285
diff --git a/src/blackgui/components/simulatorcomponent.ui b/src/blackgui/components/simulatorcomponent.ui index 827fcb948..6011a6a7e 100644 --- a/src/blackgui/components/simulatorcomponent.ui +++ b/src/blackgui/components/simulatorcomponent.ui @@ -6,7 +6,7 @@ 0 0 - 400 + 310 300 diff --git a/src/blackgui/components/voiceroomscomponent.ui b/src/blackgui/components/voiceroomscomponent.ui index 975ad7c24..761aed866 100644 --- a/src/blackgui/components/voiceroomscomponent.ui +++ b/src/blackgui/components/voiceroomscomponent.ui @@ -39,6 +39,12 @@ + + + 0 + 0 + + 2 @@ -93,6 +99,12 @@ + + + 0 + 0 + + 2 diff --git a/src/blackgui/qss/mainwindow.qss b/src/blackgui/qss/mainwindow.qss index 1ed205fa4..0cca2524d 100644 --- a/src/blackgui/qss/mainwindow.qss +++ b/src/blackgui/qss/mainwindow.qss @@ -30,6 +30,7 @@ BlackGui--CInfoArea { } /** fix scroll areas **/ + /** in flight plan **/ QAbstractScrollArea #qw_FlightPlanTabMain { background-color: black; } QAbstractScrollArea #qw_RemarksGenerator { background-color: black; } @@ -100,6 +101,14 @@ QAbstractScrollArea #pg_StatusPageConsole { background-color: black; } margin: 2px; } +/** fixes scroll area for audio setup and inner background **/ +#sa_AudioSetup { background-color: black; } +#saAudioSetupInner { + background-image: url(:/textures/icons/textures/texture-inner.jpg); + background-color: black; +} + +/** COM panel **/ #wip_CockpitComPanelShowHideBar QPushButton { background-color: transparent; border-style: solid; @@ -118,6 +127,7 @@ QAbstractScrollArea #pg_StatusPageConsole { background-color: black; } QProgressBar { border: 1px solid green; border-radius: 5px; + background-color: black; text-align: center; padding: 0px; height: 16px; diff --git a/src/swiftgui_standard/mainwindow.ui b/src/swiftgui_standard/mainwindow.ui index a5c0d3efd..f751e894f 100644 --- a/src/swiftgui_standard/mainwindow.ui +++ b/src/swiftgui_standard/mainwindow.ui @@ -41,6 +41,9 @@ QTabWidget::Rounded + + QMainWindow::AllowTabbedDocks|QMainWindow::AnimatedDocks|QMainWindow::ForceTabbedDocks + @@ -482,8 +485,8 @@
- - + + 0 @@ -605,7 +608,7 @@ QDockWidget::AllDockWidgetFeatures - Qt::BottomDockWidgetArea|Qt::TopDockWidgetArea + Qt::TopDockWidgetArea 4