summaryrefslogtreecommitdiffstats
path: root/doc/noninteractive.qdoc
blob: 1a6be992aeacf96d6b797d2ed09181c7a4d287b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/*!
    \contentspage{index.html}{InstallerFramework}
    \page noninteractive.html

    \title Non Interactive Installation

    \section1 Installer Page Callbacks

    \section2 builtinpages Built-in pages

    \section3 IntroductionPageCallback
    Wizard buttons:
    \list
    \o  Next
    \o  Cancel
    \endlist

    \section3 LicenseAgreementPageCallback
    Wizard buttons:
    \list
    \o Next
    \o Cancel
    \o Back
    \endlist

    Radio buttons:
    \list
    \o acceptLicenseRB (radio button): Accepts the license Agreement (unchecked by default)
    \o rejectLicenseRB (radio button): Rejects the license Agreement (checked by default)
    \endlist

    \section3 TargetDirectoryPageCallback
    Wizard buttons:
    \list
    \o Next
    \o Cancel
    \o Back
    \endlist

    targetDirectoryLE (line edit): The target directory for installation

    \section3 ComponentSelectionPageCallback
    Wizard buttons:
    \list
    \o Next
    \o Cancel
    \o Back
    \endlist

    Methods:
    \list
    \o selectComponent( id ): selects the component with the ID id (string)
    \o deselectComponent( id ): deselects the component with the ID id (string)
    \endlist

    In uninstallation mode, additional controls are available:
    \list
    \o uninstallAllComponentsRB (radio button): Uninstall all components (default)
    \o keepSelectedComponentsRB (radio button): Uninstall only unselected components (deselectComponent/selectComponent to modify them)
    \endlist

    \section3 ReadyForInstallationPageCallback
    Wizard buttons:
    \list
    \o Next ("Install")
    \o Cancel
    \o Back
    \endlist

    \section3 PerformInstallationPage

    details.button (push button): Shows/hides installation details

    Wizard buttons:
    \list
    \o Cancel
    \endlist

    \section3 FinishedPageCallback

    Wizard buttons:
    \list
    \o Finish
    \endlist

    \section2 Custom Pages

    Custom pages are registered as \a{Dynamic${ObjectName}}, where \a{${ObjectName}}
    is the object name set in the UI file.
    Thus the callback called is \a{Dynamic${ObjectName}Callback()}. Widgets can
    be addressed using their object names (from the UI file):
    \code
    var page = pageWidgetByObjectName( "DynamicSomePage" )
    page.myButton.click //direct child of the UI file's widgte
    page.someFancyWidget.subWidget.setText( "foobar" ) // nested widget
    \endcode


    \section1 Message Boxes
    \table
    \header
                      \o Identifier
                      \o Possible Answers
                      \o Description
    \row
                      \o cancelInstallation
                      \o Yes, No
                      \o Confirmation for canceling the installation (Cancel button in the wizard)
    \row
                      \o overwriteTargetDirectory
                      \o Yes, No
                      \o Confirmation to use an already existing directory as target
    \row
                      \o installationError
                      \o Ok
                      \o A fatal error occurred while performing the installation
    \row
                      \o installationErrorWithRetry
                      \o Retry, Ignore, Cancel
                      \o An error occurred while performing the installation, Retry possible
    \row
                      \o metaInfoJobError
                      \o Ok
                      \o Error occurred retrieving meta information (online installer)
    \endtable

*/