PlasmaQuick::AppletPopup Class

The AppletPopup class shows a popup for an applet either in the panel or on the desktop. More...

Header: #include <AppletPopup>
CMake: find_package(PlasmaQuick REQUIRED)
target_link_libraries(mytarget PRIVATE Plasma::PlasmaQuick)
Inherits: PlasmaQuick::PopupPlasmaWindow

Properties

Public Functions

QQuickItem *appletInterface() const
bool hideOnWindowDeactivate() const
void setAppletInterface(QQuickItem *appletInterface)
void setHideOnWindowDeactivate(bool hideOnWindowDeactivate)

Signals

Detailed Description

In addition to the new API this class is resizable and can forward any input events received on the margin to the main item

Size hints are transferred from the mainItem's size hints.

Property Documentation

appletInterface : QQuickItem*

This property holds a pointer to the AppletInterface used by

Access functions:

QQuickItem *appletInterface() const
void setAppletInterface(QQuickItem *appletInterface)

Notifier signal:

void appletInterfaceChanged()

hideOnWindowDeactivate : bool

Whether the dialog should be hidden when the dialog loses focus.

The default value is false.

Access functions:

bool hideOnWindowDeactivate() const
void setHideOnWindowDeactivate(bool hideOnWindowDeactivate)

Notifier signal:

void hideOnWindowDeactivateChanged()