Go to the documentation of this file.
23#include <QtGui/QGraphicsWidget>
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())
A widget that provides a simple frame.
Frame(QGraphicsWidget *parent=0)
Constructs a new Frame.
void setImage(const QString &path)
Sets the path to an image to display.
void setFrameShadow(Shadow shadow)
Sets the Frame's shadow style.
void setText(QString text)
Set the text to display by this Frame.
void setStyleSheet(const QString &stylesheet)
Sets the stylesheet used to control the visual display of this Frame.
Namespace for everything in libplasma.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.