cutego/internal/ci/iscript.qs
2016-10-05 12:46:59 +02:00

65 lines
1.5 KiB
Text
Executable file

function Controller()
{
installer.wizardPageInsertionRequested.connect(function(widget, page)
{
installer.removeWizardPage(installer.components()[0], "WorkspaceWidget");
})
installer.autoRejectMessageBoxes();
installer.installationFinished.connect(function()
{
gui.clickButton(buttons.NextButton);
})
}
Controller.prototype.WelcomePageCallback = function()
{
gui.clickButton(buttons.NextButton);
}
Controller.prototype.CredentialsPageCallback = function()
{
gui.clickButton(buttons.NextButton);
}
Controller.prototype.IntroductionPageCallback = function()
{
gui.clickButton(buttons.NextButton);
}
Controller.prototype.TargetDirectoryPageCallback = function()
{
gui.clickButton(buttons.NextButton);
}
Controller.prototype.ComponentSelectionPageCallback = function()
{
gui.clickButton(buttons.NextButton);
}
Controller.prototype.LicenseAgreementPageCallback = function()
{
gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true);
gui.clickButton(buttons.NextButton);
}
Controller.prototype.StartMenuDirectoryPageCallback = function()
{
gui.clickButton(buttons.NextButton);
}
Controller.prototype.ReadyForInstallationPageCallback = function()
{
gui.clickButton(buttons.NextButton);
}
Controller.prototype.FinishedPageCallback = function()
{
var checkBox = gui.currentPageWidget().LaunchQtCreatorCheckBoxForm
if (checkBox && checkBox.launchQtCreatorCheckBox)
{
checkBox.launchQtCreatorCheckBox.checked = false;
}
gui.clickButton(buttons.FinishButton);
}