summaryrefslogtreecommitdiffstats
path: root/tests/auto/installer/scriptengine/data/auto-install.qs
blob: 8504cd08a6c796e34886b9b198525a50d327a827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
function Controller()
{
    installer.setMessageBoxAutomaticAnswer("OverwriteTargetDirectory", QMessageBox.Yes);
    installer.setValue("GuiTestValue", "hello");
}

Controller.prototype.IntroductionPageCallback = function()
{
    var widget = gui.currentPageWidget();
    var updaterRadioButton = widget.findChild("UpdaterRadioButton");
    updaterRadioButton.checked = true;
    gui.clickButton(buttons.NextButton);
}

Controller.prototype.ComponentSelectionPageCallback = function()
{
    var notExistingButtonId = 9999999;
    gui.clickButton(notExistingButtonId);
}

Controller.prototype.FinishedPageCallback = function()
{
    print("FinishedPageCallback - OK")
}