Skip to content
Permalink
Browse files

Standard some capitalization

- button text should be Title Case
- group box titles should be Title Case
- checkbox text should be Sentence case
  • Loading branch information
nyalldawson committed Aug 26, 2018
1 parent 46356c8 commit 2f99b95e74273348aa322a339d85dd0b8f39328a
@@ -36,7 +36,7 @@ QgsVectorLayer3DRendererWidget::QgsVectorLayer3DRendererWidget( QgsVectorLayer *
setPanelTitle( tr( "3D View" ) );

QVBoxLayout *layout = new QVBoxLayout( this );
chkEnabled = new QCheckBox( tr( "Enable 3D renderer" ), this );
chkEnabled = new QCheckBox( tr( "Enable 3D Renderer" ), this );
widgetStack = new QStackedWidget( this );
layout->addWidget( chkEnabled );
layout->addWidget( widgetStack );
@@ -572,7 +572,7 @@ QgsMapSettingsAction::QgsMapSettingsAction( QWidget *parent )
gLayout->addWidget( label, 4, 0 );
gLayout->addWidget( mMagnifierWidget, 4, 1 );

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

mScaleFactorWidget = new QgsDoubleSpinBox();
@@ -52,7 +52,7 @@ QgsVectorLayerLegendWidget::QgsVectorLayerLegendWidget( QWidget *parent )
groupLayout->addWidget( mLegendTreeView );
groupLayout->addLayout( buttonsLayout );

mTextOnSymbolGroupBox->setTitle( tr( "Text on symbols" ) );
mTextOnSymbolGroupBox->setTitle( tr( "Text on Symbols" ) );
mTextOnSymbolGroupBox->setCheckable( true );
mTextOnSymbolGroupBox->setLayout( groupLayout );
mTextOnSymbolGroupBox->setCollapsed( false );
@@ -42,7 +42,7 @@
</sizepolicy>
</property>
<property name="title">
<string>Action list</string>
<string>Action List</string>
</property>
<property name="syncGroup" stdset="0">
<string notr="true">actiongroup</string>
@@ -104,7 +104,7 @@
<item row="1" column="6">
<widget class="QPushButton" name="mAddDefaultActionsButton">
<property name="text">
<string>Create default actions</string>
<string>Create Default Actions</string>
</property>
</widget>
</item>
@@ -291,7 +291,7 @@
<item>
<widget class="QgsCollapsibleGroupBox" name="titleBox">
<property name="title">
<string>General settings</string>
<string>General Settings</string>
</property>
<property name="syncGroup" stdset="0">
<string notr="true">projgeneral</string>
@@ -625,7 +625,7 @@
</sizepolicy>
</property>
<property name="title">
<string>Coordinate display</string>
<string>Coordinate Display</string>
</property>
<property name="syncGroup" stdset="0">
<string notr="true">projgeneral</string>
@@ -709,7 +709,7 @@
</sizepolicy>
</property>
<property name="title">
<string>Project predefined scales</string>
<string>Project Predefined Scales</string>
</property>
<property name="checkable">
<bool>true</bool>
@@ -898,7 +898,7 @@
<item>
<widget class="QGroupBox" name="mDatumTransformGroupBox">
<property name="title">
<string>Datum transformations</string>
<string>Datum Transformations</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
@@ -950,15 +950,15 @@
<rect>
<x>0</x>
<y>0</y>
<width>285</width>
<height>638</height>
<width>685</width>
<height>778</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_12">
<item>
<widget class="QgsCollapsibleGroupBox" name="groupBox">
<property name="title">
<string>Default symbols</string>
<string>Default Symbols</string>
</property>
<property name="syncGroup" stdset="0">
<string notr="true">projstyles</string>
@@ -1246,7 +1246,7 @@
<item>
<widget class="QgsCollapsibleGroupBox" name="groupBox_7">
<property name="title">
<string>Project colors</string>
<string>Project Colors</string>
</property>
<layout class="QGridLayout" name="gridLayout_12">
<item row="2" column="1">
@@ -1408,7 +1408,7 @@
</size>
</property>
<property name="title">
<string>Project layers</string>
<string>Project Layers</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_22">
<item>
@@ -1482,7 +1482,7 @@
<item row="4" column="0" colspan="2">
<widget class="QgsCollapsibleGroupBox" name="groupBox_5">
<property name="title">
<string>Required layers</string>
<string>Required Layers</string>
</property>
<layout class="QGridLayout" name="gridLayout_19">
<item row="0" column="0" colspan="2">
@@ -1580,7 +1580,7 @@
<item>
<widget class="QGroupBox" name="grpPythonMacros">
<property name="title">
<string>Python macros</string>
<string>Python Macros</string>
</property>
<property name="checkable">
<bool>true</bool>
@@ -1642,7 +1642,7 @@
<item>
<widget class="QgsCollapsibleGroupBox" name="grpOWSServiceCapabilities">
<property name="title">
<string>Service capabilities</string>
<string>Service Capabilities</string>
</property>
<property name="checkable">
<bool>true</bool>
@@ -2525,14 +2525,14 @@
<item row="1" column="1">
<widget class="QPushButton" name="pbnWFSLayersDeselectAll">
<property name="text">
<string>Deselect all</string>
<string>Deselect All</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="pbnWFSLayersSelectAll">
<property name="text">
<string>Select all</string>
<string>Select All</string>
</property>
</widget>
</item>
@@ -2591,14 +2591,14 @@
<item row="1" column="1">
<widget class="QPushButton" name="pbnWCSLayersDeselectAll">
<property name="text">
<string>Deselect all</string>
<string>Deselect All</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="pbnWCSLayersSelectAll">
<property name="text">
<string>Select all</string>
<string>Select All</string>
</property>
</widget>
</item>
@@ -2628,7 +2628,7 @@
</sizepolicy>
</property>
<property name="title">
<string>Test configuration</string>
<string>Test Configuration</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_24">
<item>
@@ -395,7 +395,7 @@ border-radius: 2px;</string>
</sizepolicy>
</property>
<property name="title">
<string>Band rendering</string>
<string>Band Rendering</string>
</property>
<property name="syncGroup" stdset="0">
<string notr="true">rasterstyle</string>
@@ -440,7 +440,7 @@ border-radius: 2px;</string>
<item>
<widget class="QgsCollapsibleGroupBox" name="mColorRenderingGrpBox">
<property name="title">
<string>Color rendering</string>
<string>Color Rendering</string>
</property>
<property name="collapsed" stdset="0">
<bool>false</bool>
@@ -983,7 +983,7 @@ border-radius: 2px;</string>
<item>
<widget class="QgsCollapsibleGroupBox" name="gboxNoDataValue_2">
<property name="title">
<string>Global opacity</string>
<string>Global Opacity</string>
</property>
<property name="syncGroup" stdset="0">
<string notr="true">rastertransp</string>
@@ -1002,7 +1002,7 @@ border-radius: 2px;</string>
<item>
<widget class="QgsCollapsibleGroupBox" name="gboxNoDataValue">
<property name="title">
<string>No data value</string>
<string>No Data Value</string>
</property>
<property name="syncGroup" stdset="0">
<string notr="true">rastertransp</string>
@@ -1074,7 +1074,7 @@ border-radius: 2px;</string>
</sizepolicy>
</property>
<property name="title">
<string>Custom transparency options</string>
<string>Custom Transparency Options</string>
</property>
<property name="syncGroup" stdset="0">
<string notr="true">rastertransp</string>
@@ -1353,7 +1353,7 @@ border-radius: 2px;</string>
<item>
<widget class="QgsCollapsibleGroupBox" name="chkUseScaleDependentRendering">
<property name="title">
<string>Scale dependent visibility</string>
<string>Scale Dependent Visibility</string>
</property>
<property name="checkable">
<bool>true</bool>
@@ -1558,7 +1558,7 @@ p, li { white-space: pre-wrap; }
<bool>false</bool>
</property>
<property name="text">
<string>Build pyramids</string>
<string>Build Pyramids</string>
</property>
</widget>
</item>
@@ -79,7 +79,7 @@
<item row="1" column="0">
<widget class="QPushButton" name="btnAddTag">
<property name="text">
<string>Add tag…</string>
<string>Add Tag…</string>
</property>
<property name="autoDefault">
<bool>false</bool>
@@ -89,7 +89,7 @@
<item row="2" column="0">
<widget class="QPushButton" name="btnAddSmartgroup">
<property name="text">
<string>Add smart group…</string>
<string>Add Smart Group…</string>
</property>
<property name="autoDefault">
<bool>false</bool>
@@ -102,7 +102,7 @@
<string>Modify selected tag or smart group</string>
</property>
<property name="text">
<string>Modify group</string>
<string>Modify Group</string>
</property>
<property name="autoDefault">
<bool>false</bool>
@@ -112,7 +112,7 @@
<item row="4" column="0">
<widget class="QPushButton" name="btnShare">
<property name="text">
<string>Import / export</string>
<string>Import / Export</string>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
@@ -555,7 +555,7 @@ border-radius: 2px;</string>
<enum>Qt::StrongFocus</enum>
</property>
<property name="title">
<string>Coordinate reference system</string>
<string>Coordinate Reference System</string>
</property>
<property name="checkable">
<bool>false</bool>
@@ -586,14 +586,14 @@ border-radius: 2px;</string>
<item>
<widget class="QPushButton" name="pbnIndex">
<property name="text">
<string>Create spatial index</string>
<string>Create Spatial Index</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbnUpdateExtents">
<property name="text">
<string>Update extents</string>
<string>Update Extents</string>
</property>
</widget>
</item>
@@ -631,7 +631,7 @@ border-radius: 2px;</string>
</sizepolicy>
</property>
<property name="title">
<string>Provider feature filter</string>
<string>Provider Feature Filter</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="1" column="1">
@@ -1524,7 +1524,7 @@ border-radius: 2px;</string>
<item>
<widget class="QgsCollapsibleGroupBox" name="mScaleVisibilityGroupBox">
<property name="title">
<string>Scale dependen&amp;t visibility</string>
<string>Scale Dependen&amp;t Visibility</string>
</property>
<property name="checkable">
<bool>true</bool>
@@ -1543,7 +1543,7 @@ border-radius: 2px;</string>
<item>
<widget class="QGroupBox" name="mSimplifyDrawingGroupBox">
<property name="title">
<string>Simplify &amp;geometry</string>
<string>Simplify &amp;Geometry</string>
</property>
<property name="checkable">
<bool>true</bool>
@@ -1868,7 +1868,7 @@ border-radius: 2px;</string>
<item>
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>Data dependencies</string>
<string>Data Dependencies</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_24">
<item>
@@ -1923,7 +1923,7 @@ border-radius: 2px;</string>
<item>
<widget class="QgsCollapsibleGroupBox" name="groupBox_3">
<property name="title">
<string>Embedded widgets in legend</string>
<string>Embedded Widgets in Legend</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_22">
<item>
@@ -107,7 +107,7 @@
<item>
<widget class="QPushButton" name="openStyleManagerButton">
<property name="text">
<string>Open Library</string>
<string>Open Library</string>
</property>
</widget>
</item>
@@ -147,7 +147,7 @@
<string>Save symbol</string>
</property>
<property name="text">
<string>Save symbol</string>
<string>Save Symbol</string>
</property>
</widget>
</item>

0 comments on commit 2f99b95

Please sign in to comment.
You can’t perform that action at this time.