Skip to content

Commit 15be889

Browse files
committed
Replace "double click" and "doubleclick" by double-click
1 parent 29c4fcf commit 15be889

24 files changed

+29
-27
lines changed

python/console/console_sci.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ def __init__(self, parent):
629629
self.setWindowTitle(QCoreApplication.translate("PythonConsole",
630630
"Python Console - Command History"))
631631
self.listView.setToolTip(QCoreApplication.translate("PythonConsole",
632-
"Double click on item to execute"))
632+
"Double-click on item to execute"))
633633
self.model = QStandardItemModel(self.listView)
634634

635635
self._reloadHistory()

python/gui/qgsmapcanvas.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ Overridden key release event
801801
virtual void mouseDoubleClickEvent( QMouseEvent *e );
802802

803803
%Docstring
804-
Overridden mouse double click event
804+
Overridden mouse double-click event
805805
%End
806806

807807
virtual void mouseMoveEvent( QMouseEvent *e );

python/gui/qgsmaptool.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Mouse move event for overriding. Default implementation does nothing.
7373

7474
virtual void canvasDoubleClickEvent( QgsMapMouseEvent *e );
7575
%Docstring
76-
Mouse double click event for overriding. Default implementation does nothing.
76+
Mouse double-click event for overriding. Default implementation does nothing.
7777
%End
7878

7979
virtual void canvasPressEvent( QgsMapMouseEvent *e );

python/plugins/MetaSearch/ui/maindialog.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
<item row="2" column="0" colspan="5">
237237
<widget class="QTreeWidget" name="treeRecords">
238238
<property name="toolTip">
239-
<string>Double click to see full record information</string>
239+
<string>Double-click to see full record information</string>
240240
</property>
241241
<property name="editTriggers">
242242
<set>QAbstractItemView::NoEditTriggers</set>

python/plugins/processing/ui/DlgNumberInput.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<item>
2424
<widget class="QLabel" name="label">
2525
<property name="text">
26-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enter expression in the text field. Double click on elements in the tree to add their values to the expression.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
26+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enter expression in the text field. Double-click on elements in the tree to add their values to the expression.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
2727
</property>
2828
<property name="wordWrap">
2929
<bool>true</bool>

resources/context_help/QgsOracleSourceSelect

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To add a layer:
2828
<a name="filter">
2929
<h4>Filtering a Layer</h4>
3030
</a>
31-
To filter a layer before adding it to the map, double click on its name or use <label>Build query</label> button. This will open the Query Builder, allowing you to build up a SQL statement to use in filtering the records.
31+
To filter a layer before adding it to the map, double-click on its name or use <label>Build query</label> button. This will open the Query Builder, allowing you to build up a SQL statement to use in filtering the records.
3232

3333
<a name="search">
3434
<h4>Options</h4>

resources/context_help/QgsPgSourceSelect

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ To add a layer:
2828
<a name="filter">
2929
<h4>Filtering a Layer</h4>
3030
</a>
31-
To filter a layer before adding it to the map, double click on its name or use <label>Build query</label> button. This will open the Query Builder, allowing you to build up a SQL statement to use in filtering the records.
31+
To filter a layer before adding it to the map, double-click on its name or use <label>Build query</label> button. This will open the Query Builder, allowing you to build up a SQL statement to use in filtering the records.
3232

3333
<a name="search">
3434
<h4>Options</h4>

resources/context_help/QgsVectorLayerProperties

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This dialog allows you to work with vector layer settings and properties. There
1212
<a name="symbology">
1313
<h4>Symbology</h4>
1414
</a>
15-
To change the symbology for a layer, simply double click on its legend entry and the vector <label>Layer Properties</label> dialog will be shown.<p>
15+
To change the symbology for a layer, simply double-click on its legend entry and the vector <label>Layer Properties</label> dialog will be shown.<p>
1616
Within this dialog you can style your vector layer. Depending on the selected rendering option you have the possibility to also classify your map features.
1717

1818
<h5>Legend type</h5>

resources/function_help/json/Field

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Field",
33
"type": "group",
4-
"description": "Double click to add field name to expression string.<br>Right-Click on field name to open context menu sample value loading options.",
4+
"description": "Double-click to add field name to expression string.<br>Right-Click on field name to open context menu sample value loading options.",
55
"notes": "Loading field values from WFS layers isn't supported, before the layer is actually inserted, ie. when building queries."
66
}

