We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ba7b4 commit 0e8c33eCopy full SHA for 0e8c33e
src/qml/controls/Setting.qml
@@ -13,6 +13,8 @@ AbstractButton {
13
property alias actionItem: action_loader.sourceComponent
14
property alias loadedItem: action_loader.item
15
property string description
16
+ property string errorText: ""
17
+ property bool showErrorText: false
18
property color stateColor
19
hoverEnabled: true
20
state: "FILLED"
@@ -83,6 +85,8 @@ AbstractButton {
83
85
description: root.description
84
86
descriptionSize: 15
87
descriptionMargin: 0
88
+ subtext: root.showErrorText ? root.errorText : ""
89
+ subtextColor: Theme.color.blue
90
}
91
Loader {
92
id: action_loader
0 commit comments