Plasma
containment.h
Go to the documentation of this file.
Definition abstracttoolbox.h:41
This class is used for asynchronously accessing an applet published on a remote system.
Definition accessappletjob.h:43
virtual FormFactor formFactor() const
Returns the current form factor the applet is being displayed in.
Definition applet.cpp:1479
virtual Location location() const
Returns the location of the scene which is displaying applet.
Definition applet.cpp:1618
void appletDestroyed(Plasma::Applet *applet)
Emitted when the applet is deleted.
Plasma::View * view
The View, if any, that this containment is currently being rendered into.
Definition containment.h:96
The base class for plugins that provide backgrounds and applet grouping containers.
Definition containment.h:73
friend class Applet
This slot is called when the 'stat' after a job event has finished.
Definition containment.h:660
void contextChanged(Plasma::Context *context)
The context associated to this containment has changed.
void addSiblingContainment(Plasma::Containment *)
Emitted when the containment wants a new containment to be created.
void dropEvent(QGraphicsSceneDragDropEvent *event)
Definition containment.cpp:1228
void setContainmentType(Containment::Type type)
Sets the type of this containment.
Definition containment.cpp:506
Containment(QGraphicsItem *parent=0, const QString &serviceId=QString(), uint containmentId=0)
Definition containment.cpp:110
void setFormFactor(Plasma::FormFactor formFactor)
Sets the form factor for this Containment.
Definition containment.cpp:776
void destroy()
Destroys this containment and all its applets (after a confirmation dialog); it will be removed nicel...
Definition containment.cpp:2053
void dragLeaveEvent(QGraphicsSceneDragDropEvent *event)
Definition containment.cpp:1195
void configureRequested(Plasma::Containment *containment)
Emitted when the user wants to configure/change containment.
void appletAdded(Plasma::Applet *applet, const QPointF &pos)
This signal is emitted when a new applet is created by the containment.
@ CustomContainment
A containment that is neither a desktop nor a panel but something application specific.
Definition containment.h:103
void showConfigurationInterface()
Definition containment.cpp:2058
bool sceneEventFilter(QGraphicsItem *watched, QEvent *event)
Definition containment.cpp:1686
void mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Definition containment.cpp:530
void wheelEvent(QGraphicsSceneWheelEvent *event)
Definition containment.cpp:1656
void zoomRequested(Plasma::Containment *containment, Plasma::ZoomDirection direction)
Emitted when the containment requests zooming in or out one step.
void focusNextApplet()
switch keyboard focus to the next of our applets
Definition containment.cpp:2027
void setDrawWallpaper(bool drawWallpaper)
Sets whether wallpaper is painted or not.
Definition containment.cpp:1796
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Definition containment.cpp:578
void appletRemoved(Plasma::Applet *applet)
This signal is emitted when an applet is destroyed.
QVariant itemChange(GraphicsItemChange change, const QVariant &value)
Definition containment.cpp:1691
void showAddWidgetsInterface(const QPointF &pos)
Emitted when the containment requests an add widgets dialog is shown.
void keyPressEvent(QKeyEvent *event)
Definition containment.cpp:1644
virtual void saveContents(KConfigGroup &group) const
Called when the contents of the containment should be saved.
Definition containment.cpp:447
virtual void restoreContents(KConfigGroup &group)
Called when the contents of the containment should be loaded.
Definition containment.cpp:473
void dragEnterEvent(QGraphicsSceneDragDropEvent *event)
Definition containment.cpp:1148
void toolBoxToggled()
Emitted when the user clicks on the toolbox.
void resizeEvent(QGraphicsSceneResizeEvent *event)
Definition containment.cpp:1627
const QGraphicsItem * toolBoxItem() const
Definition containment.cpp:1608
void contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
Definition containment.cpp:620
void dragMoveEvent(QGraphicsSceneDragDropEvent *event)
Definition containment.cpp:1215
void focusPreviousApplet()
switch keyboard focus to the previous one of our applets
Definition containment.cpp:2040
void screenChanged(int wasScreen, int isScreen, Plasma::Containment *containment)
This signal indicates that a containment has been newly associated (or dissociated) with a physical s...
void setLocation(Plasma::Location location)
Informs the Corona as to what position it is in.
Definition containment.cpp:800
void configChanged()
Called when applet configuration values have changed.
Definition containment.cpp:2063
void setToolBox(AbstractToolBox *toolBox)
Sets a custom ToolBox if there was an old one it will be deleted and the new one won't have any actio...
Definition containment.cpp:1614
void toolBoxVisibilityChanged(bool)
Emitted when the toolbox is hidden or shown.
void mousePressEvent(QGraphicsSceneMouseEvent *event)
Definition containment.cpp:546
Definition context.h:34
Location
The Location enumeration describes where on screen an element, such as an Applet or its managing cont...
Definition plasma.h:108
static QScriptValue type(QScriptContext *ctx, QScriptEngine *eng)
Definition easingcurve.cpp:63
FormFactor
The FormFactor enumeration describes how a Plasma::Applet should arrange itself.
Definition plasma.h:64
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.