mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-29 13:45:17 +03:00
65 lines
1.5 KiB
Text
Executable file
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);
|
|
}
|