PlasmaQuick::AppletPopup
#include <appletpopup.h>
Properties | |
QQuickItem * | appletInterface |
bool | hideOnWindowDeactivate |
Properties inherited from PlasmaQuick::PopupPlasmaWindow | |
bool | animated |
Qt::Edge | effectivePopupDirection |
bool | floating |
int | margin |
Qt::Edge | popupDirection |
RemoveBorders | removeBorderStrategy |
QQuickItem * | visualParent |
Signals | |
void | appletInterfaceChanged () |
void | hideOnWindowDeactivateChanged () |
Signals inherited from PlasmaQuick::PopupPlasmaWindow | |
void | animatedChanged () |
void | effectivePopupDirectionChanged () |
void | floatingChanged () |
void | marginChanged () |
void | nearbyBordersChanged () |
void | popupDirectionChanged () |
void | removeBorderStrategyChanged () |
void | visualParentChanged () |
Public Member Functions | |
QQuickItem * | appletInterface () const |
bool | hideOnWindowDeactivate () const |
void | setAppletInterface (QQuickItem *appletInterface) |
void | setHideOnWindowDeactivate (bool hideOnWindowDeactivate) |
Public Member Functions inherited from PlasmaQuick::PopupPlasmaWindow | |
PopupPlasmaWindow (const QString &svgPrefix=QStringLiteral("dialogs/background")) | |
bool | animated () const |
Qt::Edge | effectivePopupDirection () const |
bool | event (QEvent *event) override |
bool | floating () const |
int | margin () const |
Qt::Edges | nearbyBorders () const |
Qt::Edge | popupDirection () const |
Q_ENUM (RemoveBorder) | |
RemoveBorders | removeBorderStrategy () const |
void | setAnimated (bool animated) |
void | setFloating (bool floating) |
void | setMargin (int margin) |
void | setPopupDirection (Qt::Edge popupDirection) |
void | setRemoveBorderStrategy (RemoveBorders borders) |
void | setVisualParent (QQuickItem *parent) |
QQuickItem * | visualParent () const |
Protected Member Functions | |
void | focusOutEvent (QFocusEvent *event) override |
void | hideEvent (QHideEvent *event) override |
Additional Inherited Members | |
Public Types inherited from PlasmaQuick::PopupPlasmaWindow | |
enum | RemoveBorder { Never = 0x0 , AtScreenEdges = 0x1 , AtPanelEdges = 0x2 } |
typedef QFlags< RemoveBorder > | RemoveBorders |
Protected Slots inherited from PlasmaQuick::PopupPlasmaWindow | |
void | queuePositionUpdate () |
Detailed Description
The AppletPopup class shows a popup for an applet either in the panel or on the desktop.
In addition to the new API this class is resizable and can forward any input events recieved on the margin to the main item
Size hints are transferred from the mainItem's size hints.
Definition at line 29 of file appletpopup.h.
Property Documentation
◆ appletInterface
|
readwrite |
This property holds a pointer to the AppletInterface used by.
Definition at line 35 of file appletpopup.h.
◆ hideOnWindowDeactivate
|
readwrite |
Whether the dialog should be hidden when the dialog loses focus.
The default value is false
.
Definition at line 42 of file appletpopup.h.
Constructor & Destructor Documentation
◆ AppletPopup()
AppletPopup::AppletPopup | ( | ) |
Definition at line 62 of file appletpopup.cpp.
◆ ~AppletPopup()
|
override |
Definition at line 116 of file appletpopup.cpp.
Member Function Documentation
◆ appletInterface()
QQuickItem * AppletPopup::appletInterface | ( | ) | const |
Definition at line 120 of file appletpopup.cpp.
◆ focusOutEvent()
|
overrideprotectedvirtual |
Reimplemented from QQuickWindow.
Definition at line 178 of file appletpopup.cpp.
◆ hideEvent()
|
overrideprotectedvirtual |
Reimplemented from QQuickWindow.
Definition at line 163 of file appletpopup.cpp.
◆ hideOnWindowDeactivate()
bool AppletPopup::hideOnWindowDeactivate | ( | ) | const |
Definition at line 149 of file appletpopup.cpp.
◆ setAppletInterface()
void AppletPopup::setAppletInterface | ( | QQuickItem * | appletInterface | ) |
Definition at line 125 of file appletpopup.cpp.
◆ setHideOnWindowDeactivate()
void AppletPopup::setHideOnWindowDeactivate | ( | bool | hideOnWindowDeactivate | ) |
Definition at line 154 of file appletpopup.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:34:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.