2 import QtQuick.Layouts 1.1
3 import QtQuick.Controls 2.0
12 GradientStop { position: 0.0; color: "#12262E" }
13 GradientStop { position: 1.0; color: "#18899B" }
18 topMargin: 10; bottomMargin:10
19 leftMargin: 20; rightMargin: 20
40 elide: Text.ElideRight
41 horizontalAlignment: Label.AlignHCenter
42 verticalAlignment: Label.AlignVCenter
43 Layout.preferredWidth: 960
44 Layout.preferredHeight: 40
48 source: '../images/DividingLine.svg'
49 anchors.left: title.left
50 anchors.top: title.bottom
57 left: parent.left; leftMargin: 20
58 right: parent.right; rightMargin: 20
60 Layout.preferredWidth: 920
61 Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
66 Layout.maximumHeight: 120
67 Layout.maximumWidth: 120
74 maximumLineCount: btn_area.visible ? 4 : 5
75 elide: Text.ElideRight
76 horizontalAlignment: Label.AlignLeft
77 verticalAlignment: Label.AlignVCenter
78 Layout.preferredWidth: 780
79 Layout.preferredHeight: 160
86 visible: btnNum > 0 ? true : false
88 horizontalCenter: parent.horizontalCenter
90 Layout.preferredWidth: parent.width*0.75
91 Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
95 visible: btn1Name == "" ? false : true
98 btn1.highlighted = false
99 eventHandler.onScreenReply(title.text, btn1.text)
102 btn1.highlighted = true
105 btn1.highlighted = false
107 Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
112 visible: btn2Name == "" ? false : true
115 btn2.highlighted = false
116 eventHandler.onScreenReply(title.text, btn2.text)
119 btn2.highlighted = true
122 btn2.highlighted = false
124 Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
129 visible: btn3Name == "" ? false : true
132 btn3.highlighted = false
133 eventHandler.onScreenReply(title.text, btn3.text)
136 btn3.highlighted = true
139 btn3.highlighted = false
141 Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
151 bottom: parent.bottom