import Qt 4.7
Rectangle {
+ id: rectangle1
+ color: myPalette.base
+ anchors.fill: parent
function changeWordState(nr, state) {
- console.log("LOOOOOL")
wordList.currentIndex = nr
wordModel.setModelProperty(wordList.currentIndex, state, "isBookmarked")
+ }
+ function changeWordStateByIndex() {
+ wordModel.setModelPropertyByIndex(wordList.currentIndex, "isBookmarked")
}
function setEnabled(Boolean) { wordList.enabled = Boolean }
}
signal wordSelected(string word);
+ signal wordSelectedByIndex(int nr);
+ signal checkFocus();
SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }