Skip to content
Permalink
Browse files
sipify batch
* QgsDial
* QgsDialog
* QgsDockWidget
* QgsEncodingFileDialog
* QgsErrorDialog
  • Loading branch information
3nids committed Apr 25, 2017
1 parent 448d2fd commit c1832854a239067e6245a065b87b207d1e9635c9
@@ -327,11 +327,6 @@ gui/qgscurveeditorwidget.sip
gui/qgsdetaileditemdata.sip
gui/qgsdetaileditemdelegate.sip
gui/qgsdetaileditemwidget.sip
gui/qgsdial.sip
gui/qgsdialog.sip
gui/qgsdockwidget.sip
gui/qgsencodingfiledialog.sip
gui/qgserrordialog.sip
gui/qgsexpressionbuilderdialog.sip
gui/qgsexpressionbuilderwidget.sip
gui/qgsexpressionhighlighter.sip
@@ -10,7 +10,6 @@




class QgsProcessingAlgorithm
{
%Docstring
@@ -9,7 +9,6 @@




class QgsProcessingFeedback : QgsFeedback
{
%Docstring
@@ -9,7 +9,6 @@




class QgsProcessingProvider : QObject
{
%Docstring
@@ -9,7 +9,6 @@




class QgsProcessingRegistry : QObject
{
%Docstring
@@ -12,7 +12,6 @@




class QgsProcessingUtils
{
%Docstring
@@ -11,7 +11,6 @@




class QgsAggregateCalculator
{
%Docstring
@@ -10,7 +10,6 @@




class QgsDataSourceUri
{
%Docstring
@@ -9,7 +9,6 @@




class QgsDistanceArea
{
%Docstring
@@ -8,7 +8,6 @@




class QgsEllipsoidUtils
{
%Docstring
@@ -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 *
************************************************************************/
@@ -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 *
************************************************************************/
@@ -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 *
************************************************************************/
Loading

0 comments on commit c183285

Please sign in to comment.