Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
sipify batch
* QgsDial * QgsDialog * QgsDockWidget * QgsEncodingFileDialog * QgsErrorDialog
- Loading branch information
Showing
21 changed files
with
257 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
|
||
|
||
|
||
|
||
class QgsProcessingAlgorithm | ||
{ | ||
%Docstring | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
|
||
|
||
|
||
|
||
class QgsProcessingFeedback : QgsFeedback | ||
{ | ||
%Docstring | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
|
||
|
||
|
||
|
||
class QgsProcessingProvider : QObject | ||
{ | ||
%Docstring | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
|
||
|
||
|
||
|
||
class QgsProcessingRegistry : QObject | ||
{ | ||
%Docstring | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
|
||
|
||
|
||
|
||
class QgsProcessingUtils | ||
{ | ||
%Docstring | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
|
||
|
||
|
||
|
||
class QgsAggregateCalculator | ||
{ | ||
%Docstring | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
|
||
|
||
|
||
|
||
class QgsDataSourceUri | ||
{ | ||
%Docstring | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
|
||
|
||
|
||
|
||
class QgsDistanceArea | ||
{ | ||
%Docstring | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ | |
|
||
|
||
|
||
|
||
class QgsEllipsoidUtils | ||
{ | ||
%Docstring | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,48 @@ | ||
class QgsDial: QDial | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/qgsdial.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
class QgsDial : QDial | ||
{ | ||
|
||
%TypeHeaderCode | ||
#include <qgsdial.h> | ||
#include "qgsdial.h" | ||
%End | ||
public: | ||
|
||
QgsDial( QWidget *parent /TransferThis/ = 0 ); | ||
QgsDial( QWidget *parent /TransferThis/ = 0 ); | ||
%Docstring | ||
QgsDial constructor for QgsDial | ||
@param parent parent object | ||
%End | ||
|
||
void setMinimum( const QVariant &min ); | ||
void setMaximum( const QVariant &max ); | ||
void setSingleStep( const QVariant &step ); | ||
void setValue( const QVariant &value ); | ||
QVariant variantValue() const; | ||
%Docstring | ||
:rtype: QVariant | ||
%End | ||
|
||
signals: | ||
void valueChanged( const QVariant& ); | ||
|
||
void valueChanged( const QVariant & ); | ||
|
||
protected: | ||
virtual void paintEvent( QPaintEvent * event ); | ||
virtual void paintEvent( QPaintEvent *event ); | ||
|
||
}; | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/qgsdial.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,51 @@ | ||
/** \ingroup gui | ||
* A generic dialog with layout and button box | ||
*/ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/qgsdialog.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
class QgsDialog : QDialog | ||
{ | ||
%TypeHeaderCode | ||
#include <qgsdialog.h> | ||
%Docstring | ||
A generic dialog with layout and button box | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsdialog.h" | ||
%End | ||
public: | ||
QgsDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags& fl = QgisGui::ModalDialogFlags, | ||
|
||
QgsDialog( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags, | ||
QDialogButtonBox::StandardButtons buttons = QDialogButtonBox::Close, | ||
Qt::Orientation orientation = Qt::Horizontal ); | ||
~QgsDialog(); | ||
%Docstring | ||
Constructor for QgsDialog. | ||
%End | ||
|
||
//! Returns the central layout. Widgets added to it must have this dialog as parent. | ||
QVBoxLayout *layout(); | ||
//! Returns the button box. | ||
%Docstring | ||
Returns the central layout. Widgets added to it must have this dialog as parent. | ||
:rtype: QVBoxLayout | ||
%End | ||
QDialogButtonBox *buttonBox(); | ||
%Docstring | ||
Returns the button box. | ||
:rtype: QDialogButtonBox | ||
%End | ||
|
||
protected: | ||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/qgsdialog.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +1,108 @@ | ||
/** \ingroup gui | ||
* \class QgsDockWidget | ||
* QDockWidget subclass with more fine-grained control over how the widget is closed or opened. | ||
* \note added in 2.16 | ||
*/ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/qgsdockwidget.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
class QgsDockWidget : QDockWidget | ||
{ | ||
%TypeHeaderCode | ||
#include <qgsdockwidget.h> | ||
%Docstring | ||
QgsDockWidget subclass with more fine-grained control over how the widget is closed or opened. | ||
.. versionadded:: 2.16 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsdockwidget.h" | ||
%End | ||
public: | ||
|
||
/** Constructor for QgsDockWidget. | ||
* @param parent parent widget | ||
* @param flags window flags | ||
*/ | ||
explicit QgsDockWidget( QWidget* parent /TransferThis/ = nullptr, Qt::WindowFlags flags = 0 ); | ||
explicit QgsDockWidget( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = 0 ); | ||
%Docstring | ||
Constructor for QgsDockWidget. | ||
\param parent parent widget | ||
\param flags window flags | ||
%End | ||
|
||
/** Constructor for QgsDockWidget. | ||
* @param title dock title | ||
* @param parent parent widget | ||
* @param flags window flags | ||
*/ | ||
explicit QgsDockWidget( const QString &title, QWidget* parent /TransferThis/ = nullptr, Qt::WindowFlags flags = 0 ); | ||
explicit QgsDockWidget( const QString &title, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = 0 ); | ||
%Docstring | ||
Constructor for QgsDockWidget. | ||
\param title dock title | ||
\param parent parent widget | ||
\param flags window flags | ||
%End | ||
|
||
public slots: | ||
|
||
/** Sets the dock widget as visible to a user, ie both shown and raised to the front. | ||
* @param visible set to true to show the dock to the user, or false to hide the dock. | ||
* When setting a dock as user visible, the dock will be opened (if it is not already | ||
* opened) and raised to the front. | ||
* When setting as hidden, the following logic is used: | ||
* - hiding a dock which is open but not raised (ie hidden by another tab) will have no | ||
* effect, and the dock will still be opened and hidden by the other tab | ||
* - hiding a dock which is open and raised (ie, user visible) will cause the dock to | ||
* be closed | ||
* - hiding a dock which is closed has no effect and raises no signals | ||
* @see isUserVisible() | ||
*/ | ||
void setUserVisible( bool visible ); | ||
%Docstring | ||
Sets the dock widget as visible to a user, ie both shown and raised to the front. | ||
\param visible set to true to show the dock to the user, or false to hide the dock. | ||
When setting a dock as user visible, the dock will be opened (if it is not already | ||
opened) and raised to the front. | ||
When setting as hidden, the following logic is used: | ||
- hiding a dock which is open but not raised (ie hidden by another tab) will have no | ||
effect, and the dock will still be opened and hidden by the other tab | ||
- hiding a dock which is open and raised (ie, user visible) will cause the dock to | ||
be closed | ||
- hiding a dock which is closed has no effect and raises no signals | ||
\see isUserVisible() | ||
%End | ||
|
||
/** Returns true if the dock is both opened and raised to the front (ie not hidden by | ||
* any other tabs. | ||
* @see setUserVisible() | ||
*/ | ||
bool isUserVisible() const; | ||
%Docstring | ||
Returns true if the dock is both opened and raised to the front (ie not hidden by | ||
any other tabs. | ||
\see setUserVisible() | ||
:rtype: bool | ||
%End | ||
|
||
protected: | ||
|
||
virtual void closeEvent( QCloseEvent * ); | ||
virtual void showEvent( QShowEvent* event ); | ||
virtual void showEvent( QShowEvent *event ); | ||
|
||
signals: | ||
|
||
/** Emitted when dock widget is closed. | ||
* @see closedStateChanged() | ||
* @see opened() | ||
*/ | ||
void closed(); | ||
%Docstring | ||
Emitted when dock widget is closed. | ||
\see closedStateChanged() | ||
\see opened() | ||
%End | ||
|
||
/** Emitted when dock widget is closed (or opened). | ||
* @param wasClosed will be true if dock widget was closed, or false if dock widget was opened | ||
* @see closed() | ||
* @see openedStateChanged() | ||
*/ | ||
void closedStateChanged( bool wasClosed ); | ||
%Docstring | ||
Emitted when dock widget is closed (or opened). | ||
\param wasClosed will be true if dock widget was closed, or false if dock widget was opened | ||
\see closed() | ||
\see openedStateChanged() | ||
%End | ||
|
||
/** Emitted when dock widget is opened. | ||
* @see openedStateChanged() | ||
* @see closed() | ||
*/ | ||
void opened(); | ||
%Docstring | ||
Emitted when dock widget is opened. | ||
\see openedStateChanged() | ||
\see closed() | ||
%End | ||
|
||
/** Emitted when dock widget is opened (or closed). | ||
* @param wasOpened will be true if dock widget was opened, or false if dock widget was closed | ||
* @see closedStateChanged() | ||
* @see opened() | ||
*/ | ||
void openedStateChanged( bool wasOpened ); | ||
%Docstring | ||
Emitted when dock widget is opened (or closed). | ||
\param wasOpened will be true if dock widget was opened, or false if dock widget was closed | ||
\see closedStateChanged() | ||
\see opened() | ||
%End | ||
|
||
}; | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/qgsdockwidget.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
Oops, something went wrong.