From 8ef7aa32cdb60bec784593ee7c6ecc8fec91b32b Mon Sep 17 00:00:00 2001 From: gounux Date: Sat, 31 Aug 2024 15:07:34 +0200 Subject: [PATCH] feat: put settings in QScrollArea --- qtribu/gui/dlg_settings.ui | 1389 ++++++++++++++++++------------------ 1 file changed, 689 insertions(+), 700 deletions(-) diff --git a/qtribu/gui/dlg_settings.ui b/qtribu/gui/dlg_settings.ui index 730ea4d5..332ba508 100644 --- a/qtribu/gui/dlg_settings.ui +++ b/qtribu/gui/dlg_settings.ui @@ -33,728 +33,715 @@ - - - - 50 - 30 - - - - - 11 - 75 - true - - - - - - - true - - - QFrame::NoFrame - - - QFrame::Raised - - - PluginTitle - Version X.X.X - - + + true - - Qt::AlignCenter - - - 5 - - - Qt::TextSelectableByMouse - - - - - - - - 550 - 100 - - - - Features - - - - - - - 175 - 25 - - - - - 250 - 30 - - - - Notify for new content: - - - - - - - - 0 - 25 - - - - - 16777215 - 30 - - - - Embedded browser - - - true - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - The only 'Show QGIS news feed on welcome page' must be checked in General Settings - - - Insert latest item in QGIS news feed - - - - - - true - - - - - - - - 275 - 25 - - - - - 16777215 - 30 - - - - false - - - Informational push message - - - true - - - false - - - - - - - - 175 - 25 - - - - - 250 - 30 - - - - Which web browser to use to display articles. - - - Open in web browser: - - - - - - - - 0 - 25 - - - - - 16777215 - 30 - - - - System default browser - - - - - - - - 0 - 25 - - - - Accept publication license globally - - - - - - - - 0 - 25 - - - - - 16777215 - 30 - - - - Reset read history - - - - - - - - - Duration: - - - - - - - '0' means unlimited time, waiting a manual close from the end-user. - - - false - - - QAbstractSpinBox::PlusMinus - - - - - - seconds - - - - - - 30 - - - 10 - - - - - - - - - - - - QChat - - - - - - - - Instance URI: - - - - - - - - 0 - 0 - - - - true - - - - https://gischat.geotribu.net - + + + + 0 + 0 + 778 + 565 + + + + + + + + 50 + 30 + + + + + 11 + 75 + true + + + + + + + true + + + QFrame::NoFrame + + + QFrame::Raised + + + PluginTitle - Version X.X.X + + + true + + + Qt::AlignCenter + + + 5 + + + Qt::TextSelectableByMouse + + + + + + + + 550 + 0 + + + + Features + + + + + + + 0 + 25 + + + + + 16777215 + 30 + + + + Reset read history + + - - - https://gischat.geotribu.fr - + + + + + + Duration: + + + + + + + '0' means unlimited time, waiting a manual close from the end-user. + + + false + + + QAbstractSpinBox::PlusMinus + + + + + + seconds + + + + + + 30 + + + 10 + + + + - - - - - - Instance rules - - - - - - - Discover instances - - - - - - - - - - - Show avatars - - - - - - - Display admin messages - - - - - - - Activate cheatcodes - - - - - - - - - - - Play sounds - - - - - - - Volume: - - - - - - - 0 - - - 100 - - - 33 - - - Qt::Horizontal - - - - - - - Notification tone: - - - - - - - - beep_1 - + + + + + 0 + 25 + + + + Accept publication license globally + + - - - beep_2 - + + + + + 175 + 25 + + + + + 250 + 30 + + + + Notify for new content: + + - - - beep_3 - + + + + + 175 + 25 + + + + + 250 + 30 + + + + Which web browser to use to display articles. + + + Open in web browser: + + - - - beep_4 - + + + + + 0 + 25 + + + + + 16777215 + 30 + + + + Embedded browser + + + true + + - - - beep_5 - + + + + + 0 + 25 + + + + + 16777215 + 30 + + + + System default browser + + - - - beep_6 - + + + + + 275 + 25 + + + + + 16777215 + 30 + + + + false + + + Informational push message + + + true + + + false + + - - - beep_7 - + + + + + 0 + 0 + + + + + 0 + 25 + + + + The only 'Show QGIS news feed on welcome page' must be checked in General Settings + + + Insert latest item in QGIS news feed + + + + + + true + + + + + + + + + QChat + + - - horn - + + + + + Instance URI: + + + + + + + + 0 + 0 + + + + true + + + + https://gischat.geotribu.net + + + + + https://gischat.geotribu.fr + + + + + + + + Instance rules + + + + + + + Discover instances + + + + - - cat - + + + + + Show avatars + + + + + + + Display admin messages + + + + + + + Activate cheatcodes + + + + - - dog - + + + + + Play sounds + + + + + + + Volume: + + + + + + + 0 + + + 100 + + + 33 + + + Qt::Horizontal + + + + + + + Notification tone: + + + + + + + + beep_1 + + + + + beep_2 + + + + + beep_3 + + + + + beep_4 + + + + + beep_5 + + + + + beep_6 + + + + + beep_7 + + + + + horn + + + + + cat + + + + + dog + + + + + chicken + + + + + cow + + + + + - - chicken - + + + + + + 0 + 0 + + + + Mention message color: + + + + + + + + 0 + 0 + + + + + + + + + 0 + 0 + + + + Self message color: + + + + + + + + 0 + 0 + + + + + + + + + 0 + 0 + + + + Admin message color: + + + + + + + + 0 + 0 + + + + + - - - cow - + + + + + + + + 0 + 0 + + + + Miscellaneous + + + false + + + + + + + 0 + 25 + + + + + 16777215 + 30 + + + + Enable debug mode. + + + true + + + + + + Debug mode (degraded performances) + + + false + + - - - - - - - - - - - 0 - 0 - - - - Mention message color: - - - - - - - - 0 - 0 - - - - - - - - - 0 - 0 - - - - Self message color: - - - - - - - - 0 - 0 - - - - - - - - - 0 - 0 - - - - Admin message color: - - - - - - - - 0 - 0 - - - - - - - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Preferred - - - - 20 - 15 - - - - - - - - - 0 - 100 - - - - Miscellaneous - - - false - - - - - - - 0 - 25 - - - - - 16777215 - 30 - - - - Enable debug mode. - - - true - - - - - - Debug mode (degraded performances) - - - false - - - - - - - - 0 - 25 - - - - - 16777215 - 30 - - - - X.X.x - - - Qt::NoTextInteraction - - - - - - - - 0 - 25 - - - - - 16777215 - 30 - - - - Version used to save settings: - - - - - - - - 0 - 25 - - - - - 16777215 - 30 - - - - Report an issue - - - - :/plugins/qtribu/resources/images/bullhorn.svg:/plugins/qtribu/resources/images/bullhorn.svg - - - - - - - - 0 - 25 - - - - - 16777215 - 30 - - - - Help - - - - - - - - 200 - 25 - - - - - 1000 - 30 - - - - true - - - Reset to factory defaults - - - false - - - false - - - - + + + + + 0 + 25 + + + + + 16777215 + 30 + + + + X.X.x + + + Qt::NoTextInteraction + + + + + + + + 0 + 25 + + + + + 16777215 + 30 + + + + Version used to save settings: + + + + + + + + 0 + 25 + + + + + 16777215 + 30 + + + + Report an issue + + + + :/plugins/qtribu/resources/images/bullhorn.svg:/plugins/qtribu/resources/images/bullhorn.svg + + + + + + + + 0 + 25 + + + + + 16777215 + 30 + + + + Help + + + + + + + + 200 + 25 + + + + + 1000 + 30 + + + + true + + + Reset to factory defaults + + + false + + + false + + + + + + + + + + + - - - - Qt::Vertical - - - QSizePolicy::MinimumExpanding - - - - 20 - 40 - - - - @@ -780,6 +767,7 @@ chb_license_global_accept cbb_qchat_instance_uri btn_rules + btn_discover ckb_show_avatars ckb_display_admin_messages ckb_cheatcodes @@ -793,6 +781,7 @@ btn_report opt_debug btn_reset + sca_settings