4 SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }
5 color : myPalette.window;
12 signal dictLink(string link);
13 signal fromChange(string value);
14 signal toChange(string value)
17 function setFromStartValues(startFrom, startTo, startFromIndex, startToIndex){
18 comboFrom.setStartValue(startFrom, startFromIndex)
19 comboTo.setStartValue(startTo, startToIndex)
22 function setToStartValues(startFrom, startTo, startFromIndex, startToIndex){
23 comboFrom.setStartValue(startFrom, startFromIndex)
24 comboTo.setStartValue(startTo, startToIndex)
32 comboTo.expanded=false;
33 comboFrom.expanded=false;
40 anchors.right: comboFromField.right
41 anchors.left: comboFromField.left
42 parentField: comboFromField
57 onValueSelected: rectangle1.fromChange(value)
63 anchors.right: comboToField.right
64 anchors.left: comboToField.left
65 parentField: comboToField
80 onValueSelected: rectangle1.toChange(value)
86 anchors.left: fromLabel.right
88 anchors.bottom: parent.bottom
89 anchors.bottomMargin: 10
90 anchors.top: parent.top
96 anchors.left: toLabel.right
98 anchors.bottom: parent.bottom
99 anchors.bottomMargin: 10
100 anchors.top: parent.top
105 text: qsTr("From: ");
106 anchors.top: parent.top
114 anchors.left: comboFrom.right
115 anchors.leftMargin: 15
116 anchors.verticalCenterOffset: 0
117 anchors.verticalCenter: fromLabel.verticalCenter
123 anchors.topMargin: 30
126 id: horizontalScrollBar1
128 width: parent.width-12;
129 windowHeight: parent.height
130 anchors.left: parent.left
131 orientation: Qt.Horizontal
135 id: horizontalScrollBar2
137 width: parent.width-12;
138 windowHeight: parent.height
139 anchors.left: horizontalScrollBar1.left
140 anchors.leftMargin: horizontalScrollBar1.position
141 orientation: Qt.Horizontal
145 id: horizontalScrollBar3
147 width: parent.width-12;
148 windowHeight: parent.height
149 anchors.left: horizontalScrollBar2.left
150 anchors.leftMargin: horizontalScrollBar2.position
151 orientation: Qt.Horizontal
157 width: rectangle1.width
159 anchors.top: parent.top
160 anchors.bottom: parent.bottom
161 highlightResizeSpeed: 1000
166 width: rectangle1.width
172 width: horizontalScrollBar1.position
173 height: parent.height
175 gradient: Gradient { GradientStop { position: 0.3; color: "#a0cbec" } GradientStop { position: 0.99; color: "#35a0f1" } }
180 elide: Text.ElideRight
182 anchors.centerIn: parent
187 width: horizontalScrollBar2.position
188 height: parent.height
190 gradient: Gradient { GradientStop { position: 0.3; color: "#a0cbec" } GradientStop { position: 0.99; color: "#35a0f1" } }
195 elide: Text.ElideRight
197 anchors.centerIn: parent
202 width: horizontalScrollBar3.position
203 height: parent.height
205 gradient: Gradient { GradientStop { position: 0.3; color: "#a0cbec" } GradientStop { position: 0.99; color: "#35a0f1" } }
210 elide: Text.ElideRight
212 anchors.centerIn: parent
218 height: parent.height
220 gradient: Gradient { GradientStop { position: 0.3; color: "#a0cbec" } GradientStop { position: 0.99; color: "#35a0f1" } }
225 elide: Text.ElideRight
227 anchors.centerIn: parent
237 width: rectangle1.width
238 height:nameText.height
242 dictList.currentIndex = index
245 rectangle1.dictLink(link)
253 width: horizontalScrollBar1.position
254 elide: Text.ElideRight
260 width: horizontalScrollBar2.position
261 elide: Text.ElideRight
267 width: horizontalScrollBar3.position
268 elide: Text.ElideRight
274 elide: Text.ElideRight