Skip to content

Commit 2f99b95

Browse files
committed
Standard some capitalization
- button text should be Title Case - group box titles should be Title Case - checkbox text should be Sentence case
1 parent 46356c8 commit 2f99b95

9 files changed

+43
-43
lines changed

src/app/3d/qgsvectorlayer3drendererwidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ QgsVectorLayer3DRendererWidget::QgsVectorLayer3DRendererWidget( QgsVectorLayer *
3636
setPanelTitle( tr( "3D View" ) );
3737

3838
QVBoxLayout *layout = new QVBoxLayout( this );
39-
chkEnabled = new QCheckBox( tr( "Enable 3D renderer" ), this );
39+
chkEnabled = new QCheckBox( tr( "Enable 3D Renderer" ), this );
4040
widgetStack = new QStackedWidget( this );
4141
layout->addWidget( chkEnabled );
4242
layout->addWidget( widgetStack );

src/app/qgsmapcanvasdockwidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ QgsMapSettingsAction::QgsMapSettingsAction( QWidget *parent )
572572
gLayout->addWidget( label, 4, 0 );
573573
gLayout->addWidget( mMagnifierWidget, 4, 1 );
574574

575-
mSyncScaleCheckBox = new QCheckBox( tr( "Synchronize Scale" ) );
575+
mSyncScaleCheckBox = new QCheckBox( tr( "Synchronize scale" ) );
576576
gLayout->addWidget( mSyncScaleCheckBox, 5, 0, 1, 2 );
577577

578578
mScaleFactorWidget = new QgsDoubleSpinBox();

src/app/qgsvectorlayerlegendwidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ QgsVectorLayerLegendWidget::QgsVectorLayerLegendWidget( QWidget *parent )
5252
groupLayout->addWidget( mLegendTreeView );
5353
groupLayout->addLayout( buttonsLayout );
5454

55-
mTextOnSymbolGroupBox->setTitle( tr( "Text on symbols" ) );
55+
mTextOnSymbolGroupBox->setTitle( tr( "Text on Symbols" ) );
5656
mTextOnSymbolGroupBox->setCheckable( true );
5757
mTextOnSymbolGroupBox->setLayout( groupLayout );
5858
mTextOnSymbolGroupBox->setCollapsed( false );

src/ui/qgsattributeactiondialogbase.ui

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</sizepolicy>
4343
</property>
4444
<property name="title">
45-
<string>Action list</string>
45+
<string>Action List</string>
4646
</property>
4747
<property name="syncGroup" stdset="0">
4848
<string notr="true">actiongroup</string>
@@ -104,7 +104,7 @@
104104
<item row="1" column="6">
105105
<widget class="QPushButton" name="mAddDefaultActionsButton">
106106
<property name="text">
107-
<string>Create default actions</string>
107+
<string>Create Default Actions</string>
108108
</property>
109109
</widget>
110110
</item>

src/ui/qgsprojectpropertiesbase.ui

+17-17
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
<item>
292292
<widget class="QgsCollapsibleGroupBox" name="titleBox">
293293
<property name="title">
294-
<string>General settings</string>
294+
<string>General Settings</string>
295295
</property>
296296
<property name="syncGroup" stdset="0">
297297
<string notr="true">projgeneral</string>
@@ -625,7 +625,7 @@
625625
</sizepolicy>
626626
</property>
627627
<property name="title">
628-
<string>Coordinate display</string>
628+
<string>Coordinate Display</string>
629629
</property>
630630
<property name="syncGroup" stdset="0">
631631
<string notr="true">projgeneral</string>
@@ -709,7 +709,7 @@
709709
</sizepolicy>
710710
</property>
711711
<property name="title">
712-
<string>Project predefined scales</string>
712+
<string>Project Predefined Scales</string>
713713
</property>
714714
<property name="checkable">
715715
<bool>true</bool>
@@ -898,7 +898,7 @@
898898
<item>
899899
<widget class="QGroupBox" name="mDatumTransformGroupBox">
900900
<property name="title">
901-
<string>Datum transformations</string>
901+
<string>Datum Transformations</string>
902902
</property>
903903
<layout class="QGridLayout" name="gridLayout_2">
904904
<item row="0" column="0">
@@ -950,15 +950,15 @@
950950
<rect>
951951
<x>0</x>
952952
<y>0</y>
953-
<width>285</width>
954-
<height>638</height>
953+
<width>685</width>
954+
<height>778</height>
955955
</rect>
956956
</property>
957957
<layout class="QVBoxLayout" name="verticalLayout_12">
958958
<item>
959959
<widget class="QgsCollapsibleGroupBox" name="groupBox">
960960
<property name="title">
961-
<string>Default symbols</string>
961+
<string>Default Symbols</string>
962962
</property>
963963
<property name="syncGroup" stdset="0">
964964
<string notr="true">projstyles</string>
@@ -1246,7 +1246,7 @@
12461246
<item>
12471247
<widget class="QgsCollapsibleGroupBox" name="groupBox_7">
12481248
<property name="title">
1249-
<string>Project colors</string>
1249+
<string>Project Colors</string>
12501250
</property>
12511251
<layout class="QGridLayout" name="gridLayout_12">
12521252
<item row="2" column="1">
@@ -1408,7 +1408,7 @@
14081408
</size>
14091409
</property>
14101410
<property name="title">
1411-
<string>Project layers</string>
1411+
<string>Project Layers</string>
14121412
</property>
14131413
<layout class="QVBoxLayout" name="verticalLayout_22">
14141414
<item>
@@ -1482,7 +1482,7 @@
14821482
<item row="4" column="0" colspan="2">
14831483
<widget class="QgsCollapsibleGroupBox" name="groupBox_5">
14841484
<property name="title">
1485-
<string>Required layers</string>
1485+
<string>Required Layers</string>
14861486
</property>
14871487
<layout class="QGridLayout" name="gridLayout_19">
14881488
<item row="0" column="0" colspan="2">
@@ -1580,7 +1580,7 @@
15801580
<item>
15811581
<widget class="QGroupBox" name="grpPythonMacros">
15821582
<property name="title">
1583-
<string>Python macros</string>
1583+
<string>Python Macros</string>
15841584
</property>
15851585
<property name="checkable">
15861586
<bool>true</bool>
@@ -1642,7 +1642,7 @@
16421642
<item>
16431643
<widget class="QgsCollapsibleGroupBox" name="grpOWSServiceCapabilities">
16441644
<property name="title">
1645-
<string>Service capabilities</string>
1645+
<string>Service Capabilities</string>
16461646
</property>
16471647
<property name="checkable">
16481648
<bool>true</bool>
@@ -2525,14 +2525,14 @@
25252525
<item row="1" column="1">
25262526
<widget class="QPushButton" name="pbnWFSLayersDeselectAll">
25272527
<property name="text">
2528-
<string>Deselect all</string>
2528+
<string>Deselect All</string>
25292529
</property>
25302530
</widget>
25312531
</item>
25322532
<item row="1" column="0">
25332533
<widget class="QPushButton" name="pbnWFSLayersSelectAll">
25342534
<property name="text">
2535-
<string>Select all</string>
2535+
<string>Select All</string>
25362536
</property>
25372537
</widget>
25382538
</item>
@@ -2591,14 +2591,14 @@
25912591
<item row="1" column="1">
25922592
<widget class="QPushButton" name="pbnWCSLayersDeselectAll">
25932593
<property name="text">
2594-
<string>Deselect all</string>
2594+
<string>Deselect All</string>
25952595
</property>
25962596
</widget>
25972597
</item>
25982598
<item row="1" column="0">
25992599
<widget class="QPushButton" name="pbnWCSLayersSelectAll">
26002600
<property name="text">
2601-
<string>Select all</string>
2601+
<string>Select All</string>
26022602
</property>
26032603
</widget>
26042604
</item>
@@ -2628,7 +2628,7 @@
26282628
</sizepolicy>
26292629
</property>
26302630
<property name="title">
2631-
<string>Test configuration</string>
2631+
<string>Test Configuration</string>
26322632
</property>
26332633
<layout class="QVBoxLayout" name="verticalLayout_24">
26342634
<item>

src/ui/qgsrasterlayerpropertiesbase.ui

+7-7
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ border-radius: 2px;</string>
395395
</sizepolicy>
396396
</property>
397397
<property name="title">
398-
<string>Band rendering</string>
398+
<string>Band Rendering</string>
399399
</property>
400400
<property name="syncGroup" stdset="0">
401401
<string notr="true">rasterstyle</string>
@@ -440,7 +440,7 @@ border-radius: 2px;</string>
440440
<item>
441441
<widget class="QgsCollapsibleGroupBox" name="mColorRenderingGrpBox">
442442
<property name="title">
443-
<string>Color rendering</string>
443+
<string>Color Rendering</string>
444444
</property>
445445
<property name="collapsed" stdset="0">
446446
<bool>false</bool>
@@ -983,7 +983,7 @@ border-radius: 2px;</string>
983983
<item>
984984
<widget class="QgsCollapsibleGroupBox" name="gboxNoDataValue_2">
985985
<property name="title">
986-
<string>Global opacity</string>
986+
<string>Global Opacity</string>
987987
</property>
988988
<property name="syncGroup" stdset="0">
989989
<string notr="true">rastertransp</string>
@@ -1002,7 +1002,7 @@ border-radius: 2px;</string>
10021002
<item>
10031003
<widget class="QgsCollapsibleGroupBox" name="gboxNoDataValue">
10041004
<property name="title">
1005-
<string>No data value</string>
1005+
<string>No Data Value</string>
10061006
</property>
10071007
<property name="syncGroup" stdset="0">
10081008
<string notr="true">rastertransp</string>
@@ -1074,7 +1074,7 @@ border-radius: 2px;</string>
10741074
</sizepolicy>
10751075
</property>
10761076
<property name="title">
1077-
<string>Custom transparency options</string>
1077+
<string>Custom Transparency Options</string>
10781078
</property>
10791079
<property name="syncGroup" stdset="0">
10801080
<string notr="true">rastertransp</string>
@@ -1353,7 +1353,7 @@ border-radius: 2px;</string>
13531353
<item>
13541354
<widget class="QgsCollapsibleGroupBox" name="chkUseScaleDependentRendering">
13551355
<property name="title">
1356-
<string>Scale dependent visibility</string>
1356+
<string>Scale Dependent Visibility</string>
13571357
</property>
13581358
<property name="checkable">
13591359
<bool>true</bool>
@@ -1558,7 +1558,7 @@ p, li { white-space: pre-wrap; }
15581558
<bool>false</bool>
15591559
</property>
15601560
<property name="text">
1561-
<string>Build pyramids</string>
1561+
<string>Build Pyramids</string>
15621562
</property>
15631563
</widget>
15641564
</item>

src/ui/qgsstylemanagerdialogbase.ui

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<item row="1" column="0">
8080
<widget class="QPushButton" name="btnAddTag">
8181
<property name="text">
82-
<string>Add tag…</string>
82+
<string>Add Tag…</string>
8383
</property>
8484
<property name="autoDefault">
8585
<bool>false</bool>
@@ -89,7 +89,7 @@
8989
<item row="2" column="0">
9090
<widget class="QPushButton" name="btnAddSmartgroup">
9191
<property name="text">
92-
<string>Add smart group…</string>
92+
<string>Add Smart Group…</string>
9393
</property>
9494
<property name="autoDefault">
9595
<bool>false</bool>
@@ -102,7 +102,7 @@
102102
<string>Modify selected tag or smart group</string>
103103
</property>
104104
<property name="text">
105-
<string>Modify group</string>
105+
<string>Modify Group</string>
106106
</property>
107107
<property name="autoDefault">
108108
<bool>false</bool>
@@ -112,7 +112,7 @@
112112
<item row="4" column="0">
113113
<widget class="QPushButton" name="btnShare">
114114
<property name="text">
115-
<string>Import / export</string>
115+
<string>Import / Export</string>
116116
</property>
117117
<property name="icon">
118118
<iconset resource="../../images/images.qrc">

src/ui/qgsvectorlayerpropertiesbase.ui

+8-8
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ border-radius: 2px;</string>
555555
<enum>Qt::StrongFocus</enum>
556556
</property>
557557
<property name="title">
558-
<string>Coordinate reference system</string>
558+
<string>Coordinate Reference System</string>
559559
</property>
560560
<property name="checkable">
561561
<bool>false</bool>
@@ -586,14 +586,14 @@ border-radius: 2px;</string>
586586
<item>
587587
<widget class="QPushButton" name="pbnIndex">
588588
<property name="text">
589-
<string>Create spatial index</string>
589+
<string>Create Spatial Index</string>
590590
</property>
591591
</widget>
592592
</item>
593593
<item>
594594
<widget class="QPushButton" name="pbnUpdateExtents">
595595
<property name="text">
596-
<string>Update extents</string>
596+
<string>Update Extents</string>
597597
</property>
598598
</widget>
599599
</item>
@@ -631,7 +631,7 @@ border-radius: 2px;</string>
631631
</sizepolicy>
632632
</property>
633633
<property name="title">
634-
<string>Provider feature filter</string>
634+
<string>Provider Feature Filter</string>
635635
</property>
636636
<layout class="QGridLayout" name="gridLayout_4">
637637
<item row="1" column="1">
@@ -1524,7 +1524,7 @@ border-radius: 2px;</string>
15241524
<item>
15251525
<widget class="QgsCollapsibleGroupBox" name="mScaleVisibilityGroupBox">
15261526
<property name="title">
1527-
<string>Scale dependen&amp;t visibility</string>
1527+
<string>Scale Dependen&amp;t Visibility</string>
15281528
</property>
15291529
<property name="checkable">
15301530
<bool>true</bool>
@@ -1543,7 +1543,7 @@ border-radius: 2px;</string>
15431543
<item>
15441544
<widget class="QGroupBox" name="mSimplifyDrawingGroupBox">
15451545
<property name="title">
1546-
<string>Simplify &amp;geometry</string>
1546+
<string>Simplify &amp;Geometry</string>
15471547
</property>
15481548
<property name="checkable">
15491549
<bool>true</bool>
@@ -1868,7 +1868,7 @@ border-radius: 2px;</string>
18681868
<item>
18691869
<widget class="QGroupBox" name="groupBox_5">
18701870
<property name="title">
1871-
<string>Data dependencies</string>
1871+
<string>Data Dependencies</string>
18721872
</property>
18731873
<layout class="QVBoxLayout" name="verticalLayout_24">
18741874
<item>
@@ -1923,7 +1923,7 @@ border-radius: 2px;</string>
19231923
<item>
19241924
<widget class="QgsCollapsibleGroupBox" name="groupBox_3">
19251925
<property name="title">
1926-
<string>Embedded widgets in legend</string>
1926+
<string>Embedded Widgets in Legend</string>
19271927
</property>
19281928
<layout class="QVBoxLayout" name="verticalLayout_22">
19291929
<item>

src/ui/symbollayer/widget_symbolslist.ui

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
<item>
108108
<widget class="QPushButton" name="openStyleManagerButton">
109109
<property name="text">
110-
<string>Open Library</string>
110+
<string>Open Library</string>
111111
</property>
112112
</widget>
113113
</item>
@@ -147,7 +147,7 @@
147147
<string>Save symbol</string>
148148
</property>
149149
<property name="text">
150-
<string>Save symbol</string>
150+
<string>Save Symbol</string>
151151
</property>
152152
</widget>
153153
</item>

0 commit comments

Comments
 (0)