Replace "double click" and "doubleclick" by double-click

This commit is contained in:
Harrissou Sant-anna 2017-07-04 21:36:59 +02:00
parent 29c4fcfc16
commit 15be88918f
24 changed files with 29 additions and 27 deletions

View File

@ -629,7 +629,7 @@ class HistoryDialog(QDialog, Ui_HistoryDialogPythonConsole):
self.setWindowTitle(QCoreApplication.translate("PythonConsole", self.setWindowTitle(QCoreApplication.translate("PythonConsole",
"Python Console - Command History")) "Python Console - Command History"))
self.listView.setToolTip(QCoreApplication.translate("PythonConsole", self.listView.setToolTip(QCoreApplication.translate("PythonConsole",
"Double click on item to execute")) "Double-click on item to execute"))
self.model = QStandardItemModel(self.listView) self.model = QStandardItemModel(self.listView)
self._reloadHistory() self._reloadHistory()

View File

@ -801,7 +801,7 @@ Overridden key release event
virtual void mouseDoubleClickEvent( QMouseEvent *e ); virtual void mouseDoubleClickEvent( QMouseEvent *e );
%Docstring %Docstring
Overridden mouse double click event Overridden mouse double-click event
%End %End
virtual void mouseMoveEvent( QMouseEvent *e ); virtual void mouseMoveEvent( QMouseEvent *e );

View File

@ -73,7 +73,7 @@ Mouse move event for overriding. Default implementation does nothing.
virtual void canvasDoubleClickEvent( QgsMapMouseEvent *e ); virtual void canvasDoubleClickEvent( QgsMapMouseEvent *e );
%Docstring %Docstring
Mouse double click event for overriding. Default implementation does nothing. Mouse double-click event for overriding. Default implementation does nothing.
%End %End
virtual void canvasPressEvent( QgsMapMouseEvent *e ); virtual void canvasPressEvent( QgsMapMouseEvent *e );

View File

@ -236,7 +236,7 @@
<item row="2" column="0" colspan="5"> <item row="2" column="0" colspan="5">
<widget class="QTreeWidget" name="treeRecords"> <widget class="QTreeWidget" name="treeRecords">
<property name="toolTip"> <property name="toolTip">
<string>Double click to see full record information</string> <string>Double-click to see full record information</string>
</property> </property>
<property name="editTriggers"> <property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set> <set>QAbstractItemView::NoEditTriggers</set>

View File

@ -23,7 +23,7 @@
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<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> <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>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>

View File

@ -28,7 +28,7 @@ To add a layer:
<a name="filter"> <a name="filter">
<h4>Filtering a Layer</h4> <h4>Filtering a Layer</h4>
</a> </a>
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. 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.
<a name="search"> <a name="search">
<h4>Options</h4> <h4>Options</h4>

View File

@ -28,7 +28,7 @@ To add a layer:
<a name="filter"> <a name="filter">
<h4>Filtering a Layer</h4> <h4>Filtering a Layer</h4>
</a> </a>
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. 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.
<a name="search"> <a name="search">
<h4>Options</h4> <h4>Options</h4>

View File

@ -12,7 +12,7 @@ This dialog allows you to work with vector layer settings and properties. There
<a name="symbology"> <a name="symbology">
<h4>Symbology</h4> <h4>Symbology</h4>
</a> </a>
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> 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>
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. 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.
<h5>Legend type</h5> <h5>Legend type</h5>

View File

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

View File

@ -2390,6 +2390,8 @@ dosent':doesn't
dosen't:doesn't dosen't:doesn't
doub:doubt doub:doubt
doulbe:double doulbe:double
double click:double-click
doubleclick:double-click
dowloads:downloads dowloads:downloads
downlad:download downlad:download
downlads:downloads downlads:downloads

View File

@ -112,7 +112,7 @@ class QgsPluginManager : public QgsOptionsDialogBase, private Ui::QgsPluginManag
//! Display details of inactive item too //! Display details of inactive item too
void on_vwPlugins_clicked( const QModelIndex &index ); void on_vwPlugins_clicked( const QModelIndex &index );
//! Load/unload plugin by double click //! Load/unload plugin by double-click
void on_vwPlugins_doubleClicked( const QModelIndex &index ); void on_vwPlugins_doubleClicked( const QModelIndex &index );
//! Handle click in the web view //! Handle click in the web view

