Plasma
Plasma::GroupBox Class Reference
Provides a plasma-themed QGroupBox. More...
#include <Plasma/Widgets/GroupBox>
Inheritance diagram for Plasma::GroupBox:

Public Member Functions | |
GroupBox (QGraphicsWidget *parent=0) | |
QGroupBox * | nativeWidget () const |
void | setStyleSheet (const QString &stylesheet) |
void | setText (const QString &text) |
QString | styleSheet () |
QString | text () const |
~GroupBox () | |
Protected Member Functions | |
void | resizeEvent (QGraphicsSceneResizeEvent *event) |
Properties | |
QGroupBox | nativeWidget |
QGraphicsWidget | parentWidget |
QString | styleSheet |
QString | text |
Detailed Description
Provides a plasma-themed QGroupBox.
Definition at line 39 of file groupbox.h.
Constructor & Destructor Documentation
Plasma::GroupBox::GroupBox | ( | QGraphicsWidget * | parent = 0 |
) | [explicit] |
Definition at line 45 of file groupbox.cpp.
Plasma::GroupBox::~GroupBox | ( | ) |
Definition at line 54 of file groupbox.cpp.
Member Function Documentation
QGroupBox* Plasma::GroupBox::nativeWidget | ( | ) | const |
- Returns:
- the native widget wrapped by this GroupBox
void Plasma::GroupBox::resizeEvent | ( | QGraphicsSceneResizeEvent * | event | ) | [protected] |
Definition at line 84 of file groupbox.cpp.
void Plasma::GroupBox::setStyleSheet | ( | const QString & | stylesheet | ) |
Sets the stylesheet used to control the visual display of this GroupBox.
- stylesheet a CSS string
Definition at line 69 of file groupbox.cpp.
void Plasma::GroupBox::setText | ( | const QString & | text | ) |
Sets the display text for this GroupBox.
- text the text to display; should be translated.
Definition at line 59 of file groupbox.cpp.
QString Plasma::GroupBox::styleSheet | ( | ) |
- Returns:
- the stylesheet currently used with this widget
QString Plasma::GroupBox::text | ( | ) | const |
- Returns:
- the display text
Property Documentation
QGroupBox * Plasma::GroupBox::nativeWidget [read] |
Definition at line 46 of file groupbox.h.
QGraphicsWidget Plasma::GroupBox::parentWidget [read] |
Definition at line 43 of file groupbox.h.
QString Plasma::GroupBox::styleSheet [read, write] |
Definition at line 45 of file groupbox.h.
QString Plasma::GroupBox::text [read, write] |
Definition at line 44 of file groupbox.h.
The documentation for this class was generated from the following files: