4 SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }
5 color : myPalette.window;
10 signal selectedRow(int nr)
27 width: rectangle1.width
29 anchors.bottom: parent.bottom
30 anchors.top: parent.top
31 highlightResizeSpeed: 1000
34 if ((currentIndex < 0 || currentIndex >= count) && (event.key == Qt.Key_Up || event.key == Qt.Key_Down)){
38 if ((event.key == Qt.Key_Return || event.key == Qt.Key_Enter) && currentIndex >= 0){
39 selectedRow(currentIndex)
44 id: historyListDelegate
46 width: rectangle1.width
47 height: typeText.height
51 historyList.currentIndex = number
60 text: (number+1) +". "+word
61 width: rectangle1.width
66 model: historyTypeModel
75 text: qsTr("History");
76 anchors.horizontalCenterOffset: 19
78 anchors.top: parent.top
79 anchors.horizontalCenter: parent.horizontalCenter