Skip to content

Commit 35cbfa0

Browse files
committedJul 2, 2017
Replace check box by checkbox
1 parent 338b4c0 commit 35cbfa0

20 files changed

+30
-28
lines changed
 

‎python/gui/editorwidgets/qgsdefaultsearchwidgetwrapper.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class QgsDefaultSearchWidgetWrapper : QgsSearchWidgetWrapper
6363

6464
QCheckBox *caseSensitiveCheckBox();
6565
%Docstring
66-
Returns a pointer to the case sensitivity check box in the widget.
66+
Returns a pointer to the case sensitivity checkbox in the widget.
6767
.. note::
6868

6969
this method is in place for unit testing only, and is not considered

‎python/gui/effects/qgseffectstackpropertieswidget.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class QgsEffectStackPropertiesDialog: QgsDialog
170170
class QgsEffectStackCompactWidget: QgsPanelWidget
171171
{
172172
%Docstring
173-
A small widget consisting of a check box for enabling/disabling an effect stack
173+
A small widget consisting of a checkbox for enabling/disabling an effect stack
174174
and a button for opening an effect stack customisation dialog.
175175

176176
.. versionadded:: 2.9

‎resources/context_help/QgsDecorationCopyrightDialog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You can add any random text to the map not only a copyright label.
1313
<li>Click on <label>View > Decorations > Copyright Label</label>.
1414
<li>Enter the text you want to place on the map. You can use HTML.
1515
<li>Choose the placement of the label from the <label>Placement Bottom Right</label> drop-down box.
16-
<li>Make sure the <label>Enable Copyright Label check box</label> is checked.
16+
<li>Make sure the <label>Enable Copyright Label checkbox</label> is checked.
1717
<li>Click <label>OK</label>.
1818
</ol>
1919
<a name="text">

‎resources/context_help/QgsNewSpatialiteLayerDialog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Choose the type of layer you want to create.
1111
<h4>EPSG SRID</h4>
1212
Enter the EPSG number for the spatial reference id (SRID). By default the SRID for WGS 84 is filled in for you. Click on <label>Find SRID</label> button to change the coordinate reference system of the layer if needed. The SRID must exist within the spatial_ref_sys in your SpatiaLite database. You can search for the SRID using partial matches on both name and SRID.
1313
<h4>Create an auto-incrementing Primary Key</h4>
14-
Clicking this check box will add a primary key to the new layer. This key field will be auto-incrementing, meaning you don't have to enter a value for it when adding features to the attribute table of the layer.
14+
Clicking this checkbox will add a primary key to the new layer. This key field will be auto-incrementing, meaning you don't have to enter a value for it when adding features to the attribute table of the layer.
1515
<h4>New attribute</h4>
1616
Add the desired attributes by clicking on the <label>Add to attributes list</label> button after you have specified a name and type for the attribute. Only real, integer, and string attributes are supported.<br/>
1717
Width and precision are irrelevant in a SpatiaLite database so you do not have to specify these.

‎resources/context_help/QgsOptions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ By default, QGIS renders all visible layers whenever the map canvas must be refr
2828
</ul>
2929
QGIS allows you to control the rendering process in a number of ways:<p>
3030
You can set an option to always load new layers without drawing them.<br>
31-
This means the layer will be added to the map, but its visibility check box in the legend will be unchecked by default. To set this option, uncheck the <label>By default new layers added to the map should be displayed</label> check box.<p>
31+
This means the layer will be added to the map, but its visibility checkbox in the legend will be unchecked by default. To set this option, uncheck the <label>By default new layers added to the map should be displayed</label> checkbox.<p>
3232
You can set an option to update the map display as features are drawn. <br>
3333
By default, QGIS does not display any features for a layer until the entire layer has been rendered. To update the display as features are read from the data store, set the <label>Number of features to draw before updating the display</label> to an appropriate value. Setting a value of 0 disables update during drawing (this is the default). Setting a value too low will result in poor performance as the map canvas is continually updated during the reading of the features. A suggested value to start with is 500.
3434
<a name="map">

‎resources/context_help/QgsProjectProperties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
</p>
110110
<p>
111111
To use 'on the fly' CRS transformation, click the <label>Enable 'on the fly'
112-
CRS transformation</label> check box. Then choose the projection for the
112+
CRS transformation</label> checkbox. Then choose the projection for the
113113
project (map canvas) from the list of Geographic or Projected coordinate
114114
systems.
115115
</p>

‎resources/context_help/QgsVectorLayerProperties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you wish to always use a particular style whenever the layer is loaded, use t
3838
<h4>Labels</h4>
3939
</a>
4040
The Labels tab allows you to enable labeling features and control a number of options related to fonts, placement, style, alignment and buffering.<br/>
41-
Check the <label>Display labels</label> check box to enable labeling.
41+
Check the <label>Display labels</label> checkbox to enable labeling.
4242

4343
<h5>Basic Label options</h5>
4444
Choose the field to label with.<p>
@@ -54,7 +54,7 @@ The <label>Font size units</label> allows you to select between <label>Points</l
5454
<h5>Buffer labels</h5>
5555
To buffer the labels means putting a backdrop around them to make them stand out better. To buffer the lakes labels:
5656
<ol>
57-
<li>Click the <label>Buffer Labels</label> check box to enable buffering.
57+
<li>Click the <label>Buffer Labels</label> checkbox to enable buffering.
5858
<li>Choose a size for the buffer using the spin box.
5959
<li>Choose a color by clicking on <label>Color</label> and choosing your favorite from the color selector. You can also set some transparency for the buffer if you prefer.
6060
<li>Click <label>Apply</label> to see if you like the changes.
@@ -82,7 +82,7 @@ Within the Attributes tab you also find an edit widget column. This column can b
8282
<li><label>Enumeration</label> Opens a combo box with values that can be used within the columns type. This is currently only supported by the Postgres provider.
8383
<li><label>Immutable</label> The immutable attribute column is read-only. The user is not able to modify the content.
8484
<li><label>Hidden</label> A hidden attribute column is invisible to the user.
85-
<li><label>Checkbox</label> A check box is shown. The value representing the state of the check box in the attribute has to be entered.
85+
<li><label>Checkbox</label> A checkbox is shown. The value representing the state of the checkbox in the attribute has to be entered.
8686
<li><label>Text edit</label> A text edit field is shown, that allows entering multiline text.
8787
</ul>
8888

‎scripts/spell_check/spelling.dat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,6 +1235,7 @@ chceked:checked
12351235
chceking:checking
12361236
chceks:checks
12371237
check-box:checkbox
1238+
check box:checkbox
12381239
checkk:check
12391240
checksuming:checksumming
12401241
cheif:chief
@@ -3297,6 +3298,7 @@ heathy:healthy
32973298
Heidelburg:Heidelberg
32983299
heigh:height
32993300
heigher:higher
3301+
heighest:highest
33003302
heigt:height
33013303
heigth:height
33023304
heirachies:hierarchies

‎src/app/composer/qgscomposermapwidget.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -596,13 +596,13 @@ void QgsComposerMapWidget::updateGuiElements()
596596

597597
mMapRotationSpinBox->setValue( mComposerMap->mapRotation( QgsComposerObject::OriginalValue ) );
598598

599-
// follow preset check box
599+
// follow preset checkbox
600600
mFollowVisibilityPresetCheckBox->setCheckState(
601601
mComposerMap->followVisibilityPreset() ? Qt::Checked : Qt::Unchecked );
602602
int presetModelIndex = mFollowVisibilityPresetCombo->findText( mComposerMap->followVisibilityPresetName() );
603603
mFollowVisibilityPresetCombo->setCurrentIndex( presetModelIndex != -1 ? presetModelIndex : 0 ); // 0 == none
604604

605-
//keep layer list check box
605+
//keep layer list checkbox
606606
if ( mComposerMap->keepLayerSet() )
607607
{
608608
mKeepLayerListCheckBox->setCheckState( Qt::Checked );
@@ -1185,7 +1185,7 @@ void QgsComposerMapWidget::on_mGridListWidget_itemChanged( QListWidgetItem *item
11851185
grid->setName( item->text() );
11861186
if ( item->isSelected() )
11871187
{
1188-
//update check box title if item is current item
1188+
//update checkbox title if item is current item
11891189
mDrawGridCheckBox->setText( QString( tr( "Draw \"%1\" grid" ) ).arg( grid->name() ) );
11901190
}
11911191
}
@@ -1397,7 +1397,7 @@ void QgsComposerMapWidget::on_mOverviewListWidget_itemChanged( QListWidgetItem *
13971397
overview->setName( item->text() );
13981398
if ( item->isSelected() )
13991399
{
1400-
//update check box title if item is current item
1400+
//update checkbox title if item is current item
14011401
mOverviewCheckBox->setTitle( QString( tr( "Draw \"%1\" overview" ) ).arg( overview->name() ) );
14021402
}
14031403
}

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3381,7 +3381,7 @@ void QgisApp::addUserInputWidget( QWidget *widget )
33813381

33823382
void QgisApp::initLayerTreeView()
33833383
{
3384-
mLayerTreeView->setWhatsThis( tr( "Map legend that displays all the layers currently on the map canvas. Click on the check box to turn a layer on or off. Double click on a layer in the legend to customize its appearance and set other properties." ) );
3384+
mLayerTreeView->setWhatsThis( tr( "Map legend that displays all the layers currently on the map canvas. Click on the checkbox to turn a layer on or off. Double click on a layer in the legend to customize its appearance and set other properties." ) );
33853385

33863386
mLayerTreeDock = new QgsDockWidget( tr( "Layers Panel" ), this );
33873387
mLayerTreeDock->setObjectName( QStringLiteral( "Layers" ) );

‎src/app/qgsdecorationnortharrow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void QgsDecorationNorthArrow::run()
105105
void QgsDecorationNorthArrow::render( const QgsMapSettings &mapSettings, QgsRenderContext &context )
106106
{
107107

108-
//Large IF statement controlled by enable check box
108+
//Large IF statement controlled by enable checkbox
109109
if ( enabled() )
110110
{
111111
QSize size( 64, 64 );

‎src/core/composer/qgscomposermodel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ class CORE_EXPORT QgsComposerModel: public QAbstractItemModel
5656
//! Columns returned by the model
5757
enum Columns
5858
{
59-
Visibility = 0, //!< Item visibility check box
60-
LockStatus, //!< Item lock status check box
59+
Visibility = 0, //!< Item visibility checkbox
60+
LockStatus, //!< Item lock status checkbox
6161
ItemId, //!< Item ID
6262
};
6363

‎src/core/layertree/qgslayertreemodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class CORE_EXPORT QgsLayerTreeModel : public QAbstractItemModel
100100
// behavioral flags
101101
AllowNodeReorder = 0x1000, //!< Allow reordering with drag'n'drop
102102
AllowNodeRename = 0x2000, //!< Allow renaming of groups and layers
103-
AllowNodeChangeVisibility = 0x4000, //!< Allow user to set node visibility with a check box
103+
AllowNodeChangeVisibility = 0x4000, //!< Allow user to set node visibility with a checkbox
104104
AllowLegendChangeState = 0x8000, //!< Allow check boxes for legend nodes (if supported by layer's legend)
105105
ActionHierarchical = 0x10000, //!< Check/uncheck action has consequences on children (or parents for leaf node)
106106
};

‎src/gui/editorwidgets/core/qgseditorwidgetregistry.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void QgsEditorWidgetRegistry::initEditors( QgsMapCanvas *mapCanvas, QgsMessageBa
4949
registerWidget( QStringLiteral( "ValueMap" ), new QgsValueMapWidgetFactory( tr( "Value Map" ) ) );
5050
registerWidget( QStringLiteral( "Enumeration" ), new QgsEnumerationWidgetFactory( tr( "Enumeration" ) ) );
5151
registerWidget( QStringLiteral( "Hidden" ), new QgsHiddenWidgetFactory( tr( "Hidden" ) ) );
52-
registerWidget( QStringLiteral( "CheckBox" ), new QgsCheckboxWidgetFactory( tr( "Check Box" ) ) );
52+
registerWidget( QStringLiteral( "CheckBox" ), new QgsCheckboxWidgetFactory( tr( "Checkbox" ) ) );
5353
registerWidget( QStringLiteral( "ValueRelation" ), new QgsValueRelationWidgetFactory( tr( "Value Relation" ) ) );
5454
registerWidget( QStringLiteral( "UuidGenerator" ), new QgsUuidWidgetFactory( tr( "Uuid Generator" ) ) );
5555
registerWidget( QStringLiteral( "Color" ), new QgsColorWidgetFactory( tr( "Color" ) ) );
@@ -186,7 +186,7 @@ bool QgsEditorWidgetRegistry::registerWidget( const QString &widgetId, QgsEditor
186186
{
187187
mWidgetFactories.insert( widgetId, widgetFactory );
188188

189-
// Use this factory as default where it provides the heighest priority
189+
// Use this factory as default where it provides the highest priority
190190
QHash<const char *, int> types = widgetFactory->supportedWidgetTypes();
191191
QHash<const char *, int>::ConstIterator it;
192192
it = types.constBegin();

‎src/gui/editorwidgets/qgsdefaultsearchwidgetwrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class GUI_EXPORT QgsDefaultSearchWidgetWrapper : public QgsSearchWidgetWrapper
6666
*/
6767
QgsFilterLineEdit *lineEdit();
6868

69-
/** Returns a pointer to the case sensitivity check box in the widget.
69+
/** Returns a pointer to the case sensitivity checkbox in the widget.
7070
* \note this method is in place for unit testing only, and is not considered
7171
* stable API
7272
*/

‎src/gui/effects/qgseffectstackpropertieswidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class GUI_EXPORT QgsEffectStackPropertiesDialog: public QgsDialog
179179

180180
/** \ingroup gui
181181
* \class QgsEffectStackCompactWidget
182-
* \brief A small widget consisting of a check box for enabling/disabling an effect stack
182+
* \brief A small widget consisting of a checkbox for enabling/disabling an effect stack
183183
* and a button for opening an effect stack customisation dialog.
184184
*
185185
* \since QGIS 2.9

‎src/gui/qgsdetaileditemdelegate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void QgsDetailedItemDelegate::paintManually( QPainter *thepPainter,
9797
const QgsDetailedItemData &data ) const
9898
{
9999
//
100-
// Get the strings and check box properties
100+
// Get the strings and checkbox properties
101101
//
102102
//bool myCheckState = index.model()->data(theIndex, Qt::CheckStateRole).toBool();
103103
mpCheckBox->setChecked( data.isChecked() );

‎src/gui/qgsmessageviewer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class GUI_EXPORT QgsMessageViewer: public QDialog, public QgsMessageOutput, priv
5454
// A checkbox that can be used for something like
5555
// "don't show this message again"
5656
void setCheckBoxText( const QString &text );
57-
// Make the check box visible/invisible
57+
// Make the checkbox visible/invisible
5858
void setCheckBoxVisible( bool visible );
5959
// Sets the check state
6060
void setCheckBoxState( Qt::CheckState state );

‎src/plugins/evis/eventbrowser/evisgenericeventbrowsergui.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ void eVisGenericEventBrowserGui::on_buttonboxOptions_clicked( QAbstractButton *b
806806
}
807807

808808
/**
809-
* Slot called when the state changes for the chkboxApplyPathRulesToDocs check box.
809+
* Slot called when the state changes for the chkboxApplyPathRulesToDocs checkbox.
810810
* @param state - The new state of the checkbox
811811
*/
812812
void eVisGenericEventBrowserGui::on_chkboxApplyPathRulesToDocs_stateChanged( int state )
@@ -911,7 +911,7 @@ void eVisGenericEventBrowserGui::on_chkboxDisplayCompassBearing_stateChanged( in
911911
}
912912

913913
/**
914-
* Slot called when the state changes for the chkboxEventImagePathRelative check box.
914+
* Slot called when the state changes for the chkboxEventImagePathRelative checkbox.
915915
* @param state - The new state of the checkbox
916916
*/
917917
void eVisGenericEventBrowserGui::on_chkboxEventImagePathRelative_stateChanged( int state )
@@ -927,7 +927,7 @@ void eVisGenericEventBrowserGui::on_chkboxEventImagePathRelative_stateChanged( i
927927
}
928928

929929
/**
930-
* Slot called when the state changes for the chkboxUseOnlyFilename check box.
930+
* Slot called when the state changes for the chkboxUseOnlyFilename checkbox.
931931
* @param state - The new state of the checkbox
932932
*/
933933
void eVisGenericEventBrowserGui::on_chkboxUseOnlyFilename_stateChanged( int state )

‎src/providers/wms/qgsxyzconnectiondialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ QgsXyzConnectionDialog::QgsXyzConnectionDialog( QWidget *parent )
2222
{
2323
setupUi( this );
2424

25-
// Behavior for min and max zoom check box
25+
// Behavior for min and max zoom checkbox
2626
connect( mCheckBoxZMin, &QCheckBox::toggled, mSpinZMin, &QSpinBox::setEnabled );
2727
connect( mCheckBoxZMax, &QCheckBox::toggled, mSpinZMax, &QSpinBox::setEnabled );
2828
}

0 commit comments

Comments
 (0)
Please sign in to comment.