scripts/spell_check/spelling.dat

+2
Original file line numberDiff line numberDiff line change
@@ -2390,6 +2390,8 @@ dosent':doesn't
23902390
dosen't:doesn't
23912391
doub:doubt
23922392
doulbe:double
2393+
double click:double-click
2394+
doubleclick:double-click
23932395
dowloads:downloads
23942396
downlad:download
23952397
downlads:downloads

src/app/pluginmanager/qgspluginmanager.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class QgsPluginManager : public QgsOptionsDialogBase, private Ui::QgsPluginManag
112112
//! Display details of inactive item too
113113
void on_vwPlugins_clicked( const QModelIndex &index );
114114

115-
//! Load/unload plugin by double click
115+
//! Load/unload plugin by double-click
116116
void on_vwPlugins_doubleClicked( const QModelIndex &index );
117117

118118
//! Handle click in the web view

src/app/pluginmanager/qgspluginmanager_texts.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Some plugins come with your QGIS installation while most of them are made availa
1717
\
1818
<p>\
1919
You can temporarily enable or disable a plugin.\
20-
To <i>enable</i> or <i>disable</i> a plugin, click its checkbox or doubleclick its name...\
20+
To <i>enable</i> or <i>disable</i> a plugin, click its checkbox or double-click its name...\
2121
</p>\
2222
\
2323
<p>\
@@ -37,7 +37,7 @@ Here you only see plugins <b>installed on your QGIS</b>.\
3737
Click on the name to see details. \
3838
</p>\
3939
<p>\
40-
Click the checkbox or doubleclick the name to <i>activate</i> or <i>deactivate</i> the plugin.\
40+
Click the checkbox or double-click the name to <i>activate</i> or <i>deactivate</i> the plugin.\
4141
</p>\
4242
<p>\
4343
You can change the sorting via the context menu (right click).\

src/app/qgisapp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3390,7 +3390,7 @@ void QgisApp::addUserInputWidget( QWidget *widget )
33903390

