marcin 2014-07-14 16:40:04 +02:00
parent 49bb4516f2
commit 95cec0e2fd
4 changed files with 9 additions and 3 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject> <!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.1.2, 2014-07-13T14:09:13. --> <!-- Written by QtCreator 3.1.2, 2014-07-13T17:44:06. -->
<qtcreator> <qtcreator>
<data> <data>
<variable>ProjectExplorer.Project.ActiveTarget</variable> <variable>ProjectExplorer.Project.ActiveTarget</variable>

View file

@ -93,6 +93,8 @@ Item {
hoverEnabled: true hoverEnabled: true
onEntered: dropdown.expanded = true onEntered: dropdown.expanded = true
onExited: dropdown.expanded = false onExited: dropdown.expanded = false
preventStealing: true
z: 1
Item { Item {
id: dropArea id: dropArea

View file

@ -62,7 +62,10 @@ Row {
id: minimizeArea id: minimizeArea
anchors.fill: parent anchors.fill: parent
hoverEnabled: true hoverEnabled: true
onClicked: appWindow.visibility = Window.Minimized onClicked: {
appWindow.visible = false
appWindow.visibility = Window.Minimized
}
} }
} }

View file

@ -129,7 +129,7 @@ Rectangle {
spacing: 17 spacing: 17
LineEdit { LineEdit {
width: 156 width: parent.width - (checkBox.width + sendButton.width + 2 * parent.spacing)
} }
StandardButton { StandardButton {
@ -143,6 +143,7 @@ Rectangle {
} }
CheckBox { CheckBox {
id: checkBox
text: qsTr("Add to Address book") text: qsTr("Add to Address book")
anchors.bottom: sendButton.bottom anchors.bottom: sendButton.bottom
} }