View File

@ -17,7 +17,7 @@ Some plugins come with your QGIS installation while most of them are made availa
\ \
<p>\ <p>\
You can temporarily enable or disable a plugin.\ You can temporarily enable or disable a plugin.\
To <i>enable</i> or <i>disable</i> a plugin, click its checkbox or doubleclick its name...\ To <i>enable</i> or <i>disable</i> a plugin, click its checkbox or double-click its name...\
</p>\ </p>\
\ \
<p>\ <p>\
@ -37,7 +37,7 @@ Here you only see plugins <b>installed on your QGIS</b>.\
Click on the name to see details. \ Click on the name to see details. \
</p>\ </p>\
<p>\ <p>\
Click the checkbox or doubleclick the name to <i>activate</i> or <i>deactivate</i> the plugin.\ Click the checkbox or double-click the name to <i>activate</i> or <i>deactivate</i> the plugin.\
</p>\ </p>\
<p>\ <p>\
You can change the sorting via the context menu (right click).\ You can change the sorting via the context menu (right click).\

View File

@ -3390,7 +3390,7 @@ void QgisApp::addUserInputWidget( QWidget *widget )
void QgisApp::initLayerTreeView() void QgisApp::initLayerTreeView()
{ {
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." ) ); 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 = new QgsDockWidget( tr( "Layers Panel" ), this );
mLayerTreeDock->setObjectName( QStringLiteral( "Layers" ) ); mLayerTreeDock->setObjectName( QStringLiteral( "Layers" ) );

View File

@ -831,7 +831,7 @@ void QgsComposerView::mouseReleaseEvent( QMouseEvent *e )
{ {
if ( mPolygonItem && mPolylineItem ) if ( mPolygonItem && mPolylineItem )
{ {
// ignore the last point due to release event before doubleClick event // ignore the last point due to release event before doubleClick event # spellok
QPolygonF poly = mPolygonItem->polygon(); QPolygonF poly = mPolygonItem->polygon();
// last (temporary) point is removed // last (temporary) point is removed

View File

@ -275,7 +275,7 @@ void QgsExpressionBuilderWidget::on_expressionTree_doubleClicked( const QModelIn
if ( !item ) if ( !item )
return; return;
// Don't handle the double click it we are on a header node. // Don't handle the double-click if we are on a header node.
if ( item->getItemType() == QgsExpressionItem::Header ) if ( item->getItemType() == QgsExpressionItem::Header )
return; return;

View File

@ -689,7 +689,7 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
//! Overridden key release event //! Overridden key release event
void keyReleaseEvent( QKeyEvent *e ) override; void keyReleaseEvent( QKeyEvent *e ) override;
//! Overridden mouse double click event //! Overridden mouse double-click event
void mouseDoubleClickEvent( QMouseEvent *e ) override; void mouseDoubleClickEvent( QMouseEvent *e ) override;
//! Overridden mouse move event //! Overridden mouse move event

View File

@ -103,7 +103,7 @@ class GUI_EXPORT QgsMapTool : public QObject
//! Mouse move event for overriding. Default implementation does nothing. //! Mouse move event for overriding. Default implementation does nothing.
virtual void canvasMoveEvent( QgsMapMouseEvent *e ); virtual void canvasMoveEvent( QgsMapMouseEvent *e );
//! Mouse double click event for overriding. Default implementation does nothing. //! Mouse double-click event for overriding. Default implementation does nothing.
virtual void canvasDoubleClickEvent( QgsMapMouseEvent *e ); virtual void canvasDoubleClickEvent( QgsMapMouseEvent *e );
//! Mouse press event for overriding. Default implementation does nothing. //! Mouse press event for overriding. Default implementation does nothing.

View File

@ -127,7 +127,7 @@ class GUI_EXPORT QgsMapToolAdvancedDigitizing : public QgsMapToolEdit
bool mSnapOnPress; //!< Snap on press bool mSnapOnPress; //!< Snap on press
bool mSnapOnRelease; //!< Snap on release bool mSnapOnRelease; //!< Snap on release
bool mSnapOnMove; //!< Snap on move bool mSnapOnMove; //!< Snap on move
bool mSnapOnDoubleClick; //!< Snap on double click bool mSnapOnDoubleClick; //!< Snap on double-click
private slots: private slots:

View File

@ -33,7 +33,7 @@ QgsProjectionSelectionDialog::QgsProjectionSelectionDialog( QWidget *parent,
//we will show this only when a message is set //we will show this only when a message is set
textEdit->hide(); textEdit->hide();
//apply selected projection upon double click on item //apply selected projection upon double-click on item
connect( projectionSelector, &QgsProjectionSelectionTreeWidget::projectionDoubleClicked, this, &QgsProjectionSelectionDialog::accept ); connect( projectionSelector, &QgsProjectionSelectionTreeWidget::projectionDoubleClicked, this, &QgsProjectionSelectionDialog::accept );
} }

View File

@ -256,7 +256,7 @@ class GUI_EXPORT QgsProjectionSelectionTreeWidget : public QWidget, private Ui::
//! get list of authorities //! get list of authorities
QStringList authorities(); QStringList authorities();
//! Apply projection on double click //! Apply projection on double-click
void on_lstCoordinateSystems_itemDoubleClicked( QTreeWidgetItem *current, int column ); void on_lstCoordinateSystems_itemDoubleClicked( QTreeWidgetItem *current, int column );
void on_lstRecent_itemDoubleClicked( QTreeWidgetItem *current, int column ); void on_lstRecent_itemDoubleClicked( QTreeWidgetItem *current, int column );
void on_lstCoordinateSystems_currentItemChanged( QTreeWidgetItem *current, QTreeWidgetItem *prev ); void on_lstCoordinateSystems_currentItemChanged( QTreeWidgetItem *current, QTreeWidgetItem *prev );

View File

@ -419,7 +419,7 @@ void QgsSourceSelectDialog::on_cmbConnections_activated( int index )
void QgsSourceSelectDialog::treeWidgetItemDoubleClicked( const QModelIndex &index ) void QgsSourceSelectDialog::treeWidgetItemDoubleClicked( const QModelIndex &index )
{ {
QgsDebugMsg( "double click called" ); QgsDebugMsg( "double-click called" );
QgsOwsConnection connection( mServiceName, cmbConnections->currentText() ); QgsOwsConnection connection( mServiceName, cmbConnections->currentText() );
buildQuery( connection, index ); buildQuery( connection, index );
} }

View File

@ -2263,10 +2263,10 @@ void TerminalDisplay::mouseDoubleClickEvent(QMouseEvent* ev)
QPoint pos(charColumn,charLine); QPoint pos(charColumn,charLine);
// pass on double click as two clicks. // pass on double-click as two clicks.
if (!_mouseMarks && !(ev->modifiers() & Qt::ShiftModifier)) if (!_mouseMarks && !(ev->modifiers() & Qt::ShiftModifier))
{ {
// Send just _ONE_ click event, since the first click of the double click // Send just _ONE_ click event, since the first click of the double-click
// was already sent by the click handler // was already sent by the click handler
emit mouseSignal( 0, emit mouseSignal( 0,
pos.x()+1, pos.x()+1,

View File

@ -755,7 +755,7 @@ void QgsWFSSourceSelect::on_btnLoad_clicked()
void QgsWFSSourceSelect::treeWidgetItemDoubleClicked( const QModelIndex &index ) void QgsWFSSourceSelect::treeWidgetItemDoubleClicked( const QModelIndex &index )
{ {
QgsDebugMsg( "double click called" ); QgsDebugMsg( "double-click called" );
buildQuery( index ); buildQuery( index );
} }

View File

@ -1807,14 +1807,14 @@
<item> <item>
<widget class="QCheckBox" name="cbxAddPostgisDC"> <widget class="QCheckBox" name="cbxAddPostgisDC">
<property name="text"> <property name="text">
<string>Add PostGIS layers with double click and select in extended mode</string> <string>Add PostGIS layers with double-click and select in extended mode</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="cbxAddOracleDC"> <widget class="QCheckBox" name="cbxAddOracleDC">
<property name="text"> <property name="text">
<string>Add Oracle layers with double click and select in extended mode</string> <string>Add Oracle layers with double-click and select in extended mode</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -2962,7 +2962,7 @@
<item> <item>
<widget class="QLabel" name="label_15"> <widget class="QLabel" name="label_15">
<property name="text"> <property name="text">
<string>Double click action in legend</string> <string>Double-click action in legend</string>
</property> </property>
</widget> </widget>
</item> </item>