#include <QSeparatorAdapter.h>
Public Member Functions | |
QSeparatorAdapter () | |
Constructs new QLabelAdapter object. | |
Qt::Orientation | orientation () const |
Returns separator orientation. | |
void | setOrientation (Qt::Orientation orientation) |
Sets separator orientation. | |
QString | text () const |
Returns separator text. | |
void | setText (const QString text) |
Sets separator text. | |
void | setUseStylePalette (bool useStylePalette) |
Sets whether or not the separator uses style palette colors. | |
virtual QSize | sizeHint () const |
Static Public Attributes | |
static const int | DEFAULT_SEPARATOR_EXTENT = 30 |
Protected Member Functions | |
virtual void | changeEvent (QEvent *e) |
virtual void | paintEvent (QPaintEvent *e) |
void | updateLabel () |
Updates separator label. |
Qt::Orientation QSeparatorAdapter::orientation | ( | ) | const |
Returns separator orientation.
void QSeparatorAdapter::setOrientation | ( | Qt::Orientation | orientation | ) |
Sets separator orientation.
orientation | the orientation |
QString QSeparatorAdapter::text | ( | ) | const |
Returns separator text.
void QSeparatorAdapter::setText | ( | const QString | text | ) |
Sets separator text.
text | the text |
void QSeparatorAdapter::setUseStylePalette | ( | bool | useStylePalette | ) |
Sets whether or not the separator uses style palette colors.
useStylePalette | true if use |
QSize QSeparatorAdapter::sizeHint | ( | ) | const [virtual] |
void QSeparatorAdapter::changeEvent | ( | QEvent * | e | ) | [protected, virtual] |
void QSeparatorAdapter::paintEvent | ( | QPaintEvent * | e | ) | [protected, virtual] |