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;
98 void setText(QString text);
103 QString text()
const;
110 void setImage(
const QString &path);
115 QString image()
const;
122 void setStyleSheet(
const QString &stylesheet);
127 QString styleSheet()
const;
135 void paint(QPainter *painter,
139 void resizeEvent(QGraphicsSceneResizeEvent *event);
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:33 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.