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 033b5a8 commit 033f3ceCopy full SHA for 033f3ce
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
state: "FILLED"
20
@@ -74,6 +76,8 @@ AbstractButton {
74
76
description: root.description
75
77
descriptionSize: 15
78
descriptionMargin: 0
79
+ subtext: root.showErrorText ? root.errorText : ""
80
+ subtextColor: Theme.color.blue
81
}
82
Loader {
83
id: action_loader
0 commit comments