Compare commits
2 commits
4be92a07e3
...
20c1ed005e
Author | SHA1 | Date | |
---|---|---|---|
20c1ed005e | |||
d8534d1e0d |
4 changed files with 26 additions and 8 deletions
|
@ -132,8 +132,6 @@ Button {
|
||||||
color: sysPalette.windowText
|
color: sysPalette.windowText
|
||||||
}
|
}
|
||||||
|
|
||||||
//text: content
|
|
||||||
|
|
||||||
ToolTip.visible: hovered
|
ToolTip.visible: hovered
|
||||||
ToolTip.delay: 200
|
ToolTip.delay: 200
|
||||||
ToolTip.text: content
|
ToolTip.text: content
|
||||||
|
|
|
@ -61,8 +61,6 @@ Popup.BaseDialog {
|
||||||
minimumHeight: Math.max(450,dlgProperties.height + margin*4 + 30)
|
minimumHeight: Math.max(450,dlgProperties.height + margin*4 + 30)
|
||||||
maximumHeight: minimumHeight
|
maximumHeight: minimumHeight
|
||||||
|
|
||||||
// Disable closing on return/enter, causing issues with autocomplete.
|
|
||||||
// onActionChosen: if(action.key == Qt.Key_Enter || action.key == Qt.Key_Return) action.accepted = false
|
|
||||||
Item {
|
Item {
|
||||||
anchors {
|
anchors {
|
||||||
top: parent.top;
|
top: parent.top;
|
||||||
|
@ -77,7 +75,7 @@ Popup.BaseDialog {
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
id: dlgProperties
|
id: dlgProperties
|
||||||
anchors.top: dlgTitle.bottom
|
anchors.top: parent.top
|
||||||
width: objEditor.width - 20
|
width: objEditor.width - 20
|
||||||
spacing: 10
|
spacing: 10
|
||||||
|
|
||||||
|
|
|
@ -74,12 +74,23 @@ Popup {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
id: bottomSeparator
|
||||||
|
opacity: 0.3
|
||||||
|
color: sysPalette.windowText
|
||||||
|
width: parent.width * 2 / 3
|
||||||
|
height: 1
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
anchors.bottom: doneBtn.top
|
||||||
|
anchors.bottomMargin: 7
|
||||||
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
id: doneBtn
|
id: doneBtn
|
||||||
text: qsTr("Done")
|
text: qsTr("Done")
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: 10
|
anchors.bottomMargin: 7
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
onClicked: changelogPopup.close()
|
onClicked: changelogPopup.close()
|
||||||
}
|
}
|
||||||
|
|
|
@ -188,10 +188,21 @@ Popup {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
id: bottomSeparator
|
||||||
|
opacity: 0.3
|
||||||
|
color: sysPalette.windowText
|
||||||
|
width: parent.width * 2 / 3
|
||||||
|
height: 1
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
anchors.bottom: bottomButtons.top
|
||||||
|
anchors.bottomMargin: 9
|
||||||
|
}
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
id: bottomButtons
|
id: bottomButtons
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: 10
|
anchors.bottomMargin: 7
|
||||||
spacing: 10
|
spacing: 10
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue