Plasma
Go to the documentation of this file.
20 #ifndef PLASMA_FRAME_H
21 #define PLASMA_FRAME_H
23 #include <QtGui/QGraphicsWidget>
46 Q_PROPERTY(
Shadow frameShadow READ frameShadow WRITE setFrameShadow)
47 Q_PROPERTY(
QString text READ text WRITE setText)
48 Q_PROPERTY(
QString image READ image WRITE setImage)
49 Q_PROPERTY(
QString styleSheet READ styleSheet WRITE setStyleSheet)
72 void setFrameShadow(Shadow shadow);
77 Shadow frameShadow()
const;
83 void setEnabledBorders(
const FrameSvg::EnabledBorders borders);
90 FrameSvg::EnabledBorders enabledBorders()
const;
110 void setImage(
const QString &path);
122 void setStyleSheet(
const QString &stylesheet);
140 QSizeF sizeHint(Qt::SizeHint which,
const QSizeF & constraint)
const;
141 void changeEvent(
QEvent *event);
144 FramePrivate *
const d;
146 Q_PRIVATE_SLOT(d,
void syncBorders())
147 Q_PRIVATE_SLOT(d,
void setPalette())
152 #endif // multiple inclusion guard
A widget that provides a simple frame.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.