Skip to content

Commit

Permalink
Flip autoconnected slots to explicit connections, pt 1
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 8, 2017
1 parent 5d0f8cd commit fea2726
Show file tree
Hide file tree
Showing 195 changed files with 1,960 additions and 1,364 deletions.
4 changes: 2 additions & 2 deletions python/gui/qgserrordialog.sip
Expand Up @@ -32,8 +32,8 @@ class QgsErrorDialog: QDialog
%End

public slots:
void on_mDetailPushButton_clicked();
void on_mDetailCheckBox_stateChanged( int state );
void mDetailPushButton_clicked();
void mDetailCheckBox_stateChanged( int state );

};

Expand Down
8 changes: 4 additions & 4 deletions python/gui/qgsnewvectorlayerdialog.sip
Expand Up @@ -61,10 +61,10 @@ Returns the file format for storage
%End

protected slots:
void on_mAddAttributeButton_clicked();
void on_mRemoveAttributeButton_clicked();
void on_mFileFormatComboBox_currentIndexChanged( int index );
void on_mTypeBox_currentIndexChanged( int index );
void mAddAttributeButton_clicked();
void mRemoveAttributeButton_clicked();
void mFileFormatComboBox_currentIndexChanged( int index );
void mTypeBox_currentIndexChanged( int index );

void showHelp();
%Docstring
Expand Down
20 changes: 10 additions & 10 deletions python/gui/qgsowssourceselect.sip
Expand Up @@ -48,41 +48,41 @@ Constructor
Triggered when the provider's connections need to be refreshed
%End

void on_mNewButton_clicked();
void mNewButton_clicked();
%Docstring
Opens the create connection dialog to build a new connection
%End
void on_mEditButton_clicked();
void mEditButton_clicked();
%Docstring
Opens a dialog to edit an existing connection
%End
void on_mDeleteButton_clicked();
void mDeleteButton_clicked();
%Docstring
Deletes the selected connection
%End
void on_mSaveButton_clicked();
void mSaveButton_clicked();
%Docstring
Saves connections to the file
%End
void on_mLoadButton_clicked();
void mLoadButton_clicked();
%Docstring
Loads connections from the file
%End

void on_mConnectButton_clicked();
void mConnectButton_clicked();
%Docstring
Connects to the database using the stored connection parameters.
Once connected, available layers are displayed.
%End

void searchFinished();

void on_mChangeCRSButton_clicked();
void mChangeCRSButton_clicked();
%Docstring
Opens the Spatial Reference System dialog.
%End

virtual void on_mLayersTreeWidget_itemSelectionChanged();
virtual void mLayersTreeWidget_itemSelectionChanged();
%Docstring
Signaled when a layer selection is changed.
%End
Expand All @@ -97,12 +97,12 @@ Set status message to theMessage
show whatever error is exposed.
%End

void on_mConnectionsComboBox_activated( int );
void mConnectionsComboBox_activated( int );
%Docstring
Stores the selected datasource whenerver it is changed
%End

void on_mAddDefaultButton_clicked();
void mAddDefaultButton_clicked();
%Docstring
Add some default wms servers to the list
%End
Expand Down
38 changes: 19 additions & 19 deletions python/gui/qgsquerybuilder.sip
Expand Up @@ -45,28 +45,28 @@ class QgsQueryBuilder : QDialog
virtual void reject();

void clear();
void on_btnEqual_clicked();
void on_btnLessThan_clicked();
void on_btnGreaterThan_clicked();
void on_btnPct_clicked();
void on_btnIn_clicked();
void on_btnNotIn_clicked();
void on_btnLike_clicked();
void on_btnILike_clicked();
void btnEqual_clicked();
void btnLessThan_clicked();
void btnGreaterThan_clicked();
void btnPct_clicked();
void btnIn_clicked();
void btnNotIn_clicked();
void btnLike_clicked();
void btnILike_clicked();
QString sql();
%Docstring
:rtype: str
%End
void setSql( const QString &sqlStatement );
void on_lstFields_clicked( const QModelIndex &index );
void on_lstFields_doubleClicked( const QModelIndex &index );
void on_lstValues_doubleClicked( const QModelIndex &index );
void on_btnLessEqual_clicked();
void on_btnGreaterEqual_clicked();
void on_btnNotEqual_clicked();
void on_btnAnd_clicked();
void on_btnNot_clicked();
void on_btnOr_clicked();
void lstFields_clicked( const QModelIndex &index );
void lstFields_doubleClicked( const QModelIndex &index );
void lstValues_doubleClicked( const QModelIndex &index );
void btnLessEqual_clicked();
void btnGreaterEqual_clicked();
void btnNotEqual_clicked();
void btnAnd_clicked();
void btnNot_clicked();
void btnOr_clicked();

void test();
%Docstring
Expand All @@ -76,13 +76,13 @@ class QgsQueryBuilder : QDialog
statement.
%End

void on_btnGetAllValues_clicked();
void btnGetAllValues_clicked();
%Docstring
Get all distinct values for the field. Values are inserted
into the value list box
%End

void on_btnSampleValues_clicked();
void btnSampleValues_clicked();
%Docstring
Get sample distinct values for the selected field. The sample size is
limited to an arbitrary value (currently set to 25). The values
Expand Down
12 changes: 6 additions & 6 deletions python/gui/qgsrasterformatsaveoptionswidget.sip
Expand Up @@ -104,17 +104,17 @@ class QgsRasterFormatSaveOptionsWidget: QWidget
%End

