mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Replace check box by checkbox
This commit is contained in:
parent
338b4c0621
commit
35cbfa0087
@ -63,7 +63,7 @@ class QgsDefaultSearchWidgetWrapper : QgsSearchWidgetWrapper
|
||||
|
||||
QCheckBox *caseSensitiveCheckBox();
|
||||
%Docstring
|
||||
Returns a pointer to the case sensitivity check box in the widget.
|
||||
Returns a pointer to the case sensitivity checkbox in the widget.
|
||||
.. note::
|
||||
|
||||
this method is in place for unit testing only, and is not considered
|
||||
|
@ -170,7 +170,7 @@ class QgsEffectStackPropertiesDialog: QgsDialog
|
||||
class QgsEffectStackCompactWidget: QgsPanelWidget
|
||||
{
|
||||
%Docstring
|
||||
A small widget consisting of a check box for enabling/disabling an effect stack
|
||||
A small widget consisting of a checkbox for enabling/disabling an effect stack
|
||||
and a button for opening an effect stack customisation dialog.
|
||||
|
||||
.. versionadded:: 2.9
|
||||
|
@ -13,7 +13,7 @@ You can add any random text to the map not only a copyright label.
|
||||
<li>Click on <label>View > Decorations > Copyright Label</label>.
|
||||
<li>Enter the text you want to place on the map. You can use HTML.
|
||||
<li>Choose the placement of the label from the <label>Placement Bottom Right</label> drop-down box.
|
||||
<li>Make sure the <label>Enable Copyright Label check box</label> is checked.
|
||||
<li>Make sure the <label>Enable Copyright Label checkbox</label> is checked.
|
||||
<li>Click <label>OK</label>.
|
||||
</ol>
|
||||
<a name="text">
|
||||
|
@ -11,7 +11,7 @@ Choose the type of layer you want to create.
|
||||
<h4>EPSG SRID</h4>
|
||||
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.
|
||||
<h4>Create an auto-incrementing Primary Key</h4>
|
||||
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.
|
||||
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.
|
||||
<h4>New attribute</h4>
|
||||
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/>
|
||||
Width and precision are irrelevant in a SpatiaLite database so you do not have to specify these.
|
||||
|
@ -28,7 +28,7 @@ By default, QGIS renders all visible layers whenever the map canvas must be refr
|
||||
</ul>
|
||||
QGIS allows you to control the rendering process in a number of ways:<p>
|
||||
You can set an option to always load new layers without drawing them.<br>
|
||||
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>
|
||||
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>
|
||||
You can set an option to update the map display as features are drawn. <br>
|
||||
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.
|
||||
<a name="map">
|
||||
|
@ -109,7 +109,7 @@
|
||||
</p>
|
||||
<p>
|
||||
To use 'on the fly' CRS transformation, click the <label>Enable 'on the fly'
|
||||
CRS transformation</label> check box. Then choose the projection for the
|
||||
CRS transformation</label> checkbox. Then choose the projection for the
|
||||
project (map canvas) from the list of Geographic or Projected coordinate
|
||||
systems.
|
||||
</p>
|
||||
|
@ -38,7 +38,7 @@ If you wish to always use a particular style whenever the layer is loaded, use t
|
||||
<h4>Labels</h4>
|
||||
</a>
|
||||
The Labels tab allows you to enable labeling features and control a number of options related to fonts, placement, style, alignment and buffering.<br/>
|
||||
Check the <label>Display labels</label> check box to enable labeling.
|
||||
Check the <label>Display labels</label> checkbox to enable labeling.
|
||||
|
||||
<h5>Basic Label options</h5>
|
||||
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
|
||||
<h5>Buffer labels</h5>
|
||||
To buffer the labels means putting a backdrop around them to make them stand out better. To buffer the lakes labels:
|
||||
<ol>
|
||||
<li>Click the <label>Buffer Labels</label> check box to enable buffering.
|
||||
<li>Click the <label>Buffer Labels</label> checkbox to enable buffering.
|
||||
<li>Choose a size for the buffer using the spin box.
|
||||
<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.
|
||||
<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
|
||||
<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.
|
||||
<li><label>Immutable</label> The immutable attribute column is read-only. The user is not able to modify the content.
|
||||
<li><label>Hidden</label> A hidden attribute column is invisible to the user.
|
||||
<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.
|
||||
<li><label>Checkbox</label> A checkbox is shown. The value representing the state of the checkbox in the attribute has to be entered.
|
||||
<li><label>Text edit</label> A text edit field is shown, that allows entering multiline text.
|
||||
</ul>
|
||||
|
||||
|
@ -1235,6 +1235,7 @@ chceked:checked
|
||||
chceking:checking
|
||||
chceks:checks
|
||||
check-box:checkbox
|
||||
check box:checkbox
|
||||
checkk:check
|
||||
checksuming:checksumming
|
||||
cheif:chief
|
||||
@ -3297,6 +3298,7 @@ heathy:healthy
|
||||
Heidelburg:Heidelberg
|
||||
heigh:height
|
||||
heigher:higher
|
||||
heighest:highest
|
||||
heigt:height
|
||||
heigth:height
|
||||
heirachies:hierarchies
|
||||
|
@ -596,13 +596,13 @@ void QgsComposerMapWidget::updateGuiElements()
|
||||
|
||||
mMapRotationSpinBox->setValue( mComposerMap->mapRotation( QgsComposerObject::OriginalValue ) );
|
||||
|
||||
// follow preset check box
|
||||
// follow preset checkbox
|
||||
mFollowVisibilityPresetCheckBox->setCheckState(
|
||||
mComposerMap->followVisibilityPreset() ? Qt::Checked : Qt::Unchecked );
|
||||
int presetModelIndex = mFollowVisibilityPresetCombo->findText( mComposerMap->followVisibilityPresetName() );
|
||||
mFollowVisibilityPresetCombo->setCurrentIndex( presetModelIndex != -1 ? presetModelIndex : 0 ); // 0 == none
|
||||
|
||||
//keep layer list check box
|
||||
//keep layer list checkbox
|
||||
if ( mComposerMap->keepLayerSet() )
|
||||
{
|
||||
mKeepLayerListCheckBox->setCheckState( Qt::Checked );
|
||||
@ -1185,7 +1185,7 @@ void QgsComposerMapWidget::on_mGridListWidget_itemChanged( QListWidgetItem *item
|
||||
grid->setName( item->text() );
|
||||
if ( item->isSelected() )
|
||||
{
|
||||
//update check box title if item is current item
|
||||
//update checkbox title if item is current item
|
||||
mDrawGridCheckBox->setText( QString( tr( "Draw \"%1\" grid" ) ).arg( grid->name() ) );
|
||||
}
|
||||
}
|
||||
@ -1397,7 +1397,7 @@ void QgsComposerMapWidget::on_mOverviewListWidget_itemChanged( QListWidgetItem *
|
||||
overview->setName( item->text() );
|
||||
if ( item->isSelected() )
|
||||
{
|
||||
//update check box title if item is current item
|
||||
//update checkbox title if item is current item
|
||||
mOverviewCheckBox->setTitle( QString( tr( "Draw \"%1\" overview" ) ).arg( overview->name() ) );
|
||||
}
|
||||
}
|
||||
|
@ -3381,7 +3381,7 @@ void QgisApp::addUserInputWidget( QWidget *widget )
|
||||
|
||||
void QgisApp::initLayerTreeView()
|
||||
{
|
||||
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." ) );
|
||||
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." ) );
|
||||
|
||||
mLayerTreeDock = new QgsDockWidget( tr( "Layers Panel" ), this );
|
||||
mLayerTreeDock->setObjectName( QStringLiteral( "Layers" ) );
|
||||
|
@ -105,7 +105,7 @@ void QgsDecorationNorthArrow::run()
|
||||
void QgsDecorationNorthArrow::render( const QgsMapSettings &mapSettings, QgsRenderContext &context )
|
||||
{
|
||||
|
||||
//Large IF statement controlled by enable check box
|
||||
//Large IF statement controlled by enable checkbox
|
||||
if ( enabled() )
|
||||
{
|
||||
QSize size( 64, 64 );
|
||||
|
@ -56,8 +56,8 @@ class CORE_EXPORT QgsComposerModel: public QAbstractItemModel
|
||||
//! Columns returned by the model
|
||||
enum Columns
|
||||
{
|
||||
Visibility = 0, //!< Item visibility check box
|
||||
LockStatus, //!< Item lock status check box
|
||||
Visibility = 0, //!< Item visibility checkbox
|
||||
LockStatus, //!< Item lock status checkbox
|
||||
ItemId, //!< Item ID
|
||||
};
|
||||
|
||||
|
@ -100,7 +100,7 @@ class CORE_EXPORT QgsLayerTreeModel : public QAbstractItemModel
|
||||
// behavioral flags
|
||||
AllowNodeReorder = 0x1000, //!< Allow reordering with drag'n'drop
|
||||
AllowNodeRename = 0x2000, //!< Allow renaming of groups and layers
|
||||
AllowNodeChangeVisibility = 0x4000, //!< Allow user to set node visibility with a check box
|
||||
AllowNodeChangeVisibility = 0x4000, //!< Allow user to set node visibility with a checkbox
|
||||
AllowLegendChangeState = 0x8000, //!< Allow check boxes for legend nodes (if supported by layer's legend)
|
||||
ActionHierarchical = 0x10000, //!< Check/uncheck action has consequences on children (or parents for leaf node)
|
||||
};
|
||||
|
@ -49,7 +49,7 @@ void QgsEditorWidgetRegistry::initEditors( QgsMapCanvas *mapCanvas, QgsMessageBa
|
||||
registerWidget( QStringLiteral( "ValueMap" ), new QgsValueMapWidgetFactory( tr( "Value Map" ) ) );
|
||||
registerWidget( QStringLiteral( "Enumeration" ), new QgsEnumerationWidgetFactory( tr( "Enumeration" ) ) );
|
||||
registerWidget( QStringLiteral( "Hidden" ), new QgsHiddenWidgetFactory( tr( "Hidden" ) ) );
|
||||
registerWidget( QStringLiteral( "CheckBox" ), new QgsCheckboxWidgetFactory( tr( "Check Box" ) ) );
|
||||
registerWidget( QStringLiteral( "CheckBox" ), new QgsCheckboxWidgetFactory( tr( "Checkbox" ) ) );
|
||||
registerWidget( QStringLiteral( "ValueRelation" ), new QgsValueRelationWidgetFactory( tr( "Value Relation" ) ) );
|
||||
registerWidget( QStringLiteral( "UuidGenerator" ), new QgsUuidWidgetFactory( tr( "Uuid Generator" ) ) );
|
||||
registerWidget( QStringLiteral( "Color" ), new QgsColorWidgetFactory( tr( "Color" ) ) );
|
||||
@ -186,7 +186,7 @@ bool QgsEditorWidgetRegistry::registerWidget( const QString &widgetId, QgsEditor
|
||||
{
|
||||
mWidgetFactories.insert( widgetId, widgetFactory );
|
||||
|
||||
// Use this factory as default where it provides the heighest priority
|
||||
// Use this factory as default where it provides the highest priority
|
||||
QHash<const char *, int> types = widgetFactory->supportedWidgetTypes();
|
||||
QHash<const char *, int>::ConstIterator it;
|
||||
it = types.constBegin();
|
||||
|
@ -66,7 +66,7 @@ class GUI_EXPORT QgsDefaultSearchWidgetWrapper : public QgsSearchWidgetWrapper
|
||||
*/
|
||||
QgsFilterLineEdit *lineEdit();
|
||||
|
||||
/** Returns a pointer to the case sensitivity check box in the widget.
|
||||
/** Returns a pointer to the case sensitivity checkbox in the widget.
|
||||
* \note this method is in place for unit testing only, and is not considered
|
||||
* stable API
|
||||
*/
|
||||
|
@ -179,7 +179,7 @@ class GUI_EXPORT QgsEffectStackPropertiesDialog: public QgsDialog
|
||||
|
||||
/** \ingroup gui
|
||||
* \class QgsEffectStackCompactWidget
|
||||
* \brief A small widget consisting of a check box for enabling/disabling an effect stack
|
||||
* \brief A small widget consisting of a checkbox for enabling/disabling an effect stack
|
||||
* and a button for opening an effect stack customisation dialog.
|
||||
*
|
||||
* \since QGIS 2.9
|
||||
|
@ -97,7 +97,7 @@ void QgsDetailedItemDelegate::paintManually( QPainter *thepPainter,
|
||||
const QgsDetailedItemData &data ) const
|
||||
{
|
||||
//
|
||||
// Get the strings and check box properties
|
||||
// Get the strings and checkbox properties
|
||||
//
|
||||
//bool myCheckState = index.model()->data(theIndex, Qt::CheckStateRole).toBool();
|
||||
mpCheckBox->setChecked( data.isChecked() );
|
||||
|
@ -54,7 +54,7 @@ class GUI_EXPORT QgsMessageViewer: public QDialog, public QgsMessageOutput, priv
|
||||
// A checkbox that can be used for something like
|
||||
// "don't show this message again"
|
||||
void setCheckBoxText( const QString &text );
|
||||
// Make the check box visible/invisible
|
||||
// Make the checkbox visible/invisible
|
||||
void setCheckBoxVisible( bool visible );
|
||||
// Sets the check state
|
||||
void setCheckBoxState( Qt::CheckState state );
|
||||
|
@ -806,7 +806,7 @@ void eVisGenericEventBrowserGui::on_buttonboxOptions_clicked( QAbstractButton *b
|
||||
}
|
||||
|
||||
/**
|
||||
* Slot called when the state changes for the chkboxApplyPathRulesToDocs check box.
|
||||
* Slot called when the state changes for the chkboxApplyPathRulesToDocs checkbox.
|
||||
* @param state - The new state of the checkbox
|
||||
*/
|
||||
void eVisGenericEventBrowserGui::on_chkboxApplyPathRulesToDocs_stateChanged( int state )
|
||||
@ -911,7 +911,7 @@ void eVisGenericEventBrowserGui::on_chkboxDisplayCompassBearing_stateChanged( in
|
||||
}
|
||||
|
||||
/**
|
||||
* Slot called when the state changes for the chkboxEventImagePathRelative check box.
|
||||
* Slot called when the state changes for the chkboxEventImagePathRelative checkbox.
|
||||
* @param state - The new state of the checkbox
|
||||
*/
|
||||
void eVisGenericEventBrowserGui::on_chkboxEventImagePathRelative_stateChanged( int state )
|
||||
@ -927,7 +927,7 @@ void eVisGenericEventBrowserGui::on_chkboxEventImagePathRelative_stateChanged( i
|
||||
}
|
||||
|
||||
/**
|
||||
* Slot called when the state changes for the chkboxUseOnlyFilename check box.
|
||||
* Slot called when the state changes for the chkboxUseOnlyFilename checkbox.
|
||||
* @param state - The new state of the checkbox
|
||||
*/
|
||||
void eVisGenericEventBrowserGui::on_chkboxUseOnlyFilename_stateChanged( int state )
|
||||
|
@ -22,7 +22,7 @@ QgsXyzConnectionDialog::QgsXyzConnectionDialog( QWidget *parent )
|
||||
{
|
||||
setupUi( this );
|
||||
|
||||
// Behavior for min and max zoom check box
|
||||
// Behavior for min and max zoom checkbox
|
||||
connect( mCheckBoxZMin, &QCheckBox::toggled, mSpinZMin, &QSpinBox::setEnabled );
|
||||
connect( mCheckBoxZMax, &QCheckBox::toggled, mSpinZMax, &QSpinBox::setEnabled );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user