Class: QgsPanelWidgetWrapper

class qgis.gui.QgsPanelWidgetWrapper(widget: QWidget, parent: QWidget = None)

Bases: qgis._gui.QgsPanelWidget

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.

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

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()
widget(self) → QWidget

Returns the internal widget that is wrapped in this panel.

Returns:The internal widget. Can be None.