diff options
Diffstat (limited to 'examples/tutorials/gettingStartedQml')
10 files changed, 12 insertions, 16 deletions
diff --git a/examples/tutorials/gettingStartedQml/core/Button.qml b/examples/tutorials/gettingStartedQml/core/Button.qml index 9ea8c6dfff..aa93c55c79 100644 --- a/examples/tutorials/gettingStartedQml/core/Button.qml +++ b/examples/tutorials/gettingStartedQml/core/Button.qml @@ -64,7 +64,7 @@ Rectangle { //set appearance properties radius: 6 - smooth: true + antialiasing: true border { width: 2; color: borderColor } width: buttonWidth; height: buttonHeight diff --git a/examples/tutorials/gettingStartedQml/core/FileDialog.qml b/examples/tutorials/gettingStartedQml/core/FileDialog.qml index 0a4341b868..76a11d1bd5 100644 --- a/examples/tutorials/gettingStartedQml/core/FileDialog.qml +++ b/examples/tutorials/gettingStartedQml/core/FileDialog.qml @@ -55,6 +55,7 @@ Rectangle { Rectangle { id: dirBox radius: 10 + antialiasing: true anchors.centerIn:parent height: parent.height -15; width: parent.width -30 @@ -62,6 +63,7 @@ Rectangle { id:header height: parent.height*0.1; width: parent.width radius:3 + antialiasing: true z:1 gradient: Gradient { GradientStop { position: 0.0; color: "#8C8F8C" } @@ -110,7 +112,7 @@ Rectangle { width: parent.width; height: parent.height anchors.centerIn: parent radius: 10 - smooth: true + antialiasing: true scale: GridView.view.currentIndex == index ? 1 : 0.5 opacity: GridView.view.currentIndex == index ? 1 : 0 Text { @@ -121,7 +123,6 @@ Rectangle { color: "#696167" font.weight: Font.DemiBold font.pointSize: 12 - smooth: true elide: Text.ElideMiddle horizontalAlignment: Text.AlignHCenter } diff --git a/examples/tutorials/gettingStartedQml/core/MenuBar.qml b/examples/tutorials/gettingStartedQml/core/MenuBar.qml index 8d7be29fdd..f1311805b7 100644 --- a/examples/tutorials/gettingStartedQml/core/MenuBar.qml +++ b/examples/tutorials/gettingStartedQml/core/MenuBar.qml @@ -70,7 +70,6 @@ Rectangle { text: "menu: " color: "lightblue" font { weight: Font.Light; italic: true } - smooth: true } //row displays its children in a vertical row Row { @@ -85,7 +84,6 @@ Rectangle { scale: menuListView.currentIndex == 0? 1.25: 1 labelSize: menuListView.currentIndex == 0? 16:12 radius: 1 - smooth:true //on a button click, change the list's currently selected item to FileMenu onButtonClick: menuListView.currentIndex = 0 gradient: Gradient { @@ -101,7 +99,6 @@ Rectangle { 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 gradient: Gradient { diff --git a/examples/tutorials/gettingStartedQml/parts/part1/Button.qml b/examples/tutorials/gettingStartedQml/parts/part1/Button.qml index 118e6fc4d3..15ac50b20e 100644 --- a/examples/tutorials/gettingStartedQml/parts/part1/Button.qml +++ b/examples/tutorials/gettingStartedQml/parts/part1/Button.qml @@ -60,7 +60,7 @@ Rectangle { //set appearance properties radius: 10 - smooth: true + antialiasing: true border{color: "white"; width: 3} width: buttonWidth; height: buttonHeight diff --git a/examples/tutorials/gettingStartedQml/parts/part2/Button.qml b/examples/tutorials/gettingStartedQml/parts/part2/Button.qml index aa178f8bf9..51cfb7dd9c 100644 --- a/examples/tutorials/gettingStartedQml/parts/part2/Button.qml +++ b/examples/tutorials/gettingStartedQml/parts/part2/Button.qml @@ -60,7 +60,7 @@ Rectangle { //set appearance properties radius:10 - smooth: true + antialiasing: true border{color: "white"; width: 3} width: buttonWidth; height: buttonHeight diff --git a/examples/tutorials/gettingStartedQml/parts/part3/Button.qml b/examples/tutorials/gettingStartedQml/parts/part3/Button.qml index aa178f8bf9..51cfb7dd9c 100644 --- a/examples/tutorials/gettingStartedQml/parts/part3/Button.qml +++ b/examples/tutorials/gettingStartedQml/parts/part3/Button.qml @@ -60,7 +60,7 @@ Rectangle { //set appearance properties radius:10 - smooth: true + antialiasing: true border{color: "white"; width: 3} width: buttonWidth; height: buttonHeight diff --git a/examples/tutorials/gettingStartedQml/parts/part4/Button.qml b/examples/tutorials/gettingStartedQml/parts/part4/Button.qml index 7fb4f1e536..830e3efe5d 100644 --- a/examples/tutorials/gettingStartedQml/parts/part4/Button.qml +++ b/examples/tutorials/gettingStartedQml/parts/part4/Button.qml @@ -62,7 +62,7 @@ Rectangle { //set appearance properties radius:10 - smooth: true + antialiasing: true border.color: "white" border.width: 3 width: buttonWidth; height: buttonHeight diff --git a/examples/tutorials/gettingStartedQml/parts/part5/core/Button.qml b/examples/tutorials/gettingStartedQml/parts/part5/core/Button.qml index f6dd54ac9a..9ed4ee9fdd 100644 --- a/examples/tutorials/gettingStartedQml/parts/part5/core/Button.qml +++ b/examples/tutorials/gettingStartedQml/parts/part5/core/Button.qml @@ -63,7 +63,7 @@ Rectangle { property real labelSize: 14 //set appearance properties radius:6 - smooth: true + antialiasing: true border.width: 2 border.color: borderColor width: buttonWidth; height: buttonHeight diff --git a/examples/tutorials/gettingStartedQml/parts/part5/core/FileDialog.qml b/examples/tutorials/gettingStartedQml/parts/part5/core/FileDialog.qml index af83ef5e63..2d7e0fe3f9 100644 --- a/examples/tutorials/gettingStartedQml/parts/part5/core/FileDialog.qml +++ b/examples/tutorials/gettingStartedQml/parts/part5/core/FileDialog.qml @@ -55,6 +55,7 @@ Rectangle { Rectangle{ id: dirBox radius: 10 + antialiasing: true anchors.centerIn:parent height: parent.height -15; width: parent.width -30 @@ -63,6 +64,7 @@ Rectangle { height:parent.height*0.1 width: parent.width radius:3 + antialiasing: true z:1 gradient: Gradient { GradientStop { position: 0.0; color: "#8C8F8C" } @@ -117,7 +119,7 @@ Rectangle { width:parent.width; height:parent.height anchors.centerIn: parent radius: 10 - smooth: true + antialiasing: true scale: GridView.view.currentIndex == index ? 1 : 0.5 opacity: GridView.view.currentIndex == index ? 1 : 0 Text{ @@ -128,7 +130,6 @@ Rectangle { color: "#696167" font.weight: Font.DemiBold font.pointSize: 12 - smooth:true elide: Text.ElideMiddle horizontalAlignment: Text.AlignHCenter } diff --git a/examples/tutorials/gettingStartedQml/parts/part5/core/MenuBar.qml b/examples/tutorials/gettingStartedQml/parts/part5/core/MenuBar.qml index 4a13f59dac..186eb20891 100644 --- a/examples/tutorials/gettingStartedQml/parts/part5/core/MenuBar.qml +++ b/examples/tutorials/gettingStartedQml/parts/part5/core/MenuBar.qml @@ -70,7 +70,6 @@ Rectangle { text: "menu: " color: "lightblue" font {weight: Font.Light; italic: true} - smooth: true } //row displays its children in a vertical row @@ -86,7 +85,6 @@ Rectangle { scale: menuListView.currentIndex == 0? 1.25: 1 labelSize: menuListView.currentIndex == 0? 16:12 radius: 1 - smooth:true //on a button click, change the list's currently selected item to FileMenu onButtonClick: menuListView.currentIndex = 0 gradient: Gradient{ @@ -102,7 +100,6 @@ Rectangle { 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 gradient: Gradient{ |