on xenial help sign in
Fix tests
acf78dbAndrea Cimitan
tests/plugins/Dash/cardcreator/1.res+1
@@ -3,6 +3,7 @@ AbstractButton {
3 property var template;
3 property var template;
4 property var components;
4 property var components;
5 property var cardData;
5 property var cardData;
6+ property var artShapeBorderSource;
6 property real fontScale: 1.0;
7 property real fontScale: 1.0;
7 property int headerAlignment: Text.AlignLeft;
8 property int headerAlignment: Text.AlignLeft;
8 property int fixedHeaderHeight: -1;
9 property int fixedHeaderHeight: -1;
tests/plugins/Dash/cardcreator/2.res+1
@@ -3,6 +3,7 @@ AbstractButton {
3 property var template;
3 property var template;
4 property var components;
4 property var components;
5 property var cardData;
5 property var cardData;
6+ property var artShapeBorderSource;
6 property real fontScale: 1.0;
7 property real fontScale: 1.0;
7 property int headerAlignment: Text.AlignLeft;
8 property int headerAlignment: Text.AlignLeft;
8 property int fixedHeaderHeight: -1;
9 property int fixedHeaderHeight: -1;
tests/plugins/Dash/cardcreator/3.res+2
@@ -3,6 +3,7 @@ AbstractButton {
3 property var template;
3 property var template;
4 property var components;
4 property var components;
5 property var cardData;
5 property var cardData;
6+ property var artShapeBorderSource;
6 property real fontScale: 1.0;
7 property real fontScale: 1.0;
7 property int headerAlignment: Text.AlignLeft;
8 property int headerAlignment: Text.AlignLeft;
8 property int fixedHeaderHeight: -1;
9 property int fixedHeaderHeight: -1;
@@ -32,6 +33,7 @@ Item {
32 Component.onCompleted: updateWidthHeightBindings();
33 Component.onCompleted: updateWidthHeightBindings();
33 onAspectSmallerThanImageAspectChanged: updateWidthHeightBindings();
34 onAspectSmallerThanImageAspectChanged: updateWidthHeightBindings();
34 visible: image.status == Image.Ready;
35 visible: image.status == Image.Ready;
36+ borderSource: artShapeBorderSource;
35 function updateWidthHeightBindings() {
37 function updateWidthHeightBindings() {
36 if (aspectSmallerThanImageAspect) {
38 if (aspectSmallerThanImageAspect) {
37 width = Qt.binding(function() { return !visible ? 0 : image.width });
39 width = Qt.binding(function() { return !visible ? 0 : image.width });
tests/plugins/Dash/cardcreator/4.res+1
@@ -3,6 +3,7 @@ AbstractButton {
3 property var template;
3 property var template;
4 property var components;
4 property var components;
5 property var cardData;
5 property var cardData;
6+ property var artShapeBorderSource;
6 property real fontScale: 1.0;
7 property real fontScale: 1.0;
7 property int headerAlignment: Text.AlignLeft;
8 property int headerAlignment: Text.AlignLeft;
8 property int fixedHeaderHeight: -1;
9 property int fixedHeaderHeight: -1;
tests/plugins/Dash/cardcreator/5.res+2
@@ -3,6 +3,7 @@ AbstractButton {
3 property var template;
3 property var template;
4 property var components;
4 property var components;
5 property var cardData;
5 property var cardData;
6+ property var artShapeBorderSource;
6 property real fontScale: 1.0;
7 property real fontScale: 1.0;
7 property int headerAlignment: Text.AlignLeft;
8 property int headerAlignment: Text.AlignLeft;
8 property int fixedHeaderHeight: -1;
9 property int fixedHeaderHeight: -1;
@@ -32,6 +33,7 @@ Item {
32 Component.onCompleted: updateWidthHeightBindings();
33 Component.onCompleted: updateWidthHeightBindings();
33 onAspectSmallerThanImageAspectChanged: updateWidthHeightBindings();
34 onAspectSmallerThanImageAspectChanged: updateWidthHeightBindings();
34 visible: image.status == Image.Ready;
35 visible: image.status == Image.Ready;
36+ borderSource: artShapeBorderSource;
35 function updateWidthHeightBindings() {
37 function updateWidthHeightBindings() {
36 if (aspectSmallerThanImageAspect) {
38 if (aspectSmallerThanImageAspect) {
37 width = Qt.binding(function() { return !visible ? 0 : image.width });
39 width = Qt.binding(function() { return !visible ? 0 : image.width });