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 *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
|
2017-05-01 16:42:33 +02:00
|
|
|
QgsUserInputDockWidget( QWidget *parent /TransferThis/ = 0 );
|
2015-06-02 08:03:33 +02:00
|
|
|
|
2017-05-01 16:42: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 *
|
|
|
|
************************************************************************/
|