Skip to content

Commit 8dd8a9b

Browse files
authored
Merge pull request #5324 from DelazJ/locale
Remove Locale tab from Options dialog
2 parents d4635d0 + c6565da commit 8dd8a9b

File tree

1 file changed

+60
-117
lines changed

1 file changed

+60
-117
lines changed

src/ui/qgsoptionsbase.ui

Lines changed: 60 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -227,18 +227,6 @@
227227
<normaloff>:/images/themes/default/propertyicons/CRS.svg</normaloff>:/images/themes/default/propertyicons/CRS.svg</iconset>
228228
</property>
229229
</item>
230-
<item>
231-
<property name="text">
232-
<string>Locale</string>
233-
</property>
234-
<property name="toolTip">
235-
<string>Locale</string>
236-
</property>
237-
<property name="icon">
238-
<iconset resource="../../images/images.qrc">
239-
<normaloff>:/images/themes/default/propertyicons/locale.png</normaloff>:/images/themes/default/propertyicons/locale.png</iconset>
240-
</property>
241-
</item>
242230
<item>
243231
<property name="text">
244232
<string>Authentication</string>
@@ -354,6 +342,52 @@
354342
</rect>
355343
</property>
356344
<layout class="QVBoxLayout" name="verticalLayout_28">
345+
<item>
346+
<widget class="QgsCollapsibleGroupBox" name="grpLocale">
347+
<property name="title">
348+
<string>O&amp;verride system locale</string>
349+
</property>
350+
<property name="checkable">
351+
<bool>true</bool>
352+
</property>
353+
<layout class="QVBoxLayout">
354+
<property name="spacing">
355+
<number>12</number>
356+
</property>
357+
<item>
358+
<layout class="QGridLayout" name="gridLayout_25">
359+
<item row="0" column="0">
360+
<widget class="QLabel" name="label_5">
361+
<property name="text">
362+
<string>Locale to use instead</string>
363+
</property>
364+
</widget>
365+
</item>
366+
<item row="0" column="1">
367+
<widget class="QComboBox" name="cboLocale"/>
368+
</item>
369+
<item row="1" column="0" colspan="2">
370+
<widget class="QLabel" name="label_7">
371+
<property name="text">
372+
<string>&lt;b&gt;Note:&lt;/b&gt; Enabling / changing override on locale requires an application restart</string>
373+
</property>
374+
<property name="wordWrap">
375+
<bool>true</bool>
376+
</property>
377+
</widget>
378+
</item>
379+
</layout>
380+
</item>
381+
<item>
382+
<widget class="QLabel" name="lblSystemLocale">
383+
<property name="text">
384+
<string>Detected active locale on your system</string>
385+
</property>
386+
</widget>
387+
</item>
388+
</layout>
389+
</widget>
390+
</item>
357391
<item>
358392
<widget class="QgsCollapsibleGroupBox" name="groupBox">
359393
<property name="title">
@@ -960,7 +994,7 @@
960994
<property name="sizeHint" stdset="0">
961995
<size>
962996
<width>20</width>
963-
<height>40</height>
997+
<height>0</height>
964998
</size>
965999
</property>
9661000
</spacer>
@@ -4757,105 +4791,6 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
47574791
</item>
47584792
</layout>
47594793
</widget>
4760-
<widget class="QWidget" name="mOptionsPageLocale">
4761-
<layout class="QVBoxLayout" name="verticalLayout_19">
4762-
<property name="leftMargin">
4763-
<number>0</number>
4764-
</property>
4765-
<property name="topMargin">
4766-
<number>0</number>
4767-
</property>
4768-
<property name="rightMargin">
4769-
<number>0</number>
4770-
</property>
4771-
<property name="bottomMargin">
4772-
<number>0</number>
4773-
</property>
4774-
<item>
4775-
<widget class="QgsScrollArea" name="mOptionsScrollArea_09">
4776-
<property name="frameShape">
4777-
<enum>QFrame::NoFrame</enum>
4778-
</property>
4779-
<property name="widgetResizable">
4780-
<bool>true</bool>
4781-
</property>
4782-
<widget class="QWidget" name="mOptionsScrollAreaContents_09">
4783-
<property name="geometry">
4784-
<rect>
4785-
<x>0</x>
4786-
<y>0</y>
4787-
<width>268</width>
4788-
<height>232</height>
4789-
</rect>
4790-
</property>
4791-
<layout class="QVBoxLayout" name="verticalLayout_32">
4792-
<item>
4793-
<widget class="QGroupBox" name="grpLocale">
4794-
<property name="title">
4795-
<string>O&amp;verride system locale</string>
4796-
</property>
4797-
<property name="checkable">
4798-
<bool>true</bool>
4799-
</property>
4800-
<layout class="QGridLayout" name="_12">
4801-
<item row="0" column="0">
4802-
<widget class="QLabel" name="label_5">
4803-
<property name="text">
4804-
<string>Locale to use instead</string>
4805-
</property>
4806-
</widget>
4807-
</item>
4808-
<item row="0" column="1">
4809-
<widget class="QComboBox" name="cboLocale"/>
4810-
</item>
4811-
<item row="1" column="0" colspan="2">
4812-
<widget class="QLabel" name="label_7">
4813-
<property name="text">
4814-
<string>&lt;b&gt;Note:&lt;/b&gt; Enabling / changing override on local requires an application restart</string>
4815-
</property>
4816-
<property name="wordWrap">
4817-
<bool>true</bool>
4818-
</property>
4819-
</widget>
4820-
</item>
4821-
</layout>
4822-
</widget>
4823-
</item>
4824-
<item>
4825-
<widget class="QGroupBox" name="groupBox_12">
4826-
<property name="title">
4827-
<string>Additional Info</string>
4828-
</property>
4829-
<layout class="QGridLayout" name="_13">
4830-
<item row="0" column="0">
4831-
<widget class="QLabel" name="lblSystemLocale">
4832-
<property name="text">
4833-
<string>Detected active locale on your system</string>
4834-
</property>
4835-
</widget>
4836-
</item>
4837-
</layout>
4838-
</widget>
4839-
</item>
4840-
<item>
4841-
<spacer name="verticalSpacer_2">
4842-
<property name="orientation">
4843-
<enum>Qt::Vertical</enum>
4844-
</property>
4845-
<property name="sizeHint" stdset="0">
4846-
<size>
4847-
<width>20</width>
4848-
<height>40</height>
4849-
</size>
4850-
</property>
4851-
</spacer>
4852-
</item>
4853-
</layout>
4854-
</widget>
4855-
</widget>
4856-
</item>
4857-
</layout>
4858-
</widget>
48594794
<widget class="QWidget" name="mOptionsPageAuth">
48604795
<layout class="QVBoxLayout" name="verticalLayout_45">
48614796
<property name="bottomMargin">
@@ -5454,9 +5389,11 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
54545389
</customwidget>
54555390
</customwidgets>
54565391
<tabstops>
5392+
<tabstop>mSearchLineEdit</tabstop>
54575393
<tabstop>mOptionsListWidget</tabstop>
54585394
<tabstop>mOptionsScrollArea_01</tabstop>
5459-
<tabstop>groupBox</tabstop>
5395+
<tabstop>grpLocale</tabstop>
5396+
<tabstop>cboLocale</tabstop>
54605397
<tabstop>cmbStyle</tabstop>
54615398
<tabstop>cmbUITheme</tabstop>
54625399
<tabstop>cmbIconSize</tabstop>
@@ -5466,15 +5403,21 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
54665403
<tabstop>spinFontSize</tabstop>
54675404
<tabstop>mMessageTimeoutSpnBx</tabstop>
54685405
<tabstop>groupBox_11</tabstop>
5406+
<tabstop>cbxHideSplash</tabstop>
5407+
<tabstop>cbxCheckVersion</tabstop>
5408+
<tabstop>mDataSourceManagerNonModal</tabstop>
5409+
<tabstop>mCustomGroupBoxChkBx</tabstop>
5410+
<tabstop>mNativeColorDialogsChkBx</tabstop>
5411+
<tabstop>mLiveColorDialogsChkBx</tabstop>
54695412
<tabstop>mProjectOnLaunchCmbBx</tabstop>
54705413
<tabstop>mProjectOnLaunchLineEdit</tabstop>
54715414
<tabstop>mProjectOnLaunchPushBtn</tabstop>
54725415
<tabstop>cbxProjectDefaultNew</tabstop>
54735416
<tabstop>pbnProjectDefaultSetCurrent</tabstop>
54745417
<tabstop>pbnProjectDefaultReset</tabstop>
5475-
<tabstop>leTemplateFolder</tabstop>
54765418
<tabstop>pbnTemplateFolderBrowse</tabstop>
54775419
<tabstop>pbnTemplateFolderReset</tabstop>
5420+
<tabstop>leTemplateFolder</tabstop>
54785421
<tabstop>chbAskToSaveProjectChanges</tabstop>
54795422
<tabstop>mLayerDeleteConfirmationChkBx</tabstop>
54805423
<tabstop>chbWarnOldProjectVersion</tabstop>
@@ -5521,6 +5464,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
55215464
<tabstop>cbxAddOracleDC</tabstop>
55225465
<tabstop>cbxCompileExpressions</tabstop>
55235466
<tabstop>groupBox_28</tabstop>
5467+
<tabstop>cbxEvaluateDefaultValues</tabstop>
55245468
<tabstop>mBtnRemoveHiddenPath</tabstop>
55255469
<tabstop>mListHiddenBrowserPaths</tabstop>
55265470
<tabstop>mOptionsScrollArea_04</tabstop>
@@ -5647,6 +5591,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
56475591
<tabstop>pbnEditPyramidsOptions</tabstop>
56485592
<tabstop>lstGdalDrivers</tabstop>
56495593
<tabstop>mOptionsScrollArea_08</tabstop>
5594+
<tabstop>leProjectGlobalCrs</tabstop>
56505595
<tabstop>radPromptForProjection</tabstop>
56515596
<tabstop>radUseProjectProjection</tabstop>
56525597
<tabstop>radUseGlobalProjection</tabstop>
@@ -5656,9 +5601,6 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
56565601
<tabstop>mAddDefaultTransformButton</tabstop>
56575602
<tabstop>mRemoveDefaultTransformButton</tabstop>
56585603
<tabstop>mDefaultDatumTransformTreeWidget</tabstop>
5659-
<tabstop>mOptionsScrollArea_09</tabstop>
5660-
<tabstop>grpLocale</tabstop>
5661-
<tabstop>cboLocale</tabstop>
56625604
<tabstop>mAuthConfigsGrpBx</tabstop>
56635605
<tabstop>mOptionsScrollArea_10</tabstop>
56645606
<tabstop>leWmsSearch</tabstop>
@@ -5680,6 +5622,7 @@ The bigger the number, the faster zooming with the mouse wheel will be.</string>
56805622
<tabstop>mExcludeUrlListWidget</tabstop>
56815623
<tabstop>mAdvancedSettingsEnableButton</tabstop>
56825624
<tabstop>grpProjectionBehavior</tabstop>
5625+
<tabstop>mDefaultZValueSpinBox</tabstop>
56835626
</tabstops>
56845627
<resources>
56855628
<include location="../../images/images.qrc"/>

0 commit comments

Comments
 (0)