QCommandLinkButton Class Reference [модуль QtGui]
The QCommandLinkButton widget provides a Vista style command link button. Далее...
#include <QCommandLinkButton> Inherits QPushButton.
Этот класс был введён в Qt 4.4.
Свойства
Открытые функции
Дополнительные унаследованные члены
- 1 public slot inherited from QPushButton
- 5 открытых слотов, унаследованных от QAbstractButton
- 19 открытых слотов, унаследованных от QWidget
- 1 открытый слот, унаследованный от QObject
- 4 сигнала, унаследованных от QAbstractButton
- 1 сигнал, унаследованный от QWidget
- 1 сигнал, унаследованный от QObject
- 4 статических открытых члена, унаследованных от QWidget
- 5 статических открытых членов, унаследованных от QObject
- 1 protected function inherited from QPushButton
- 3 protected functions inherited from QAbstractButton
- 37 защищенных функций, унаследованных от QWidget
- 7 защищенных функций, унаследованных от QObject
- 1 защищённая функция, унаследованная от QPaintDevice
- 1 защищенный слот, унаследованный от QWidget
Подробное описание
The QCommandLinkButton widget provides a Vista style command link button.
The command link is a new control that was introduced by Windows Vista. It's intended use is similar to that of a radio button in that it is used to choose between a set of mutually exclusive options. Command link buttons should not be used by themselves but rather as an alternative to radio buttons in Wizards and dialogs and makes pressing the "next" button redundant. The appearance is generally similar to that of a flat pushbutton, but it allows for a descriptive text in addition to the normal button text. By default it will also carry an arrow icon, indicating that pressing the control will open another window or page.
See also QPushButton and QRadioButton.
Описание свойств
This property holds a descriptive label to complement the button text.
Setting this property will set a descriptive text on the button, complementing the text label. This will usually be displayed in a smaller font than the primary text.
Функции доступа:
- QString description () const
- void setDescription ( const QString & description )
flat : bool
This property holds this property determines whether the button is displayed as a flat panel or with a border.
By default, this property is set to false.
Функции доступа:
See also QPushButton::flat.
Описание функций-членов
QCommandLinkButton::QCommandLinkButton ( QWidget * parent = 0 )
Constructs a command link with no text and a parent.
QCommandLinkButton::QCommandLinkButton ( const QString & text, QWidget * parent = 0 )
Constructs a command link with the parent parent and the text text.
QCommandLinkButton::QCommandLinkButton ( const QString & text, const QString & description, QWidget * parent = 0 )
Constructs a command link with a text, a description, and a parent.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) |
Торговые марки |
Qt 4.5.3 |
|