9 SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }
10 color : myPalette.window;
12 function setValue(intiger){
13 console.log("ala value " +intiger);
14 progressbar1.setValue(intiger);
16 function setText(string){
17 console.log("ala text " +string);
20 function setMaximumValue(intiger){
21 console.log("ala max " +intiger);
27 timerUp.running=false;
28 progressbar1.setMax(intiger);
32 signal cancelDownloading();
36 text: qsTr("Downloading dictionaries list");
37 anchors.right: parent.right
38 anchors.left: parent.left
40 horizontalAlignment: Text.AlignHCenter;
45 anchors.top: text.bottom
46 anchors.horizontalCenter: parent.horizontalCenter
54 textInButton: qsTr("Cancel");
55 anchors.top: progressbar1.bottom
56 anchors.right: parent.right
57 anchors.left: parent.left
60 rectangle1.cancelDownloading();
65 property bool progressMax:true;
71 if(progressMax==true){
72 progressbar1.setValue2(0);
76 progressbar1.setValue2(100);