diff options
Diffstat (limited to 'examples/declarative/tutorials/gettingStarted/parts/part5/core')
4 files changed, 7 insertions, 7 deletions
diff --git a/examples/declarative/tutorials/gettingStarted/parts/part5/core/button.qml b/examples/declarative/tutorials/gettingStarted/parts/part5/core/button.qml index aaf619b5..8f1488d1 100644 --- a/examples/declarative/tutorials/gettingStarted/parts/part5/core/button.qml +++ b/examples/declarative/tutorials/gettingStarted/parts/part5/core/button.qml @@ -80,7 +80,7 @@ Rectangle { signal buttonClick() //define the clickable area to be the whole rectangle - MouseArea { + MouseArea { id: buttonMouseArea anchors.fill: parent //stretch the area to the parent's dimension onClicked: buttonClick() diff --git a/examples/declarative/tutorials/gettingStarted/parts/part5/core/fileDialog.qml b/examples/declarative/tutorials/gettingStarted/parts/part5/core/fileDialog.qml index 9f50c73f..b4bf3e24 100644 --- a/examples/declarative/tutorials/gettingStarted/parts/part5/core/fileDialog.qml +++ b/examples/declarative/tutorials/gettingStarted/parts/part5/core/fileDialog.qml @@ -71,7 +71,7 @@ Rectangle { } Text { height: header.height; anchors.centerIn: header - text: "files:" + text: "files:" color: "lightblue" font.weight: Font.Light font.italic: true diff --git a/examples/declarative/tutorials/gettingStarted/parts/part5/core/fileMenu.qml b/examples/declarative/tutorials/gettingStarted/parts/part5/core/fileMenu.qml index b2a34b9b..494f8acb 100644 --- a/examples/declarative/tutorials/gettingStarted/parts/part5/core/fileMenu.qml +++ b/examples/declarative/tutorials/gettingStarted/parts/part5/core/fileMenu.qml @@ -53,7 +53,7 @@ Rectangle { //used to divide the screen into parts. property real partition: 1/3 - color: "#6C646A" + color: "#6C646A" gradient: Gradient { GradientStop { position: 0.0; color: "#6C646A" } GradientStop { position: 1.0; color: Qt.darker("#6A6D6A") } diff --git a/examples/declarative/tutorials/gettingStarted/parts/part5/core/menuBar.qml b/examples/declarative/tutorials/gettingStarted/parts/part5/core/menuBar.qml index 49dc0e0d..78e85080 100644 --- a/examples/declarative/tutorials/gettingStarted/parts/part5/core/menuBar.qml +++ b/examples/declarative/tutorials/gettingStarted/parts/part5/core/menuBar.qml @@ -67,7 +67,7 @@ Rectangle { Text { height: parent.height anchors { right: labelRow.left ; verticalCenter: parent.bottom } - text: "menu: " + text: "menu: " color: "lightblue" font { weight: Font.Light; italic: true } smooth: true @@ -97,13 +97,13 @@ Rectangle { id: editButton height: 20; width: 50 buttonColor : menuListView.currentIndex == 1? Qt.darker(editColor, 1.5) : Qt.darker(editColor, 1.9) - scale: menuListView.currentIndex == 1? 1.25: 1 + scale: menuListView.currentIndex == 1? 1.25: 1 label: "Edit" radius: 1 labelSize: menuListView.currentIndex == 1? 16:12 smooth:true //on a button click, change the list's currently selected item to EditMenu - onButtonClick: menuListView.currentIndex = 1 + onButtonClick: menuListView.currentIndex = 1 gradient: Gradient { GradientStop { position: 0.0; color: editColor } GradientStop { position: 1.0; color: "#136F6F6F" } @@ -123,7 +123,7 @@ Rectangle { //control the movement of the menu switching snapMode: ListView.SnapOneItem orientation: ListView.Horizontal - boundsBehavior: Flickable.StopAtBounds + boundsBehavior: Flickable.StopAtBounds flickDeceleration: 5000 highlightFollowsCurrentItem: true highlightMoveDuration:240 |