QCommandLinkButton Class ReferenceThe QCommandLinkButton widget provides a Vista style command link button. Далее... #include <QCommandLinkButton> Inherits: QPushButton. Этот класс был введён в Qt 4.4. Свойства
Открытые функции
Переопределённые защищённые функции
Дополнительные унаследованные члены
Подробное описание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. Описание свойствdescription : QStringThis 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. Функции доступа:
flat : boolThis 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. bool QCommandLinkButton::event ( QEvent * e ) [virtual protected]Переопределено от QObject::event(). int QCommandLinkButton::heightForWidth ( int width ) const [virtual protected]Переопределено от QWidget::heightForWidth(). QSize QCommandLinkButton::minimumSizeHint () const [virtual protected]Переопределено от QWidget::minimumSizeHint(). void QCommandLinkButton::paintEvent ( QPaintEvent * ) [virtual protected]Переопределено от QWidget::paintEvent(). QSize QCommandLinkButton::sizeHint () const [virtual protected]Переопределено от QWidget::sizeHint(). |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |