PopupPlasmaWindow QML Type
Styled Plasma window that can be positioned relative to an existing Item on another window. More...
Import Statement: | import org.kde.plasma.core |
In C++: | PopupPlasmaWindow |
Properties
- animated : bool
- effectivePopupDirection : Qt.Edge
- floating : bool
- margin : int
- popupDirection : Qt.Edge
- removeBorderStrategy : RemoveBorders
- visualParent : Item
Detailed Description
When shown the popup is placed correctly.
On Wayland this is currently an XdgTopLevel with the PlasmaShellSurface used on top. Do not rely on that implementation detail.
Property Documentation
animated : bool |
Defines whether the popup is animated on show and close. The default is false.
effectivePopupDirection : Qt.Edge |
Defines the direction the popup was placed relative to the visualParent. This property is read-only and is updated when the popup is shown. The value whilst the popup is hidden is undefined.
floating : bool |
Defines whether the popup can appaer (float) over the parent window. The default is false.
margin : int |
If set provides a gap between the parent window and all screen edges
popupDirection : Qt.Edge |
Defines the default direction to place the popup relative to the visualParent.
removeBorderStrategy : RemoveBorders |
Defines which borders should be enabled/disabled when the popup is shown. The default is to show all borders
visualParent : Item |
The anchor item to place the popup relative to.