Plasma
plasma.h
47 UiReadyConstraint = 64,
49 AllConstraints = FormFactorConstraint | LocationConstraint | ScreenConstraint | ImmutableConstraint,
60 CanFillArea = 1,
61 /**< The CompactRepresentation can fill the area and ignore constraint margins*/ // (TODO: KF6 CanFillArea -> CompactRepresentationFillArea)
62 MarginAreasSeparator = CanFillArea | 2, /**< The applet acts as a separator between the standard and slim panel margin areas*/
87 Application, /**< The Applet lives in a plane and should be optimized to look as a full application,
98 ContainmentDrawsPlasmoidHeading =
99 1, /**< The containment will draw an titlebar-looking header for the applets, so the applets shouldn't attempt to paint a similar thing **/
100 ContainmentForcesSquarePlasmoids =
101 2, /**< The containment will force every plasmoid to be constrained in a square icon (An example is the System Tray)**/
102 DesktopFullyCovered =
103 4, /**< The desktop area for the contaiment's screen is not visible at all, for instance a window has been maximized on top of it */
111 * DesktopContainments represent main containments that will own a screen in a mutually exclusive fashion,
134 DestructiveAction =
135 400, /**< A dangerous action, such as deletion of objects, plasmoids and files. They are intended to be shown separated from other actions */
136 UserAction = DestructiveAction + 1000, /**< If new types are needed in a C++ implementation, define them as ids more than UserAction*/
253 GenericComponent = 16, /** Generic repositories of files, usually they keep QML files and their assets **/
299 NoBackground = 0, /**< Not drawing a background under the applet, the applet has its own implementation */
301 TranslucentBackground = 2, /**< An alternate version of the background is drawn, usually more translucent */
302 ShadowBackground = 4, /**< The applet won't have a svg background but a drop shadow of its content done via a shader */
303 ConfigurableBackground = 8, /** If the hint has this flag, the user is able to configure this background */
340 PLASMA_EXPORT Types::PopupPlacement visualPopupPlacement(Types::PopupPlacement placement, Qt::LayoutDirection layoutDirection = Qt::LayoutDirectionAuto);
Direction
PopupPlacement
The popup position enumeration relatively to his attached widget.
Definition: plasma.h:188
ConstraintHints
This enumeration lists the various hints that an applet can pass to its constraint regarding the way ...
Definition: plasma.h:58
Constraint
The Constraint enumeration lists the various constraints that Plasma objects have managed for them an...
Definition: plasma.h:39
ContainmentDisplayHint
Display hints that come from the containment that suggest the applet how to look and behave.
Definition: plasma.h:96
Direction
The Direction enumeration describes in which direction, relative to the Applet (and its managing cont...
Definition: plasma.h:146
FormFactor
The FormFactor enumeration describes how a Plasma::Applet should arrange itself.
Definition: plasma.h:72
Types::Direction locationToInverseDirection(Types::Location location)
Converts a location to the direction facing it.
Definition: plasma.cpp:47
ComponentType
The ComonentType enumeration refers to the various types of components, or plugins,...
Definition: plasma.h:248
ActionType
A descriptive type for QActions, to help categorizing them when presented to the user.
Definition: plasma.h:129
Types::PopupPlacement visualPopupPlacement(Types::PopupPlacement placement, Qt::LayoutDirection layoutDirection)
Mirrors popup placement horizontally in Right-To-Left environments.
Definition: plasma.cpp:68
Types::Direction locationToDirection(Types::Location location)
Converts a location to a direction.
Definition: plasma.cpp:26
Location
The Location enumeration describes where on screen an element, such as an Applet or its managing cont...
Definition: plasma.h:158
LayoutDirection
ImmutabilityType
Defines the immutability of items like applets, corona and containments they can be free to modify,...
Definition: plasma.h:235
@ SelfTrusted
The signature is valid and made with one of the user's own keys.
Definition: plasma.h:289
@ FullyTrusted
The signature is valid and made with a key signed by the vendor's key.
Definition: plasma.h:290
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:14:48 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:14:48 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.