Plasma
Public Types |
Public Member Functions |
Protected Member Functions |
Properties |
List of all members
Plasma::Frame Class Reference
#include <Plasma/Widgets/Frame>
Inheritance diagram for Plasma::Frame:
Public Types | |
enum | Shadow { Plain = 1, Raised = 2, Sunken = 3 } |
Public Member Functions | |
Frame (QGraphicsWidget *parent=0) | |
~Frame () | |
FrameSvg::EnabledBorders | enabledBorders () const |
Shadow | frameShadow () const |
QString | image () const |
QWidget * | nativeWidget () const |
void | setEnabledBorders (const FrameSvg::EnabledBorders borders) |
void | setFrameShadow (Shadow shadow) |
void | setImage (const QString &path) |
void | setStyleSheet (const QString &stylesheet) |
void | setText (QString text) |
QString | styleSheet () const |
QString | text () const |
Protected Member Functions | |
void | changeEvent (QEvent *event) |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
void | resizeEvent (QGraphicsSceneResizeEvent *event) |
QSizeF | sizeHint (Qt::SizeHint which, const QSizeF &constraint) const |
Properties | |
Shadow | frameShadow |
QString | image |
QString | styleSheet |
QString | text |
Detailed Description
A widget that provides a simple frame.
A simple frame to group widgets, it can have a plain, sunken or raise aspect the default aspect is plain
Member Enumeration Documentation
Constructor & Destructor Documentation
|
explicit |
Member Function Documentation
|
protected |
FrameSvg::EnabledBorders Plasma::Frame::enabledBorders | ( | ) | const |
QString Plasma::Frame::image | ( | ) | const |
- Returns
- the image path being displayed currently, or an empty string if none.
QWidget * Plasma::Frame::nativeWidget | ( | ) | const |
|
protected |
|
protected |
void Plasma::Frame::setEnabledBorders | ( | const FrameSvg::EnabledBorders | borders | ) |
void Plasma::Frame::setFrameShadow | ( | Shadow | shadow | ) |
void Plasma::Frame::setImage | ( | const QString & | path | ) |
void Plasma::Frame::setStyleSheet | ( | const QString & | stylesheet | ) |
void Plasma::Frame::setText | ( | QString | text | ) |
|
protected |
QString Plasma::Frame::styleSheet | ( | ) | const |
- Returns
- the stylesheet currently used with this widget
QString Plasma::Frame::text | ( | ) | const |
- Returns
- text displayed from this Frame
Property Documentation
|
readwrite |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.