on xenial help sign in
Fix card result
4e4313bYing-Chun Liu
tests/plugins/Dash/cardcreator/1.res+1
@@ -13,6 +13,7 @@ AbstractButton {
13 property bool asynchronous: true;
13 property bool asynchronous: true;
14 property bool showHeader: true;
14 property bool showHeader: true;
15 implicitWidth: childrenRect.width;
15 implicitWidth: childrenRect.width;
16+ enabled: template == null || (template["non-interactive"] !== undefined ? !template["non-interactive"] : true);
16onArtShapeBorderSourceChanged: { if (artShapeBorderSource !== undefined && artShapeLoader.item) artShapeLoader.item.borderSource = artShapeBorderSource; }
17onArtShapeBorderSourceChanged: { if (artShapeBorderSource !== undefined && artShapeLoader.item) artShapeLoader.item.borderSource = artShapeBorderSource; }
17readonly property size artShapeSize: artShapeLoader.item ? Qt.size(artShapeLoader.item.width, artShapeLoader.item.height) : Qt.size(-1, -1);
18readonly property size artShapeSize: artShapeLoader.item ? Qt.size(artShapeLoader.item.width, artShapeLoader.item.height) : Qt.size(-1, -1);
18Item {
19Item {
tests/plugins/Dash/cardcreator/2.res+1
@@ -13,6 +13,7 @@ AbstractButton {
13 property bool asynchronous: true;
13 property bool asynchronous: true;
14 property bool showHeader: true;
14 property bool showHeader: true;
15 implicitWidth: childrenRect.width;
15 implicitWidth: childrenRect.width;
16+ enabled: template == null || (template["non-interactive"] !== undefined ? !template["non-interactive"] : true);
16Loader {
17Loader {
17 id: backgroundLoader;
18 id: backgroundLoader;
18 objectName: "backgroundLoader";
19 objectName: "backgroundLoader";
tests/plugins/Dash/cardcreator/3.res+1
@@ -13,6 +13,7 @@ AbstractButton {
13 property bool asynchronous: true;
13 property bool asynchronous: true;
14 property bool showHeader: true;
14 property bool showHeader: true;
15 implicitWidth: childrenRect.width;
15 implicitWidth: childrenRect.width;
16+ enabled: template == null || (template["non-interactive"] !== undefined ? !template["non-interactive"] : true);
16onArtShapeBorderSourceChanged: { if (artShapeBorderSource !== undefined && artShapeLoader.item) artShapeLoader.item.borderSource = artShapeBorderSource; }
17onArtShapeBorderSourceChanged: { if (artShapeBorderSource !== undefined && artShapeLoader.item) artShapeLoader.item.borderSource = artShapeBorderSource; }
17readonly property size artShapeSize: artShapeLoader.item ? Qt.size(artShapeLoader.item.width, artShapeLoader.item.height) : Qt.size(-1, -1);
18readonly property size artShapeSize: artShapeLoader.item ? Qt.size(artShapeLoader.item.width, artShapeLoader.item.height) : Qt.size(-1, -1);
18Item {
19Item {
tests/plugins/Dash/cardcreator/4.res+1
@@ -13,6 +13,7 @@ AbstractButton {
13 property bool asynchronous: true;
13 property bool asynchronous: true;
14 property bool showHeader: true;
14 property bool showHeader: true;
15 implicitWidth: childrenRect.width;
15 implicitWidth: childrenRect.width;
16+ enabled: template == null || (template["non-interactive"] !== undefined ? !template["non-interactive"] : true);
16readonly property size artShapeSize: Qt.size(-1, -1);
17readonly property size artShapeSize: Qt.size(-1, -1);
17readonly property int headerHeight: row.height;
18readonly property int headerHeight: row.height;
18Row {
19Row {
tests/plugins/Dash/cardcreator/5.res+1
@@ -13,6 +13,7 @@ AbstractButton {
13 property bool asynchronous: true;
13 property bool asynchronous: true;
14 property bool showHeader: true;
14 property bool showHeader: true;
15 implicitWidth: childrenRect.width;
15 implicitWidth: childrenRect.width;
16+ enabled: template == null || (template["non-interactive"] !== undefined ? !template["non-interactive"] : true);
16onArtShapeBorderSourceChanged: { if (artShapeBorderSource !== undefined && artShapeLoader.item) artShapeLoader.item.borderSource = artShapeBorderSource; }
17onArtShapeBorderSourceChanged: { if (artShapeBorderSource !== undefined && artShapeLoader.item) artShapeLoader.item.borderSource = artShapeBorderSource; }
17readonly property size artShapeSize: artShapeLoader.item ? Qt.size(artShapeLoader.item.width, artShapeLoader.item.height) : Qt.size(-1, -1);
18readonly property size artShapeSize: artShapeLoader.item ? Qt.size(artShapeLoader.item.width, artShapeLoader.item.height) : Qt.size(-1, -1);
18Item {
19Item {
tests/plugins/Dash/cardcreator/6.res+1
@@ -13,6 +13,7 @@ AbstractButton {
13 property bool asynchronous: true;
13 property bool asynchronous: true;
14 property bool showHeader: true;
14 property bool showHeader: true;
15 implicitWidth: childrenRect.width;
15 implicitWidth: childrenRect.width;
16+ enabled: template == null || (template["non-interactive"] !== undefined ? !template["non-interactive"] : true);
16Loader {
17Loader {
17 id: backgroundLoader;
18 id: backgroundLoader;
18 objectName: "backgroundLoader";
19 objectName: "backgroundLoader";
tests/plugins/Dash/cardcreator/7.res+1
@@ -13,6 +13,7 @@ AbstractButton {
13 property bool asynchronous: true;
13 property bool asynchronous: true;
14 property bool showHeader: true;
14 property bool showHeader: true;
15 implicitWidth: childrenRect.width;
15 implicitWidth: childrenRect.width;
16+ enabled: template == null || (template["non-interactive"] !== undefined ? !template["non-interactive"] : true);
16Loader {
17Loader {
17 id: backgroundLoader;
18 id: backgroundLoader;
18 objectName: "backgroundLoader";
19 objectName: "backgroundLoader";