QGIS/python/gui/qgsuserinputdockwidget.sip

50 lines
1.8 KiB
Plaintext
Raw Normal View History

2017-06-08 11:26:03 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsuserinputdockwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
2017-06-26 09:57:09 +02:00
2017-06-08 11:26:03 +02:00
class QgsUserInputDockWidget : QgsDockWidget
2015-06-02 08:03:33 +02:00
{
2017-06-08 11:26:03 +02:00
%Docstring
The QgsUserInputDockWidget class is a dock widget that shall be used to display widgets for user inputs.
It can be used by map tools, plugins, etc.
Several widgets can be displayed at once, they will be separated by a separator. Widgets will be either layout horizontally or vertically.
The dock is automatically hidden if it contains no widget.
%End
2015-06-02 08:03:33 +02:00
%TypeHeaderCode
#include "qgsuserinputdockwidget.h"
%End
public:
QgsUserInputDockWidget( QWidget *parent /TransferThis/ = 0 );
2015-06-02 08:03:33 +02:00
void addUserInputWidget( QWidget *widget );
2017-06-08 11:26:03 +02:00
%Docstring
Add a widget to be displayed in the dock.
\param widget widget to add. Ownership is not transferred.
%End
2015-06-02 08:03:33 +02:00
protected:
2017-06-08 11:26:03 +02:00
virtual void paintEvent( QPaintEvent *event );
2015-06-02 08:03:33 +02:00
};
2017-06-08 11:26:03 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsuserinputdockwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/