Libplasma
containmentview.cpp
68 // TODO: delete the item when needed instead of just hiding, but there are quite a lot of cornercases to manage beforehand
87 // by resizing it just before restoring the containment, it removes a chain of resizes at startup
93 QObject::connect(cont, &Plasma::Containment::locationChanged, q, &ContainmentView::locationChanged);
94 QObject::connect(cont, &Plasma::Containment::formFactorChanged, q, &ContainmentView::formFactorChanged);
95 QObject::connect(cont, &Plasma::Containment::configureRequested, q, &ContainmentView::showConfigurationInterface);
100 if (cont->containmentType() == Plasma::Containment::Type::Panel || cont->containmentType() == Plasma::Containment::Type::CustomPanel) {
bool isValid() const
KPluginMetaData metadata() const
The base class for plugins that provide backgrounds and applet grouping containers.
Definition containment.h:47
void uiReadyChanged(bool uiReady)
Emitted when the ui has been fully loaded and is fully working.
void configureRequested(Plasma::Applet *applet)
Emitted when the user wants to configure/change the containment, or an applet inside it.
void formFactorChanged(Plasma::Types::FormFactor formFactor)
Emitted when the formFactor has changed.
void locationChanged(Plasma::Types::Location location)
Emitted when the location has changed.
void setLocation(Plasma::Types::Location location)
Informs the Corona as to what position it is in.
Definition containment.cpp:333
Location
The Location enumeration describes where on screen an element, such as an Applet or its managing cont...
Definition plasma.h:81
@ Desktop
On the planar desktop layer, extending across the full screen from edge to edge.
Definition plasma.h:84
FormFactor
The FormFactor enumeration describes how a Plasma::Applet should arrange itself.
Definition plasma.h:40
QVariant location(const QVariant &res)
KGuiItem cont()
The EdgeEventForwarder class This class forwards edge events to be replayed within the given margin T...
Definition action.h:20
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
QVariant property(const char *name) const const
void setFocus(bool focus, Qt::FocusReason reason)
void setParentItem(QQuickItem *parent)
void setSize(const QSizeF &size)
void geometryChanged(const QRect &geometry)
QString number(double n, char format, int precision)
transparent
QVariant fromValue(T &&value)
T value() const const
void destroy()
This file is part of the KDE documentation.
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
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.