2016-10-04 20:38:53 +03:00
|
|
|
function Controller()
|
|
|
|
{
|
2016-10-05 13:46:59 +03:00
|
|
|
installer.wizardPageInsertionRequested.connect(function(widget, page)
|
|
|
|
{
|
|
|
|
installer.removeWizardPage(installer.components()[0], "WorkspaceWidget");
|
|
|
|
})
|
|
|
|
|
2016-10-04 20:38:53 +03:00
|
|
|
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);
|
|
|
|
}
|