Pages
API Documentation
On this page

ContainmentItem QML Type

This class is exposed to containments QML as the attached property Plasmoid. More...

  • Import Statement: import org.kde.plasma.plasmoid
  • Inherits: PlasmoidItem

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 Returns 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

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.