diff --git a/src/blackgui/components/logincomponent.h b/src/blackgui/components/logincomponent.h index f7cce3149..04b36936b 100644 --- a/src/blackgui/components/logincomponent.h +++ b/src/blackgui/components/logincomponent.h @@ -217,7 +217,13 @@ namespace BlackGui void onServerTabWidgetChanged(int index); //! Has contexts? - bool hasValidContexts(); + bool hasValidContexts() const; + + //! Set the server buttons visible + void setServerButtonsVisible(bool visible); + + //! Tab index changed + void onDetailsTabChanged(int index); static constexpr int OverlayMessageMs = 5000; static constexpr int LogoffIntervalSeconds = 20; //!< time before logoff diff --git a/src/blackgui/components/logincomponent.ui b/src/blackgui/components/logincomponent.ui index e2f405722..2fc8f2189 100644 --- a/src/blackgui/components/logincomponent.ui +++ b/src/blackgui/components/logincomponent.ui @@ -6,8 +6,8 @@ 0 0 - 289 - 750 + 272 + 748 @@ -46,18 +46,12 @@ - - - 0 - 100 - - Network - 6 + 3 3 @@ -71,14 +65,8 @@ 3 - + - - - 0 - 40 - - QTabWidget::North @@ -92,18 +80,23 @@ VATSIM - - - - - Server - - - - - - - + + + 3 + + + 3 + + + 3 + + + 3 + + + 3 + + @@ -150,24 +143,35 @@ + + + Other servers - + + + 3 + + + 3 + + + 3 + + + 3 + + + 3 + - - - Server - - - - - + @@ -219,33 +223,6 @@ - - - - - - - - 0 - 75 - - - - Details - - - - 3 - - - 3 - - - 3 - - - 3 - @@ -268,22 +245,9 @@ 3 - + - - - - Qt::Vertical - - - - 20 - 40 - - - - @@ -313,32 +277,25 @@ 0 0 - 253 - 45 + 236 + 55 - 1 + 2 - 1 + 2 - 1 + 2 - 1 + 2 - - - QFrame::StyledPanel - - - QFrame::Raised - - + @@ -363,28 +320,8 @@ 3 - - - - QFrame::StyledPanel - - - QFrame::Raised - - - - - - - Qt::Vertical - - - - 20 - 40 - - - + + @@ -405,22 +342,9 @@ 3 - + - - - - Qt::Vertical - - - - 20 - 40 - - - - @@ -754,7 +678,7 @@ - + @@ -977,7 +901,6 @@ comp_OtherServers pb_OtherServersGotoSettings pb_OverrideCredentialsOtherServers - tw_Details sa_FsdDetails le_SimulatorModel tb_SimulatorIcaoReverseLookup diff --git a/src/blackgui/editors/fsdsetupform.ui b/src/blackgui/editors/fsdsetupform.ui index a9545d256..0895b99aa 100644 --- a/src/blackgui/editors/fsdsetupform.ui +++ b/src/blackgui/editors/fsdsetupform.ui @@ -31,8 +31,11 @@ + + aircraft parts + - Aircraft parts + Parts @@ -74,7 +77,7 @@ - Fast positions + Fast pos. diff --git a/src/blackgui/editors/voicesetupform.ui b/src/blackgui/editors/voicesetupform.ui index c88ce6dd8..516fcabed 100644 --- a/src/blackgui/editors/voicesetupform.ui +++ b/src/blackgui/editors/voicesetupform.ui @@ -6,14 +6,14 @@ 0 0 - 217 + 236 45 Frame - + 0 @@ -29,6 +29,13 @@ 4 + + + + override + + + @@ -36,6 +43,9 @@ + + + @@ -43,39 +53,11 @@ - - - - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - override - - - - - - - set defaults - - - - + + + + set defaults +