marcin 2014-07-17 13:14:27 +02:00
parent 98c2082808
commit c26e1376db
10 changed files with 26 additions and 24 deletions

View File

@ -13,7 +13,7 @@ Item {
anchors.left: parent.left
height: parent.height - 1
width: 25
radius: 4
//radius: 4
y: 0
color: "#DBDBDB"
}
@ -22,7 +22,7 @@ Item {
anchors.left: parent.left
height: parent.height - 1
width: 25
radius: 4
//radius: 4
y: 1
color: "#FFFFFF"

View File

@ -32,7 +32,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
height: parent.height - 1
radius: 4
//radius: 4
y: 0
color: "#DBDBDB"
}
@ -41,7 +41,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
height: parent.height - 1
radius: 4
//radius: 4
y: 1
color: "#FFFFFF"
@ -204,7 +204,7 @@ Item {
color: "#FFFFFF"
height: datePicker.expanded ? calendar.height : 0
clip: true
radius: 4
//radius: 4
Behavior on height {
NumberAnimation { duration: 100; easing.type: Easing.InQuad }

View File

@ -9,14 +9,14 @@ Item {
anchors.fill: parent
anchors.bottomMargin: 1
color: "#DBDBDB"
radius: 4
//radius: 4
}
Rectangle {
anchors.fill: parent
anchors.topMargin: 1
color: "#FFFFFF"
radius: 4
//radius: 4
}
Input {

View File

@ -11,7 +11,7 @@ Item {
anchors.right: parent.right
anchors.top: parent.top
height: 24
radius: 4
//radius: 4
color: "#DBDBDB"
}
@ -22,7 +22,7 @@ Item {
anchors.top: parent.top
anchors.topMargin: 1
height: 24
radius: 4
//radius: 4
color: "#FFFFFF"
Rectangle {
@ -31,7 +31,7 @@ Item {
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.margins: 4
radius: 2
//radius: 2
width: row.x
color: {

View File

@ -8,14 +8,14 @@ Item {
Rectangle {
anchors.fill: parent
color: "#DBDBDB"
radius: 4
//radius: 4
}
Rectangle {
anchors.fill: parent
anchors.topMargin: 1
color: "#FFFFFF"
radius: 4
//radius: 4
Item {
anchors.top: parent.top

View File

@ -16,7 +16,7 @@ Item {
anchors.right: parent.right
height: parent.height - 1
y: buttonArea.pressed ? 0 : 1
radius: 4
//radius: 4
color: buttonArea.pressed ? parent.shadowPressedColor : parent.shadowReleasedColor
}
@ -26,7 +26,7 @@ Item {
height: parent.height - 1
y: buttonArea.pressed ? 1 : 0
color: buttonArea.pressed ? parent.pressedColor : parent.releasedColor
radius: 4
//radius: 4
}
Text {

View File

@ -39,7 +39,7 @@ Item {
height: parent.height - 1
y: dropdown.expanded || droplist.height > 0 ? 0 : 1
color: dropdown.expanded || droplist.height > 0 ? dropdown.shadowPressedColor : dropdown.shadowReleasedColor
radius: 4
//radius: 4
}
Rectangle {
@ -48,7 +48,7 @@ Item {
height: parent.height - 1
y: dropdown.expanded || droplist.height > 0 ? 1 : 0
color: dropdown.expanded || droplist.height > 0 ? dropdown.pressedColor : dropdown.releasedColor
radius: 4
//radius: 4
}
Rectangle {
@ -135,7 +135,7 @@ Item {
clip: true
height: dropdown.expanded ? column.height : 0
color: dropdown.pressedColor
radius: 4
//radius: 4
Rectangle {
anchors.left: parent.left
@ -169,7 +169,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
height: 30
radius: index === repeater.count - 1 ? 4 : 0
//radius: index === repeater.count - 1 ? 4 : 0
color: itemArea.containsMouse || index === column.currentIndex || itemArea.containsMouse ? dropdown.releasedColor : dropdown.pressedColor
Text {

View File

@ -32,7 +32,7 @@ Item {
anchors.right: parent.right
height: parent.height - 1
y: dropdown.expanded || dropArea.height > 0 ? 0 : 1
radius: 3
//radius: 3
color: dropdown.expanded || dropArea.height > 0 ? "#888888" : "#DBDBDB"
}
@ -41,7 +41,7 @@ Item {
anchors.right: parent.right
height: parent.height - 1
y: dropdown.expanded || dropArea.height > 0 ? 1 : 0
radius: 3
//radius: 3
color: dropdown.expanded || dropArea.height > 0 ? "#DBDBDB" : "#F0EEEE"
}
@ -124,7 +124,7 @@ Item {
anchors.right: parent.right
height: 30
color: delegateArea.containsMouse ? "#F0EEEE" : "#DBDBDB"
radius: index === repeater.count - 1 ? 5 : 0
//radius: index === repeater.count - 1 ? 5 : 0
Rectangle {
anchors.left: parent.left

View File

@ -5,7 +5,7 @@ Rectangle {
width: content.width + 12
height: content.height + 17
color: "#FF6C3C"
radius: 3
//radius: 3
Image {
anchors.top: parent.bottom

View File

@ -33,7 +33,7 @@ Rectangle {
anchors.top: parent.top
anchors.bottom: parent.bottom
width: height
color: appWindow.whatIsEnable || containsMouse ? "#6B0072" : "#000000"
color: containsMouse ? "#6B0072" : "#000000"
Image {
anchors.centerIn: parent
@ -43,7 +43,9 @@ Rectangle {
MouseArea {
id: whatIsArea
anchors.fill: parent
onClicked: appWindow.whatIsEnable = !appWindow.whatIsEnable
onClicked: {
}
}
}