QGIS/python/gui/auto_generated/qgsuserinputwidget.sip.in

57 lines
1.9 KiB
Plaintext
Raw Normal View History

2017-06-08 11:26:03 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsuserinputwidget.h *
2017-06-08 11:26:03 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsUserInputWidget : QgsFloatingWidget
2015-06-02 08:03:33 +02:00
{
2017-06-08 11:26:03 +02:00
%Docstring
The QgsUserInputWidget class is a floating widget that shall be used to display widgets for user inputs.
2017-12-15 10:36:55 -04:00
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 widget is automatically hidden if it contains no widget.
.. versionadded:: 2.10
2017-06-08 11:26:03 +02:00
%End
2015-06-02 08:03:33 +02:00
%TypeHeaderCode
#include "qgsuserinputwidget.h"
2015-06-02 08:03:33 +02:00
%End
public:
QgsUserInputWidget( QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsUserInputWidget
%End
2015-06-02 08:03:33 +02:00
void addUserInputWidget( QWidget *widget );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Add a widget to be displayed in the dock.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param widget: widget to add. Ownership is not transferred.
2017-06-08 11:26:03 +02:00
%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/qgsuserinputwidget.h *
2017-06-08 11:26:03 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/