QCommandLinkButton¶
The
QCommandLinkButton
widget provides a Vista style command link button. More…

Synopsis¶
Functions¶
def
description
()def
setDescription
(description)
Detailed Description¶
The command link is a new control that was introduced by Windows Vista. Its 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
-
class
PySide2.QtWidgets.
QCommandLinkButton
([parent=None])¶ PySide2.QtWidgets.QCommandLinkButton(text[, parent=None])
PySide2.QtWidgets.QCommandLinkButton(text, description[, parent=None])
- param parent
- param description
str
- param text
str
Constructs a command link with no text and a
parent
.Constructs a command link with the parent
parent
and the texttext
.Constructs a command link with a
text
, adescription
, and aparent
.
-
PySide2.QtWidgets.QCommandLinkButton.
description
()¶ - Return type
str
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.
-
PySide2.QtWidgets.QCommandLinkButton.
setDescription
(description)¶ - Parameters
description – str
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.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.