Last active
October 3, 2017 05:44
-
-
Save waicool20/f5d00e90e3186fb09404f609ea5f078d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Controller() { | |
| 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.currentPageWidget().TargetDirectoryLineEdit.setText(installer.value("HomeDir") + "/Qt"); | |
| gui.clickButton(buttons.NextButton); | |
| } | |
| Controller.prototype.ComponentSelectionPageCallback = function() { | |
| var widget = gui.currentPageWidget(); | |
| widget.deselectAll(); | |
| widget.selectComponent("qt.591.gcc_64"); | |
| widget.selectComponent("qt.591.qtwebengine"); | |
| 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 checkBoxForm = gui.currentPageWidget().LaunchQtCreatorCheckBoxForm | |
| if (checkBoxForm && checkBoxForm.launchQtCreatorCheckBox) { | |
| checkBoxForm.launchQtCreatorCheckBox.checked = false; | |
| } | |
| gui.clickButton(buttons.FinishButton); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment