Class: QgsEffectStackCompactWidget¶
-
class
qgis.gui.
QgsEffectStackCompactWidget
(parent: QWidget = None, effect: QgsPaintEffect = None)¶ Bases:
qgis._gui.QgsPanelWidget
QgsEffectStackCompactWidget constructor
- Parameters
parent – parent widget
effect – QgsPaintEffect for modification by the widget. If the effect is not a
QgsEffectStack
, it will be automatically converted to an effect stack consisting of the original effect
A small widget consisting of a checkbox for enabling/disabling an effect stack and a button for opening an effect stack customization dialog.
See also
See also
See also
New in version 2.9: Enums
Methods
Returns paint effect attached to the widget
Sets paint effect attached to the widget,
Sets the picture to use for effect previews for the dialog
Signals
Emitted when the paint effect properties change [signal]
Attributes
-
actionEvent
()¶
-
changeEvent
()¶
-
changed
¶ Emitted when the paint effect properties change [signal]
-
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
()¶
-
paintEffect
(self) → QgsPaintEffect¶ Returns paint effect attached to the widget
- Returns
QgsPaintEffect modified by the widget
See also
-
paintEvent
()¶
-
receivers
()¶
-
resizeEvent
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setPaintEffect
(self, effect: QgsPaintEffect)¶ Sets paint effect attached to the widget,
- Parameters
effect – QgsPaintEffect for modification by the widget. If the effect is not a
QgsEffectStack
, it will be automatically converted to an effect stack consisting of the original effect
See also
-
setPreviewPicture
(self, picture: QPicture)¶ Sets the picture to use for effect previews for the dialog
- Parameters
picture – preview picture
-
showEvent
()¶
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