Home · Modules · Classes · Namespaces · Functions

QxtPushButton Class Reference
[QxtGui module]

The QxtPushButton widget is an extended QPushButton with rotation and rich text support. More...

    #include <QxtPushButton>

Inherits QPushButton.

Public Functions

Additional Inherited Members


Detailed Description

The QxtPushButton widget is an extended QPushButton with rotation and rich text support.

QxtPushButton is a QPushButton which can be rotated. In addition, QxtPushButton provides rich text support.

"QxtPushButton in action."


Member Function Documentation

QxtPushButton::QxtPushButton ( QWidget * parent = 0 )

Constructs a new QxtPushButton with parent.

QxtPushButton::QxtPushButton ( const QString & text, QWidget * parent = 0 )

Constructs a new QxtPushButton with text and parent.

QxtPushButton::QxtPushButton ( const QIcon & icon, const QString & text, QWidget * parent = 0 )

Constructs a new QxtPushButton with icon, text and parent.

Note: An icon is not rendered when using rich text.

QxtPushButton::QxtPushButton ( Qxt::Rotation rotation, const QString & text, QWidget * parent = 0 )

Constructs a new QxtPushButton with rotation, text and parent.

QxtPushButton::~QxtPushButton ()   [virtual]

Destructs the button.

Qxt::Rotation QxtPushButton::rotation () const

See also setRotation().

void QxtPushButton::setRotation ( Qxt::Rotation rotation )

See also rotation().

void QxtPushButton::setTextFormat ( Qt::TextFormat format )

See also textFormat().

Qt::TextFormat QxtPushButton::textFormat () const

See also setTextFormat().


Copyright © 2007-2011 Qxt Foundation
Qxt 0.6.2