Changeset View
Changeset View
Standalone View
Standalone View
src/controls/private/PrivateActionToolButton.qml
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Line(s) | 72 | RowLayout { | |||
---|---|---|---|---|---|
83 | } | 83 | } | ||
84 | Controls.Label { | 84 | Controls.Label { | ||
85 | MnemonicData.enabled: control.enabled | 85 | MnemonicData.enabled: control.enabled | ||
86 | MnemonicData.controlType: MnemonicData.ActionElement | 86 | MnemonicData.controlType: MnemonicData.ActionElement | ||
87 | MnemonicData.label: control.kirigamiAction ? control.kirigamiAction.text : "" | 87 | MnemonicData.label: control.kirigamiAction ? control.kirigamiAction.text : "" | ||
88 | 88 | | |||
89 | text: MnemonicData.richTextLabel | 89 | text: MnemonicData.richTextLabel | ||
90 | visible: control.showText && text.length > 0 | 90 | visible: control.showText && text.length > 0 | ||
91 | color: control.flat || mainIcon.color === Theme.textColor ? Theme.textColor : Theme.highlightedTextColor | ||||
91 | } | 92 | } | ||
92 | Icon { | 93 | Icon { | ||
93 | Layout.minimumWidth: Units.iconSizes.small | 94 | Layout.minimumWidth: Units.iconSizes.small | ||
94 | Layout.minimumHeight: Units.iconSizes.small | 95 | Layout.minimumHeight: Units.iconSizes.small | ||
95 | source: "arrow-down" | 96 | source: "arrow-down" | ||
96 | visible: showMenuArrow && menu.count > 0 | 97 | visible: showMenuArrow && menu.count > 0 | ||
97 | } | 98 | } | ||
98 | } | 99 | } | ||
Show All 9 Lines |