1
0

icons, buttons, receivedialog lifecycle

This commit is contained in:
Sander van Grieken
2022-09-27 09:55:06 +02:00
parent 10a1f11a53
commit d50d83e186
5 changed files with 29 additions and 34 deletions

View File

@@ -1,24 +1,6 @@
import QtQuick 2.6
import QtQuick.Controls 2.15
Item {
id: root
property alias text: buttonLabel.text
property alias font: buttonLabel.font
signal clicked
implicitWidth: buttonLabel.width + constants.paddingXXLarge
implicitHeight: buttonLabel.height + constants.paddingXXLarge
Label {
id: buttonLabel
anchors.centerIn: parent
}
MouseArea {
anchors.fill: root
onClicked: root.clicked()
}
TabButton {
checkable: false
}