QgsUserInputWidget class
The QgsUserInputWidget class is a floating widget that shall be used to display widgets for user inputs.
Contents
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.
Base classes
- class QgsFloatingWidget
- A QWidget subclass for creating widgets which float outside of the normal Qt layout system.
Constructors, destructors, conversion operators
- QgsUserInputWidget(QWidget* parent = nullptr)
- Constructor for QgsUserInputWidget.
Public functions
- void addUserInputWidget(QWidget* widget)
- Add a widget to be displayed in the dock.
Function documentation
void QgsUserInputWidget:: addUserInputWidget(QWidget* widget)
Add a widget to be displayed in the dock.
| Parameters | |
|---|---|
| widget | widget to add. Ownership is not transferred. |