Types QML Type

Enums and constants used in Plasma. More...

Import Statement: import org.kde.plasma.core

Properties

Detailed Description

Property Documentation

BackgroundHints : enumeration

Description on how draw a background for the applet

ConstantDescription
NoBackgroundNot drawing a background under the applet, the applet has its own implementation
StandardBackgroundThe standard background from the theme is drawn
TranslucentBackgroundAn alternate version of the background is drawn, usually more translucent
ShadowBackgroundThe applet won't have a svg background but a drop shadow of its content done via a shader
ConfigurableBackgroundIf the hint has this flag, the user is able to configure this background
DefaultBackgroundDefault settings: both standard background

ContainmentDisplayHint : enumeration

Display hints that come from the containment that suggest the applet how to look and behave.

ConstantDescription
NoContainmentDisplayHint 
ContainmentDrawsPlasmoidHeadingThe containment will draw a titlebar-looking header for the applets, so the applets shouldn't attempt to paint a similar thing
ContainmentForcesSquarePlasmoidsThe containment will force every plasmoid to be constrained in a square icon (An example is the System Tray)
ContainmentPrefersOpaqueBackgroundThe containment prefers the style of the applets to be opaque, where applicable
ContainmentPrefersFloatingAppletsThe containment prefers applet's dialogs to be floating, where applicable

FormFactor : enumeration

Describes how a Plasmoid should arrange itself.

The value is derived from the container managing the Applet (e.g. in Plasma, a Corona on the desktop or on a panel).

ConstantDescription
PlanarThe applet lives in a plane and has two degrees of freedom to grow. Optimize for desktop, laptop or tablet usage: a high resolution screen 1-3 feet distant from the viewer.
MediaCenterAs with Planar, the applet lives in a plane but the interface should be optimized for medium-to-high resolution screens that are 5-15 feet distant from the viewer. Sometimes referred to as a "ten foot interface".
HorizontalThe applet is constrained vertically, but can expand horizontally.
VerticalThe applet is constrained horizontally, but can expand vertically.
ApplicationThe Applet lives in a plane and should be optimized to look as a full application, for the desktop or the particular device.

ImmutabilityType : enumeration

Defines the immutability of items like plasmoids, corona and containments they can be free to modify, locked down by the user or locked down by the system (e.g. kiosk setups).

ConstantDescription
MutableThe item can be modified in any way
UserImmutableThe user has requested a lock down, and can undo the lock down at any time
SystemImmutableThe item is locked down by the system, the user can't unlock it

ItemStatus : enumeration

Status of a plasmoid

ConstantDescription
UnknownStatusThe status is unknown
PassiveStatusThe item is passive
ActiveStatusThe item is active
NeedsAttentionStatusThe item needs attention
RequiresAttentionStatusThe item needs persistent attention
AcceptingInputStatusThe item is accepting input
HiddenStatusThe item will be hidden totally

Location : enumeration

Describes where on screen an element, such as a Plasmoid or its managing container, is positioned on the screen.

ConstantDescription
FloatingFree floating. Neither geometry or z-ordering is described precisely by this value.
DesktopOn the planar desktop layer, extending across the full screen from edge to edge.
FullScreenFull screen
TopEdgeAlong the top of the screen
BottomEdgeAlong the bottom of the screen
LeftEdgeAlong the left side of the screen
RightEdgeAlong the right side of the screen