aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/install_script.sh
diff options
context:
space:
mode:
authorAngelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>2017-04-25 11:44:14 +0200
committerAngelo Mantellini <angelo.mantellini@irt-systemx.fr>2017-04-25 14:27:35 +0000
commit4ff32ec79cf0ba8ddb8c46f2f36adce379819643 (patch)
treee36c5a489efdc55bbac9da42dfbe6fa0d60c6590 /scripts/install_script.sh
parent13c1de7a419e40af21254da23f11a08f2a59bb4d (diff)
create viper apk
Change-Id: I025e4ef889932c243e99687037a294222fd975c6 Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'scripts/install_script.sh')
-rw-r--r--scripts/install_script.sh55
1 files changed, 55 insertions, 0 deletions
diff --git a/scripts/install_script.sh b/scripts/install_script.sh
new file mode 100644
index 00000000..b160b3c6
--- /dev/null
+++ b/scripts/install_script.sh
@@ -0,0 +1,55 @@
+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.environmentVariable("QT_HOME"));
+ gui.clickButton(buttons.NextButton);
+}
+
+Controller.prototype.ComponentSelectionPageCallback = function() {
+ var widget = gui.currentPageWidget();
+
+ widget.selectAll();
+
+ 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);
+}
+