Plasma::Frame Class Reference
A widget that provides a simple frame.
More...
#include <Plasma/Widgets/Frame>
List of all members.
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
Definition at line 42 of file frame.h.
Member Enumeration Documentation
- Enumerator:
-
Definition at line 47 of file frame.h.
Constructor & Destructor Documentation
Constructs a new Frame.
- parent the parent of this widget
Definition at line 83 of file frame.cpp.
Plasma::Frame::~Frame |
( |
|
) |
|
Member Function Documentation
- Returns:
- the Frame's shadow style
Definition at line 120 of file frame.cpp.
QString Plasma::Frame::image |
( |
|
) |
const |
- Returns:
- the image path being displayed currently, or an empty string if none.
Definition at line 177 of file frame.cpp.
QWidget * Plasma::Frame::nativeWidget |
( |
|
) |
const |
- Returns:
- the native widget wrapped by this Frame
Definition at line 193 of file frame.cpp.
void Plasma::Frame::setFrameShadow |
( |
Shadow |
shadow |
) |
|
Sets the Frame's shadow style.
- shadow plain, raised or sunken
Definition at line 100 of file frame.cpp.
void Plasma::Frame::setImage |
( |
const QString & |
path |
) |
|
Sets the path to an image to display.
- path the path to the image; if a relative path, then a themed image will be loaded.
Definition at line 136 of file frame.cpp.
void Plasma::Frame::setStyleSheet |
( |
const QString & |
stylesheet |
) |
|
Sets the stylesheet used to control the visual display of this Frame.
Definition at line 182 of file frame.cpp.
void Plasma::Frame::setText |
( |
QString |
text |
) |
|
QSizeF Plasma::Frame::sizeHint |
( |
Qt::SizeHint |
which, |
|
|
const QSizeF & |
constraint | |
|
) |
| | const [protected] |
QString Plasma::Frame::styleSheet |
( |
|
) |
const |
- Returns:
- the stylesheet currently used with this widget
Definition at line 188 of file frame.cpp.
QString Plasma::Frame::text |
( |
|
) |
const |
The documentation for this class was generated from the following files: