9 SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }
10 color : myPalette.window;
12 function setValue(intiger){
13 progressbar1.setValue(intiger);
15 function setText(string){
18 function setMaximumValue(intiger){
24 timerUp.running=false;
25 progressbar1.setMax(intiger);
29 signal cancelDownloading();
33 text: qsTr("Downloading dictionaries list");
34 anchors.right: parent.right
35 anchors.left: parent.left
37 horizontalAlignment: Text.AlignHCenter;
42 anchors.top: text.bottom
43 anchors.horizontalCenter: parent.horizontalCenter
51 textInButton: qsTr("Cancel");
52 anchors.top: progressbar1.bottom
53 anchors.right: parent.right
54 anchors.left: parent.left
56 rectangle1.cancelDownloading();
61 property bool progressMax:true;
67 if(progressMax==true){
68 progressbar1.setValue2(0);
72 progressbar1.setValue2(100);