Libplasma
plasmoiditem.h
45 * The QML root object defined in the applet main.qml will be direct child of an PlasmoidItem instance
52 Q_PROPERTY(QString toolTipMainText READ toolTipMainText WRITE setToolTipMainText NOTIFY toolTipMainTextChanged)
58 Q_PROPERTY(QString toolTipSubText READ toolTipSubText WRITE setToolTipSubText NOTIFY toolTipSubTextChanged)
68 Q_PROPERTY(int toolTipTextFormat READ toolTipTextFormat WRITE setToolTipTextFormat NOTIFY toolTipTextFormatChanged)
76 Q_PROPERTY(QQuickItem *toolTipItem READ toolTipItem WRITE setToolTipItem NOTIFY toolTipItemChanged)
97 Q_PROPERTY(bool hideOnWindowDeactivate READ hideOnWindowDeactivate WRITE setHideOnWindowDeactivate NOTIFY hideOnWindowDeactivateChanged)
104 Q_PROPERTY(QRect availableScreenRect READ availableScreenRect NOTIFY availableScreenRectChanged)
107 * The available region of this screen, panels excluded. It's a list of rectanglesO: from containment
109 Q_PROPERTY(QVariantList availableScreenRegion READ availableScreenRegion NOTIFY availableScreenRegionChanged)
This class is exposed to containments QML as the attached property Plasmoid.
Definition containmentitem.h:36
void contextualActionsAboutToShow()
Emitted just before the contextual actions are about to show For instance just before the context men...
Q_INVOKABLE void prepareContextualActions()
Should be called before retrieving any action to ensure contents are up to date.
Definition plasmoiditem.cpp:389
void externalData(const QString &mimetype, const QVariant &data)
somebody else, usually the containment sent some data to the applet
QRect screenGeometry
Provides access to the geometry of the applet is in.
Definition plasmoiditem.h:89
QQuickItem * toolTipItem
This allows to set fully custom QML item as the tooltip.
Definition plasmoiditem.h:76
QVariantList availableScreenRegion
The available region of this screen, panels excluded.
Definition plasmoiditem.h:109
QString toolTipMainText
The QML root object defined in the applet main.qml will be direct child of an PlasmoidItem instance.
Definition plasmoiditem.h:52
bool hideOnWindowDeactivate
Whether the dialog should be hidden when the dialog loses focus.
Definition plasmoiditem.h:97
QRect availableScreenRect
screen area free of panels: the coordinates are relative to the containment, it's independent from th...
Definition plasmoiditem.h:104
QString toolTipSubText
Description for the plasmoid tooltip or other means of quick information: it comes from the pluginifo...
Definition plasmoiditem.h:58
int toolTipTextFormat
how to handle the text format of the tooltip subtext:
Definition plasmoiditem.h:68
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
void destroyed(QObject *obj)
parent
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.