Navigation Menu

Skip to content

Commit

Permalink
Standard some capitalization
Browse files Browse the repository at this point in the history
- 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 27, 2018
1 parent 46356c8 commit 2f99b95
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion src/app/3d/qgsvectorlayer3drendererwidget.cpp
Expand Up @@ -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 );
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsmapcanvasdockwidget.cpp
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsvectorlayerlegendwidget.cpp
Expand Up @@ -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 );
Expand Down
4 changes: 2 additions & 2 deletions src/ui/qgsattributeactiondialogbase.ui
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
34 changes: 17 additions & 17 deletions src/ui/qgsprojectpropertiesbase.ui
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
14 changes: 7 additions & 7 deletions src/ui/qgsrasterlayerpropertiesbase.ui
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
8 changes: 4 additions & 4 deletions src/ui/qgsstylemanagerdialogbase.ui
Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand All @@ -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">
Expand Down
16 changes: 8 additions & 8 deletions src/ui/qgsvectorlayerpropertiesbase.ui
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions src/ui/symbollayer/widget_symbolslist.ui
Expand Up @@ -107,7 +107,7 @@
<item>
<widget class="QPushButton" name="openStyleManagerButton">
<property name="text">
<string>Open Library</string>
<string>Open Library</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -147,7 +147,7 @@
<string>Save symbol</string>
</property>
<property name="text">
<string>Save symbol</string>
<string>Save Symbol</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit 2f99b95

Please sign in to comment.