QgsPanelWidgetWrapper class

Wrapper widget for existing widgets which can't have the inheritance tree changed, e.g dialogs.

Base classes

class QgsPanelWidget
Base class for any widget that can be shown as a inline panel.

Derived classes

class QgsTextFormatPanelWidget
A panel widget for customizing text formatting settings.

Constructors, destructors, conversion operators

QgsPanelWidgetWrapper(QWidget* widget, QWidget* parent = nullptr)
Wrapper widget for existing widgets which can't have the inheritance tree changed, e.g dialogs.

Public functions

auto widget() -> QWidget*
Returns the internal widget that is wrapped in this panel.

Function documentation

QgsPanelWidgetWrapper::QgsPanelWidgetWrapper(QWidget* widget, QWidget* parent = nullptr)

Wrapper widget for existing widgets which can't have the inheritance tree changed, e.g dialogs.

Parameters
widget The widget to wrap.
parent The parent widget.

QWidget* QgsPanelWidgetWrapper::widget()

Returns the internal widget that is wrapped in this panel.

Returns The internal widget. Can be nullptr.