33913391
void QgisApp::initLayerTreeView()
33923392
{
3393-
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." ) );
3393+
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." ) );
33943394

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

src/gui/qgscomposerview.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ void QgsComposerView::mouseReleaseEvent( QMouseEvent *e )
831831
{
832832
if ( mPolygonItem && mPolylineItem )
833833
{
834-
// ignore the last point due to release event before doubleClick event
834+
// ignore the last point due to release event before doubleClick event # spellok
835835
QPolygonF poly = mPolygonItem->polygon();
836836

837837
// last (temporary) point is removed

src/gui/qgsexpressionbuilderwidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ void QgsExpressionBuilderWidget::on_expressionTree_doubleClicked( const QModelIn
275275
if ( !item )
276276
return;
277277

278-
// Don't handle the double click it we are on a header node.
278+
// Don't handle the double-click if we are on a header node.
279279
if ( item->getItemType() == QgsExpressionItem::Header )
280280
return;
281281

src/gui/qgsmapcanvas.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
689689
//! Overridden key release event
690690
void keyReleaseEvent( QKeyEvent *e ) override;
691691

692-
//! Overridden mouse double click event
692+
//! Overridden mouse double-click event
693693
void mouseDoubleClickEvent( QMouseEvent *e ) override;
694694

695695
//! Overridden mouse move event

src/gui/qgsmaptool.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class GUI_EXPORT QgsMapTool : public QObject
103103
//! Mouse move event for overriding. Default implementation does nothing.
104104
virtual void canvasMoveEvent( QgsMapMouseEvent *e );
105105

106-
//! Mouse double click event for overriding. Default implementation does nothing.
106+
//! Mouse double-click event for overriding. Default implementation does nothing.
107107
virtual void canvasDoubleClickEvent( QgsMapMouseEvent *e );
108108

109109
//! Mouse press event for overriding. Default implementation does nothing.

src/gui/qgsmaptooladvanceddigitizing.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class GUI_EXPORT QgsMapToolAdvancedDigitizing : public QgsMapToolEdit
127127
bool mSnapOnPress; //!< Snap on press
128128
bool mSnapOnRelease; //!< Snap on release
129129
bool mSnapOnMove; //!< Snap on move
130-
bool mSnapOnDoubleClick; //!< Snap on double click
130+
bool mSnapOnDoubleClick; //!< Snap on double-click
131131

132132
private slots:
133133

src/gui/qgsprojectionselectiondialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ QgsProjectionSelectionDialog::QgsProjectionSelectionDialog( QWidget *parent,
3333
//we will show this only when a message is set
3434
textEdit->hide();
3535

36-
//apply selected projection upon double click on item
36+
//apply selected projection upon double-click on item
3737
connect( projectionSelector, &QgsProjectionSelectionTreeWidget::projectionDoubleClicked, this, &QgsProjectionSelectionDialog::accept );
3838
}
3939

src/gui/qgsprojectionselectiontreewidget.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ class GUI_EXPORT QgsProjectionSelectionTreeWidget : public QWidget, private Ui::
256256
//! get list of authorities
257257
QStringList authorities();
258258

259-
//! Apply projection on double click
259+
//! Apply projection on double-click
260260
void on_lstCoordinateSystems_itemDoubleClicked( QTreeWidgetItem *current, int column );
261261
void on_lstRecent_itemDoubleClicked( QTreeWidgetItem *current, int column );
262262
void on_lstCoordinateSystems_currentItemChanged( QTreeWidgetItem *current, QTreeWidgetItem *prev );

src/gui/qgssourceselectdialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ void QgsSourceSelectDialog::on_cmbConnections_activated( int index )
419419

420420
void QgsSourceSelectDialog::treeWidgetItemDoubleClicked( const QModelIndex &index )
421421
{
422-
QgsDebugMsg( "double click called" );
422+
QgsDebugMsg( "double-click called" );
423423
QgsOwsConnection connection( mServiceName, cmbConnections->currentText() );
424424
buildQuery( connection, index );
425425
}

src/plugins/grass/qtermwidget/TerminalDisplay.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2263,10 +2263,10 @@ void TerminalDisplay::mouseDoubleClickEvent(QMouseEvent* ev)
22632263

22642264
QPoint pos(charColumn,charLine);
22652265

2266-
// pass on double click as two clicks.
2266+
// pass on double-click as two clicks.
22672267
if (!_mouseMarks && !(ev->modifiers() & Qt::ShiftModifier))
22682268
{
2269-
// Send just _ONE_ click event, since the first click of the double click
2269+
// Send just _ONE_ click event, since the first click of the double-click
22702270
// was already sent by the click handler
22712271
emit mouseSignal( 0,
22722272
pos.x()+1,

src/providers/wfs/qgswfssourceselect.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ void QgsWFSSourceSelect::on_btnLoad_clicked()
755755

756756
void QgsWFSSourceSelect::treeWidgetItemDoubleClicked( const QModelIndex &index )
757757
{
758-
QgsDebugMsg( "double click called" );
758+
QgsDebugMsg( "double-click called" );
759759
buildQuery( index );
760760
}
761761

src/ui/qgsoptionsbase.ui

+3-3
Original file line numberDiff line numberDiff line change
@@ -1807,14 +1807,14 @@
18071807
<item>
18081808
<widget class="QCheckBox" name="cbxAddPostgisDC">
18091809
<property name="text">
1810-
<string>Add PostGIS layers with double click and select in extended mode</string>
1810+
<string>Add PostGIS layers with double-click and select in extended mode</string>
18111811
</property>
18121812
</widget>
18131813
</item>
18141814
<item>
18151815
<widget class="QCheckBox" name="cbxAddOracleDC">
18161816
<property name="text">
1817-
<string>Add Oracle layers with double click and select in extended mode</string>
1817+
<string>Add Oracle layers with double-click and select in extended mode</string>
18181818
</property>
18191819
</widget>
18201820
</item>
@@ -2962,7 +2962,7 @@
29622962
<item>
29632963
<widget class="QLabel" name="label_15">
29642964
<property name="text">
2965-
<string>Double click action in legend</string>
2965+
<string>Double-click action in legend</string>
29662966
</property>
29672967
</widget>
29682968
</item>

0 commit comments

Comments
 (0)