ContainmentItem QML Type
This class is exposed to containments QML as the attached property Plasmoid. More...
Import Statement: | import org.kde.plasma.plasmoid |
Inherits: |
Properties
Methods
- QPointF adjustToAvailableScreenRegion(int x, int y, int w, int h)
- QtObject containmentItemAt(int x, int y)
- AppletQuickItem itemFor(var applet)
- void processMimeData(QMimeData data, int x, int y, var dropJob)
- void processMimeData(QtObject data, int x, int y, var dropJob)
Detailed Description
Property Documentation
loading : bool |
True if the UI is still loading, for instance a desktop which doesn't have its wallpaper yet
wallpaper : WallpaperItem |
Method Documentation
QPointF adjustToAvailableScreenRegion(int x, int y, int w, int h) |
Given a geometry, it adjusts it moving it completely inside of the boundaries of availableScreenRegion @return the toLeft point of the rectangle
QtObject containmentItemAt(int x, int y) |
Search for a containment at those coordinates. the coordinates are passed as local coordinates of *this* containment
AppletQuickItem itemFor(var applet) |
Returns the corresponding PlasmoidItem of one of its applets
void processMimeData(QMimeData data, int x, int y, var dropJob) |
Process the mime data arrived to a particular coordinate, either with a drag and drop or paste with middle mouse button
void processMimeData(QtObject data, int x, int y, var dropJob) |
Process the mime data arrived to a particular coordinate, either with a drag and drop or paste with middle mouse button