11#include <plasmaquick/plasmaquick_export.h>
20class PlasmaWindowPrivate;
25class PLASMAQUICK_EXPORT PlasmaWindow :
public QQuickWindow
32 Q_PROPERTY(
QQuickItem *mainItem READ mainItem WRITE setMainItem NOTIFY mainItemChanged)
37 Q_PROPERTY(BackgroundHints backgroundHints READ backgroundHints WRITE setBackgroundHints NOTIFY backgroundHintsChanged)
42 Q_PROPERTY(
Qt::Edges borders READ borders NOTIFY bordersChanged)
44 Q_PROPERTY(qreal topPadding READ topPadding NOTIFY paddingChanged)
45 Q_PROPERTY(qreal bottomPadding READ bottomPadding NOTIFY paddingChanged)
46 Q_PROPERTY(qreal leftPadding READ leftPadding NOTIFY paddingChanged)
47 Q_PROPERTY(qreal rightPadding READ rightPadding NOTIFY paddingChanged)
50 enum BackgroundHints {
51 StandardBackground = 0,
54 Q_ENUM(BackgroundHints)
56 PlasmaWindow(
const QString &svgPrefix = QStringLiteral(
"dialogs/background"));
57 ~PlasmaWindow()
override;
81 BackgroundHints backgroundHints()
const;
82 void setBackgroundHints(BackgroundHints hints);
84 qreal topPadding()
const;
85 qreal bottomPadding()
const;
86 qreal leftPadding()
const;
87 qreal rightPadding()
const;
90 void mainItemChanged();
91 void bordersChanged();
92 void backgroundHintsChanged();
93 void paddingChanged();
100 const std::unique_ptr<PlasmaWindowPrivate> d;
The EdgeEventForwarder class This class forwards edge events to be replayed within the given margin T...
Namespace for everything in libplasma.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:41 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.