diff --git a/src/gui/src/SettingsDialog.cpp b/src/gui/src/SettingsDialog.cpp index 38c31f75..5fe1b255 100644 --- a/src/gui/src/SettingsDialog.cpp +++ b/src/gui/src/SettingsDialog.cpp @@ -53,9 +53,7 @@ SettingsDialog::SettingsDialog(QWidget* parent, AppConfig& config) : m_pCheckBoxAutoHide->setChecked(appConfig().getAutoHide()); #if defined(Q_OS_WIN) - m_pComboElevate->setCurrentIndex(static_cast(appConfig().elevateMode())); - - m_pCheckBoxAutoHide->hide(); + m_pComboElevate->setCurrentIndex(static_cast(appConfig().elevateMode())); #else // elevate checkbox is only useful on ms windows. m_pLabelElevate->hide(); diff --git a/src/gui/src/SettingsDialogBase.ui b/src/gui/src/SettingsDialogBase.ui index 1b2ea388..bd8c54ed 100644 --- a/src/gui/src/SettingsDialogBase.ui +++ b/src/gui/src/SettingsDialogBase.ui @@ -15,80 +15,23 @@ - - - &Miscellaneous + + + true - - - - - - 75 - 0 - - - - Sc&reen name: - - - m_pLineEditScreenName - - - - - - - true - - - - - - - P&ort: - - - m_pSpinBoxPort - - - - - - - true - - - - 0 - 0 - - - - 65535 - - - 24800 - - - - - - - &Interface: - - - m_pLineEditInterface - - - - - - - true - - - + + + 0 + 0 + + + + General + + + + QFormLayout::AllNonFixedFieldsGrow + @@ -114,14 +57,37 @@ - - + + + + + 75 + 0 + + - &Hide on startup + Sc&reen name: + + + m_pLineEditScreenName - + + + + true + + + + + + + Elevate + + + + Specify when the Barrier service should run at an elevated privilege level @@ -146,10 +112,17 @@ - - + + - Elevate + Minimize to System &Tray + + + + + + + &Hide on startup @@ -157,42 +130,63 @@ - - - true - - - - 0 - 0 - - + - &Network Security + Networking - - - QFormLayout::AllNonFixedFieldsGrow - + - + - Use &SSL encryption + P&ort: + + + m_pSpinBoxPort - - - Qt::Horizontal + + + true - - - 40 - 20 - + + + 0 + 0 + - + + 65535 + + + 24800 + + + + + + + &Interface: + + + m_pLineEditInterface + + + + + + + true + + + + + + + Use Enable &SSL + + @@ -325,10 +319,11 @@ m_pComboLanguage m_pLineEditScreenName + m_pComboElevate + m_pCheckBoxMinimizeToTray + m_pCheckBoxAutoHide m_pSpinBoxPort m_pLineEditInterface - m_pComboElevate - m_pCheckBoxAutoHide m_pCheckBoxEnableCrypto m_pComboLogLevel m_pCheckBoxLogToFile