Split HButton components, add HMenu/HMenuItem

This commit is contained in:
miruka
2019-08-21 15:45:13 -04:00
parent 6067c8ec96
commit ed96409645
13 changed files with 129 additions and 65 deletions

View File

@@ -71,7 +71,7 @@ HRectangle {
HButton {
id: button
text: modelData.text
iconName: modelData.iconName
icon.name: modelData.iconName
onClicked: buttonCallbacks[modelData.name](button)
Layout.preferredHeight: theme.baseElementsHeight