equal
deleted
inserted
replaced
1 import QtQuick 2.7 |
1 import QtQuick 2.7 |
2 import QtQuick.Controls 2.0 |
2 import QtQuick.Controls 2.0 |
3 import QtQuick.Layouts 1.3 |
3 import QtQuick.Layouts 1.3 |
4 |
4 |
5 Item { |
5 Item { |
6 property alias button1: button1 |
6 property alias button1: button1 |
|
7 property alias previewImage: previewImage |
7 |
8 |
8 RowLayout { |
9 RowLayout { |
9 anchors.horizontalCenter: parent.horizontalCenter |
10 anchors.horizontalCenter: parent.horizontalCenter |
10 anchors.topMargin: 20 |
11 anchors.topMargin: 20 |
11 anchors.top: parent.top |
12 anchors.top: parent.top |
13 Button { |
14 Button { |
14 id: button1 |
15 id: button1 |
15 text: qsTr("Run") |
16 text: qsTr("Run") |
16 } |
17 } |
17 } |
18 } |
|
19 |
|
20 Image { |
|
21 id: previewImage |
|
22 x: 188 |
|
23 y: 176 |
|
24 width: 256 |
|
25 height: 128 |
|
26 source: "qrc:/res/iconTime.png" |
|
27 cache: false |
|
28 } |
18 } |
29 } |