|
|
|
|
@ -29,7 +29,21 @@ Dialog {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
header: ColumnLayout { |
|
|
|
|
header: Item { |
|
|
|
|
implicitWidth: rootLayout.implicitWidth |
|
|
|
|
implicitHeight: rootLayout.implicitHeight |
|
|
|
|
|
|
|
|
|
MouseArea { |
|
|
|
|
anchors.fill: parent |
|
|
|
|
onClicked: { |
|
|
|
|
// hack to allow titlebar click to remove on screen keyboard by |
|
|
|
|
// moving focus to label |
|
|
|
|
titleLabel.forceActiveFocus() |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ColumnLayout { |
|
|
|
|
id: rootLayout |
|
|
|
|
spacing: 0 |
|
|
|
|
|
|
|
|
|
RowLayout { |
|
|
|
|
@ -46,6 +60,7 @@ Dialog {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Label { |
|
|
|
|
id: titleLabel |
|
|
|
|
text: title |
|
|
|
|
elide: Label.ElideRight |
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
@ -66,5 +81,5 @@ Dialog {
|
|
|
|
|
color: Qt.rgba(0,0,0,0.5) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|