Skip to content
Permalink
Browse files

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

  • Loading branch information
DelazJ committed Jul 6, 2017
1 parent 29c4fcf commit 15be88918f2861f82a405d8ea558102d94385b86
@@ -629,7 +629,7 @@ def __init__(self, parent):
self.setWindowTitle(QCoreApplication.translate("PythonConsole",
"Python Console - Command History"))
self.listView.setToolTip(QCoreApplication.translate("PythonConsole",
"Double click on item to execute"))
"Double-click on item to execute"))
self.model = QStandardItemModel(self.listView)

self._reloadHistory()
@@ -801,7 +801,7 @@ Overridden key release event
virtual void mouseDoubleClickEvent( QMouseEvent *e );

%Docstring
Overridden mouse double click event
Overridden mouse double-click event
%End

virtual void mouseMoveEvent( QMouseEvent *e );
@@ -73,7 +73,7 @@ Mouse move event for overriding. Default implementation does nothing.

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

virtual void canvasPressEvent( QgsMapMouseEvent *e );
@@ -236,7 +236,7 @@
<item row="2" column="0" colspan="5">
<widget class="QTreeWidget" name="treeRecords">
<property name="toolTip">
<string>Double click to see full record information</string>
<string>Double-click to see full record information</string>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
@@ -23,7 +23,7 @@
<item>
<widget class="QLabel" name="label">
<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 name="wordWrap">
<bool>true</bool>
@@ -28,7 +28,7 @@ To add a layer:
<a name="filter">
<h4>Filtering a Layer</h4>
</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">
<h4>Options</h4>
@@ -28,7 +28,7 @@ To add a layer:
<a name="filter">
<h4>Filtering a Layer</h4>
</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">
<h4>Options</h4>
@@ -12,7 +12,7 @@ This dialog allows you to work with vector layer settings and properties. There
<a name="symbology">
<h4>Symbology</h4>
</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.

<h5>Legend type</h5>
@@ -1,6 +1,6 @@
{
"name": "Field",
"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."
}
@@ -2390,6 +2390,8 @@ dosent':doesn't
dosen't:doesn't
doub:doubt
doulbe:double
double click:double-click
doubleclick:double-click
dowloads:downloads
downlad:download
downlads:downloads
@@ -112,7 +112,7 @@ class QgsPluginManager : public QgsOptionsDialogBase, private Ui::QgsPluginManag
//! Display details of inactive item too
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 );

//! Handle click in the web view
@@ -17,7 +17,7 @@ Some plugins come with your QGIS installation while most of them are made availa
\
<p>\
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>\
@@ -37,7 +37,7 @@ Here you only see plugins <b>installed on your QGIS</b>.\
Click on the name to see details. \
</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>\
You can change the sorting via the context menu (right click).\
@@ -3390,7 +3390,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 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->setObjectName( QStringLiteral( "Layers" ) );
@@ -831,7 +831,7 @@ void QgsComposerView::mouseReleaseEvent( QMouseEvent *e )
{
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();

// last (temporary) point is removed
@@ -275,7 +275,7 @@ void QgsExpressionBuilderWidget::on_expressionTree_doubleClicked( const QModelIn
if ( !item )
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 )
return;

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

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

//! Overridden mouse move event
@@ -103,7 +103,7 @@ class GUI_EXPORT QgsMapTool : public QObject
//! Mouse move event for overriding. Default implementation does nothing.
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 );

//! Mouse press event for overriding. Default implementation does nothing.
@@ -127,7 +127,7 @@ class GUI_EXPORT QgsMapToolAdvancedDigitizing : public QgsMapToolEdit
bool mSnapOnPress; //!< Snap on press
bool mSnapOnRelease; //!< Snap on release
bool mSnapOnMove; //!< Snap on move
bool mSnapOnDoubleClick; //!< Snap on double click
bool mSnapOnDoubleClick; //!< Snap on double-click

private slots:

@@ -33,7 +33,7 @@ QgsProjectionSelectionDialog::QgsProjectionSelectionDialog( QWidget *parent,
//we will show this only when a message is set
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 );
}

@@ -256,7 +256,7 @@ class GUI_EXPORT QgsProjectionSelectionTreeWidget : public QWidget, private Ui::
//! get list of authorities
QStringList authorities();

//! Apply projection on double click
//! Apply projection on double-click
void on_lstCoordinateSystems_itemDoubleClicked( QTreeWidgetItem *current, int column );
void on_lstRecent_itemDoubleClicked( QTreeWidgetItem *current, int column );
void on_lstCoordinateSystems_currentItemChanged( QTreeWidgetItem *current, QTreeWidgetItem *prev );
@@ -419,7 +419,7 @@ void QgsSourceSelectDialog::on_cmbConnections_activated( int index )

void QgsSourceSelectDialog::treeWidgetItemDoubleClicked( const QModelIndex &index )
{
QgsDebugMsg( "double click called" );
QgsDebugMsg( "double-click called" );
QgsOwsConnection connection( mServiceName, cmbConnections->currentText() );
buildQuery( connection, index );
}
@@ -2263,10 +2263,10 @@ void TerminalDisplay::mouseDoubleClickEvent(QMouseEvent* ev)

QPoint pos(charColumn,charLine);

// pass on double click as two clicks.
// pass on double-click as two clicks.
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
emit mouseSignal( 0,
pos.x()+1,
@@ -755,7 +755,7 @@ void QgsWFSSourceSelect::on_btnLoad_clicked()

void QgsWFSSourceSelect::treeWidgetItemDoubleClicked( const QModelIndex &index )
{
QgsDebugMsg( "double click called" );
QgsDebugMsg( "double-click called" );
buildQuery( index );
}

@@ -1807,14 +1807,14 @@
<item>
<widget class="QCheckBox" name="cbxAddPostgisDC">
<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>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cbxAddOracleDC">
<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>
</widget>
</item>
@@ -2962,7 +2962,7 @@
<item>
<widget class="QLabel" name="label_15">
<property name="text">
<string>Double click action in legend</string>
<string>Double-click action in legend</string>
</property>
</widget>
</item>

0 comments on commit 15be889

Please sign in to comment.
You can’t perform that action at this time.