15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 QScrollArea#dialogArea { |
18 QScrollArea#dialogArea { |
19 /* General size parameters for all installer dialogs */ |
19 /* General size parameters for all installer dialogs */ |
20 |
|
21 /* this depends on display; NHD portrait width:360px and height:640px used */ |
20 /* this depends on display; NHD portrait width:360px and height:640px used */ |
22 /* Note that popup width and height is according to portrait dimensions, and is the same in portrait and landscape */ |
21 /* Note that popup width and height is according to portrait dimensions, and is the same in portrait and landscape */ |
23 width: 346.6px; /*expr(var(hb-param-screen-short-edge)- 2*var(hb-param-margin-gene-screen)); /* 2un*/ |
22 width: 346.6px; /*expr(var(hb-param-screen-short-edge)- 2*var(hb-param-margin-gene-screen)); /* 2un*/ |
24 /*height: /*the size of MessageBox with 3-5 rows of text? */ |
23 /*height: /*the size of MessageBox with 3-5 rows of text? */ |
25 max-height: 626.6px; /*expr(var(hb-param-long-edge)-2*var(hb-param-margin-gene-screen)); |
24 max-height: 626.6px; /*expr(var(hb-param-long-edge)-2*var(hb-param-margin-gene-screen)); |
26 /*position: vertically and horizontally centre of screen - is this needed?*/ |
25 /*position: vertically and horizontally centre of screen - is this needed?*/ |
|
26 border: 1px solid; |
|
27 border-radius: 7px; |
|
28 } |
|
29 |
|
30 QScrollArea#headingArea { |
|
31 /* Heading area style for installation dialogs. */ |
|
32 border: 1px solid; |
|
33 border-top-left-radius: 7px; |
|
34 border-top-right-radius: 7px; |
|
35 } |
|
36 |
|
37 QScrollArea#contentArea { |
|
38 /* Content area style for installation dialogs. */ |
|
39 padding-top: 10px; |
|
40 padding-bottom: 10px; |
|
41 } |
|
42 |
|
43 QScrollArea#commandButtonArea { |
|
44 /* Command button area style for installation dialogs. */ |
|
45 border: 1px solid; |
|
46 border-bottom-left-radius: 7px; |
|
47 border-bottom-right-radius: 7px; |
27 } |
48 } |
28 |
49 |
29 QScrollArea#appInfoArea { |
50 QScrollArea#appInfoArea { |
30 /* This is valid for all installation query application details, |
51 /* This is valid for all installation dialog application details, |
31 * and also for application details in short error message */ |
52 * and also for application details in short error message */ |
32 /* (ViewBase) */ |
|
33 /* Note: this text area becomes scrollable if there are more text |
53 /* Note: this text area becomes scrollable if there are more text |
34 * that can be displayed at one time (this could be also QAbstractScrollArea?)*/ |
54 * that can be displayed at a time. */ |
35 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
55 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
36 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
56 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
37 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
57 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
38 margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
58 margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
39 } |
59 } |
40 |
60 |
41 QLabel#appInfoLabel { |
61 QLabel#appInfoLabel { |
42 /* The font size of application details; each detail is its own label */ |
62 font-size: 20px; |
43 font-size: 23.45px; /*hb-param-text-height-secondary; /*3.5un*/ |
|
44 } |
63 } |
45 |
64 |
46 QLabel#heading { |
65 QLabel#heading { |
47 /* Any installation query heading text: its text size, and top/left margins */ |
66 /* Any installation dialog heading text. */ |
48 font-size: 26.8px; /*hb-param-text-height-primary;/*4un*/ |
|
49 font-weight: bold; |
67 font-weight: bold; |
50 max-height: 53.6px; /*expr(var(hb-param-text-height-primary)+2*var(hb-param-margin-gene-popup)) - same as hb-param-widget-popup-heading-height;*/ |
68 max-height: 53.6px; /*expr(var(hb-param-text-height-primary)+2*var(hb-param-margin-gene-popup)) - same as hb-param-widget-popup-heading-height;*/ |
51 margin-top: 13.4px; /*hb-param-margin-gene-top; /*2un*/ |
69 margin-top: 13.4px; /*hb-param-margin-gene-top; /*2un*/ |
52 margin-left: 13.4px; /*hb-param-margin-gene-left; /*2un*/ |
70 margin-left: 13.4px; /*hb-param-margin-gene-left; /*2un*/ |
|
71 padding-bottom: 13.4px; |
53 } |
72 } |
54 |
73 |
55 QLabel#contentIcon { |
74 QLabel#contentIcon { |
56 /* This is valid for all icons displayed in the installation query content area */ |
75 /* This is valid for all icons displayed in the |
57 /* Application icon, question icon, error icon in installation error dialog etc */ |
76 * installation dialog content area; |
|
77 * application icon, question icon, error icon in |
|
78 * installation error dialog, etc. */ |
58 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
79 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
59 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
80 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
60 /* size of icon - fixed size */ |
81 /* size of icon - fixed size */ |
61 min-width: 53.6px; /*hb-param-graphic-size-primary-large;/*8un*/ |
82 min-width: 53.6px; /*hb-param-graphic-size-primary-large;/*8un*/ |
62 max-width: 53.6px; /*hb-param-graphic-size-primary-large;/*8un*/ |
83 max-width: 53.6px; /*hb-param-graphic-size-primary-large;/*8un*/ |
63 min-height: 53.6px; /* hb-param-graphic-size-primary-large;/*8un*/ |
84 min-height: 53.6px; /* hb-param-graphic-size-primary-large;/*8un*/ |
64 max-height: 53.6px; /* hb-param-graphic-size-primary-large;/*8un*/ |
85 max-height: 53.6px; /* hb-param-graphic-size-primary-large;/*8un*/ |
65 } |
86 } |
66 |
87 |
67 QComboBox#driveSelector{ |
88 QComboBox#driveSelector{ |
68 /* Combo box in installationquery. Need to define the top margin at least (InstallConfirmationView). */ |
89 /* Combo box in installation dialog. */ |
69 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
90 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
70 } |
91 } |
71 |
92 |
72 QProgressBar#progressBar{ |
93 QProgressBar#progressBar{ |
73 /* Progress bar in installationquery. Need to define the top margin at least (ProgressView). */ |
94 /* Progress bar in installation dialog. */ |
74 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
95 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
75 } |
96 } |
76 |
97 |
77 QLabel#permissionDetails{ |
98 QLabel#permissionDetails{ |
78 /* String that requests access for protected functionality in permission query */ |
99 /* String that requests access for protected functionality |
79 /* (PermissionInfo) */ |
100 * in permission query. */ |
80 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
101 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
81 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
102 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
82 } |
103 } |
83 |
104 |
84 QLabel#errorLabel{ |
105 QLabel#errorLabel{ |
85 /* short error message from USIF (note: this is not Java specific error message but |
106 /* Short error message (note: this is not Java specific error message but |
86 * common to all installers), (ErrorView) */ |
107 * common to all installers). */ |
87 font-size: 23.45px; /*hb-param-text-height-secondary; /*3.5un*/ |
|
88 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
108 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
89 } |
109 } |
90 |
110 |
91 QLabel#detailsWarningLabel{ |
111 QLabel#detailsWarningLabel{ |
92 /* Application is certified / is not certified views and permission details |
112 /* Application is certified / is not certified views and |
93 * view texts (CertificateDetailsView, PermissionDetailsView) */ |
113 * permission details view texts. */ |
94 font-size: 23.45px; /*hb-param-text-height-secondary; /*3.5un*/ |
|
95 } |
114 } |
96 |
115 |
97 QLabel#urlLabel{ |
116 QLabel#urlLabel{ |
98 /* Text in authentication dialog (UsernamePasswordView) */ |
117 /* Text in authentication dialog. */ |
|
118 /* Note that this dialog is always in portrait. */ |
|
119 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
|
120 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
|
121 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
|
122 } |
|
123 |
|
124 QLabel#authLabel{ |
|
125 /* Text in authentication dialog. */ |
99 /* Note that this dialog is always in portrait */ |
126 /* Note that this dialog is always in portrait */ |
100 font-size: 23.45px; /*hb-param-text-height-secondary; /*3.5un*/ |
127 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
101 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
128 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
102 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
129 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
103 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
130 } |
104 } |
131 |
105 |
132 QLabel#usernamePasswordLabel{ |
106 QLabel#authLabel{ |
133 /* Label of username and password input fields in |
107 /* Text in authentication dialog (UsernamePasswordView) */ |
134 * authentication dialog. */ |
108 /* Note that this dialog is always in portrait */ |
135 /* Note that this dialog is always in portrait */ |
109 font-size: 23.45px; /*hb-param-text-height-secondary; /*3.5un*/ |
136 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
110 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
137 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
111 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
138 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
112 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
139 } |
113 } |
140 |
114 |
141 QLabel#usernamePasswordInputField{ |
115 QLabel#usernamePasswordLabel{ |
142 /* Input fields of username and password in authentication dialog. */ |
116 /* Label of username and password input fields in authentication dialog (UsernamePasswordView) */ |
|
117 /* Note that this dialog is always in portrait */ |
143 /* Note that this dialog is always in portrait */ |
118 font-size: 23.45px; /*hb-param-text-height-secondary; /*3.5un*/ |
|
119 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
|
120 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
|
121 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
|
122 } |
|
123 |
|
124 QLabel#usernamePasswordInputField{ |
|
125 /* Input fields of username and password in authentication dialog (UsernamePasswordView) */ |
|
126 /* Note that this dialog is always in portrait */ |
|
127 font-size: 23.45px; /*hb-param-text-height-secondary; /*3.5un*/ |
|
128 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
144 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
129 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
145 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
130 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
146 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
131 margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
147 margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
132 } |
148 } |
133 |
149 |
134 /* --- Buttons --- */ |
150 /* --- Buttons --- */ |
135 |
151 |
136 QPushButton { |
|
137 font-size: 20.1px;/* hb-param-text-height-tiny; /*3un*/ |
|
138 } |
|
139 |
|
140 QPushButton#softKeyButton{ |
152 QPushButton#softKeyButton{ |
141 /* Installation query OK button (ConfirmationViewBase) */ |
153 /* Installation query OK button. */ |
142 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
154 height: 40px; |
143 height: 50.25px; /*hb-param-widget-popup-softkey-height;/*7.5un*/ |
|
144 /* this depends on display; NHD portrait width:360px and height:640px used */ |
|
145 width: 173.3px; /*expr((var(hb-param-screen-short-edge)-2*var(hb-param-margin-gene-screen))/2); /* width of one button is half of popup width*/ |
|
146 } |
155 } |
147 |
156 |
148 QPushButton#softKeyButtonWide{ |
157 QPushButton#softKeyButtonWide{ |
149 /* Ok button to go back from a details view (application is certified / not certified views |
158 /* Ok button to go back from a details view (application is |
150 * and permission details view) (CertificateDetailsView, PermissionDetailsView)*/ |
159 * certified / not certified views and permission details view)*/ |
151 /* this ok button has different top margin otherwise the same as OkCommand button with max-width */ |
160 height: 40px; |
152 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
|
153 height: 50.25px; /*hb-param-widget-popup-softkey-height;/*7.5un*/ |
|
154 } |
161 } |
155 |
162 |
156 QPushButton#securityButton{ |
163 QPushButton#securityButton{ |
157 /* Security lock icon button in installation query heading (ViewBase.createSecurityButton) */ |
164 /* Security lock icon button in installation dialog heading. */ |
158 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
165 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
159 /* size of icon */ |
166 /* size of icon */ |
160 min-width: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/ |
167 min-width: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/ |
161 max-width: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/ |
168 max-width: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/ |
162 min-height: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/ |
169 min-height: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/ |
163 max-height: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/ |
170 max-height: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/ |
164 |
|
165 } |
171 } |
166 |
172 |
167 QPushButton#detailsLink{ |
173 QPushButton#detailsLink{ |
168 /* Button in permission query to view details (PermissionConfirmationView) */ |
174 /* Button in permission query to view details. */ |
169 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
175 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
170 margin-left: 13.4px; /*hb-param-margin-gene-left; /*2un*/ |
176 margin-left: 13.4px; /*hb-param-margin-gene-left; /*2un*/ |
171 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
177 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
|
178 font-size: 14px; |
172 } |
179 } |
173 |
180 |
174 QPushButton#allowButton{ |
181 QPushButton#allowButton{ |
175 /* Allow always function button in permission query */ |
182 /* Allow always function button in permission query. */ |
176 /* (PermissionConfirmationView) */ |
183 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
177 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
184 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
178 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
185 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
179 margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
|
180 |
|
181 } |
186 } |
182 |
187 |
183 QPushButton#denyButton{ |
188 QPushButton#denyButton{ |
184 /* Ask me later function buttons in permission query */ |
189 /* Ask me later function buttons in permission query. */ |
185 /* (PermissionConfirmationView) */ |
|
186 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
190 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
187 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
191 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
188 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
192 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
189 } |
193 } |
190 |
194 |
191 QPushButton#cancelButton{ |
195 QPushButton#cancelButton{ |
192 /* Cancel installing function button in permission query */ |
196 /* Cancel installing function button in permission query. */ |
193 /* (PermissionConfirmationView) */ |
|
194 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
197 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
195 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
198 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
196 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
199 margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/ |
197 margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
200 margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
198 |
201 } |
199 } |
202 |
200 |
203 QPushButton#retainDataButton { |
201 QCheckBox#retainDataButton { |
204 /* Retain user data check box button in update query. */ |
202 /* Retain user data check box button in update query */ |
|
203 /* Note that there is 2*hb-param-margin-gene-middle-vertical margin at the top as this check box is placed |
|
204 * after drive selector combo */ |
|
205 /* (InstallConfirmationView) */ |
|
206 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
205 margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
207 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
206 margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/ |
208 margin-top: 10.05px; /*expr(2*var(hb-param-margin-gene-middle-vertical)); |
207 margin-top: 10.05px; /*expr(2*var(hb-param-margin-gene-middle-vertical)); |
209 } |
208 } |
210 |
209 |