private slots:
void on_mProfileNewButton_clicked() ;
void mProfileNewButton_clicked() ;
private slots:
void on_mProfileDeleteButton_clicked() ;
void mProfileDeleteButton_clicked() ;
private slots:
void on_mProfileResetButton_clicked() ;
void mProfileResetButton_clicked() ;
private slots:
void on_mOptionsAddButton_clicked() ;
void mOptionsAddButton_clicked() ;
private slots:
void on_mOptionsDeleteButton_clicked() ;
void mOptionsDeleteButton_clicked() ;
private slots:
void on_mOptionsLineEdit_editingFinished() ;
void mOptionsLineEdit_editingFinished() ;
private slots:
void optionsTableChanged() ;
private slots:
Expand Down
4 changes: 2 additions & 2 deletions python/gui/qgsrasterpyramidsoptionswidget.sip
Expand Up @@ -52,9 +52,9 @@ class QgsRasterPyramidsOptionsWidget: QWidget
void checkAllLevels( bool checked );

private slots:
void on_cbxPyramidsLevelsCustom_toggled( bool toggled ) ;
void cbxPyramidsLevelsCustom_toggled( bool toggled ) ;
private slots:
void on_cbxPyramidsFormat_currentIndexChanged( int index ) ;
void cbxPyramidsFormat_currentIndexChanged( int index ) ;
private slots:
void setOverviewList() ;
private slots:
Expand Down
40 changes: 20 additions & 20 deletions python/gui/qgssearchquerybuilder.sip
Expand Up @@ -39,39 +39,39 @@ change search string shown in text field
%End

public slots:
void on_btnEqual_clicked();
void btnEqual_clicked();
void on_btnOk_clicked();
void on_btnLessThan_clicked();
void on_btnGreaterThan_clicked();
void on_btnLike_clicked();
void on_btnILike_clicked();
void on_btnPct_clicked();
void on_btnIn_clicked();
void on_btnNotIn_clicked();
void btnLessThan_clicked();
void btnGreaterThan_clicked();
void btnLike_clicked();
void btnILike_clicked();
void btnPct_clicked();
void btnIn_clicked();
void btnNotIn_clicked();

void on_lstFields_doubleClicked( const QModelIndex &index );
void on_lstValues_doubleClicked( const QModelIndex &index );
void on_btnLessEqual_clicked();
void on_btnGreaterEqual_clicked();
void on_btnNotEqual_clicked();
void on_btnAnd_clicked();
void on_btnNot_clicked();
void on_btnOr_clicked();
void on_btnClear_clicked();
void lstFields_doubleClicked( const QModelIndex &index );
void lstValues_doubleClicked( const QModelIndex &index );
void btnLessEqual_clicked();
void btnGreaterEqual_clicked();
void btnNotEqual_clicked();
void btnAnd_clicked();
void btnNot_clicked();
void btnOr_clicked();
void btnClear_clicked();

void on_btnTest_clicked();
void btnTest_clicked();
%Docstring
Test the constructed search string to see if it's correct.
The number of rows that would be returned is displayed in a message box.
%End

void on_btnGetAllValues_clicked();
void btnGetAllValues_clicked();
%Docstring
Get all distinct values for the field. Values are inserted
into the value list box
%End

void on_btnSampleValues_clicked();
void btnSampleValues_clicked();
%Docstring
Get sample distinct values for the selected field. The sample size is
limited to an arbitrary value (currently set to 25). The values
Expand Down
2 changes: 1 addition & 1 deletion python/gui/raster/qgsrasterhistogramwidget.sip
Expand Up @@ -61,7 +61,7 @@ Apply a histoActionTriggered() event.
%Docstring
slot executed when user wishes to refresh raster histogramwidget
%End
void on_mSaveAsImageButton_clicked();
void mSaveAsImageButton_clicked();
%Docstring
This slot lets you save the histogram as an image to disk
%End
Expand Down
4 changes: 2 additions & 2 deletions python/gui/symbology/qgsgraduatedsymbolrendererwidget.sip
Expand Up @@ -60,8 +60,8 @@ Toggle the link between classes boundaries

void rowsMoved();
void modelDataChanged();
void on_mSizeUnitWidget_changed();
void on_methodComboBox_currentIndexChanged( int );
void mSizeUnitWidget_changed();
void methodComboBox_currentIndexChanged( int );
void refreshRanges( bool reset = false );

protected:
Expand Down
2 changes: 1 addition & 1 deletion python/gui/symbology/qgssmartgroupeditordialog.sip
Expand Up @@ -103,7 +103,7 @@ function to create a new ConditionBox and update UI
slot to remove the condition with id int
%End

void on_buttonBox_accepted();
void buttonBox_accepted();

protected:
};
Expand Down
2 changes: 1 addition & 1 deletion python/gui/symbology/qgsstylemanagerdialog.sip
Expand Up @@ -36,7 +36,7 @@ open add color ramp dialog, return color ramp's name if the ramp has been added
void exportItems();
void importItems();

void on_tabItemType_currentChanged( int );
void tabItemType_currentChanged( int );
void populateList();
%Docstring
adds symbols of some type to list
Expand Down

0 comments on commit fea2726

Please sign in to comment.