49
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
QScrollArea#dialogArea {
|
|
19 |
/* General size parameters for all installer dialogs */
|
|
20 |
|
|
21 |
/* 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 */
|
|
23 |
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? */
|
|
25 |
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?*/
|
|
27 |
}
|
|
28 |
|
|
29 |
QScrollArea#appInfoArea {
|
|
30 |
/* This is valid for all installation query application details,
|
|
31 |
* and also for application details in short error message */
|
|
32 |
/* (ViewBase) */
|
|
33 |
/* Note: this text area becomes scrollable if there are more text
|
|
34 |
* that can be displayed at one time (this could be also QAbstractScrollArea?)*/
|
|
35 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
36 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
37 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
80
|
38 |
margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
39 |
}
|
|
40 |
|
|
41 |
QLabel#appInfoLabel {
|
|
42 |
/* The font size of application details; each detail is its own label */
|
|
43 |
font-size: 23.45px; /*hb-param-text-height-secondary; /*3.5un*/
|
49
|
44 |
}
|
|
45 |
|
|
46 |
QLabel#heading {
|
|
47 |
/* Any installation query heading text: its text size, and top/left margins */
|
|
48 |
font-size: 26.8px; /*hb-param-text-height-primary;/*4un*/
|
|
49 |
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;*/
|
|
51 |
margin-top: 13.4px; /*hb-param-margin-gene-top; /*2un*/
|
|
52 |
margin-left: 13.4px; /*hb-param-margin-gene-left; /*2un*/
|
|
53 |
}
|
|
54 |
|
|
55 |
QLabel#contentIcon {
|
|
56 |
/* This is valid for all icons displayed in the installation query content area */
|
|
57 |
/* Application icon, question icon, error icon in installation error dialog etc */
|
|
58 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
59 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
60 |
/* size of icon - fixed size */
|
|
61 |
min-width: 53.6px; /*hb-param-graphic-size-primary-large;/*8un*/
|
|
62 |
max-width: 53.6px; /*hb-param-graphic-size-primary-large;/*8un*/
|
|
63 |
min-height: 53.6px; /* hb-param-graphic-size-primary-large;/*8un*/
|
|
64 |
max-height: 53.6px; /* hb-param-graphic-size-primary-large;/*8un*/
|
|
65 |
}
|
|
66 |
|
|
67 |
QComboBox#driveSelector{
|
|
68 |
/* Combo box in installationquery. Need to define the top margin at least (InstallConfirmationView). */
|
|
69 |
margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/
|
|
70 |
}
|
|
71 |
|
|
72 |
QProgressBar#progressBar{
|
|
73 |
/* Progress bar in installationquery. Need to define the top margin at least (ProgressView). */
|
|
74 |
margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/
|
|
75 |
}
|
|
76 |
|
|
77 |
QLabel#permissionDetails{
|
|
78 |
/* String that requests access for protected functionality in permission query */
|
|
79 |
/* (PermissionInfo) */
|
|
80 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
81 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
82 |
}
|
|
83 |
|
|
84 |
QLabel#errorLabel{
|
|
85 |
/* short error message from USIF (note: this is not Java specific error message but
|
|
86 |
* common to all installers), (ErrorView) */
|
|
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*/
|
|
89 |
}
|
|
90 |
|
|
91 |
QLabel#detailsWarningLabel{
|
|
92 |
/* Application is certified / is not certified views and permission details
|
|
93 |
* view texts (CertificateDetailsView, PermissionDetailsView) */
|
|
94 |
font-size: 23.45px; /*hb-param-text-height-secondary; /*3.5un*/
|
|
95 |
}
|
|
96 |
|
56
|
97 |
QLabel#urlLabel{
|
|
98 |
/* Text in authentication dialog (UsernamePasswordView) */
|
|
99 |
/* Note that this dialog is always in portrait */
|
|
100 |
font-size: 23.45px; /*hb-param-text-height-secondary; /*3.5un*/
|
|
101 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
102 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
103 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
104 |
}
|
|
105 |
|
49
|
106 |
QLabel#authLabel{
|
|
107 |
/* Text in authentication dialog (UsernamePasswordView) */
|
|
108 |
/* Note that this dialog is always in portrait */
|
|
109 |
font-size: 23.45px; /*hb-param-text-height-secondary; /*3.5un*/
|
|
110 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
111 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
112 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
113 |
}
|
|
114 |
|
|
115 |
QLabel#usernamePasswordLabel{
|
|
116 |
/* Label of username and password input fields in authentication dialog (UsernamePasswordView) */
|
|
117 |
/* 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*/
|
|
129 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
130 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
131 |
margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
132 |
}
|
|
133 |
|
|
134 |
/* --- Buttons --- */
|
|
135 |
|
|
136 |
QPushButton {
|
|
137 |
font-size: 20.1px;/* hb-param-text-height-tiny; /*3un*/
|
|
138 |
}
|
|
139 |
|
|
140 |
QPushButton#softKeyButton{
|
|
141 |
/* Installation query OK button (ConfirmationViewBase) */
|
|
142 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
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 |
}
|
|
147 |
|
|
148 |
QPushButton#softKeyButtonWide{
|
|
149 |
/* Ok button to go back from a details view (application is certified / not certified views
|
|
150 |
* and permission details view) (CertificateDetailsView, PermissionDetailsView)*/
|
|
151 |
/* this ok button has different top margin otherwise the same as OkCommand button with max-width */
|
|
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 |
}
|
|
155 |
|
|
156 |
QPushButton#securityButton{
|
|
157 |
/* Security lock icon button in installation query heading (ViewBase.createSecurityButton) */
|
|
158 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
159 |
/* size of icon */
|
|
160 |
min-width: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/
|
|
161 |
max-width: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/
|
|
162 |
min-height: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/
|
|
163 |
max-height: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/
|
|
164 |
|
|
165 |
}
|
|
166 |
|
|
167 |
QPushButton#detailsLink{
|
|
168 |
/* Button in permission query to view details (PermissionConfirmationView) */
|
|
169 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
170 |
margin-left: 13.4px; /*hb-param-margin-gene-left; /*2un*/
|
|
171 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
172 |
}
|
|
173 |
|
|
174 |
QPushButton#allowButton{
|
|
175 |
/* Allow always function button in permission query */
|
|
176 |
/* (PermissionConfirmationView) */
|
|
177 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
178 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
179 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
180 |
|
|
181 |
}
|
|
182 |
|
|
183 |
QPushButton#denyButton{
|
|
184 |
/* Ask me later function buttons in permission query */
|
|
185 |
/* (PermissionConfirmationView) */
|
|
186 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
187 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
188 |
margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/
|
|
189 |
}
|
|
190 |
|
|
191 |
QPushButton#cancelButton{
|
|
192 |
/* Cancel installing function button in permission query */
|
|
193 |
/* (PermissionConfirmationView) */
|
|
194 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
195 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
196 |
margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/
|
|
197 |
margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
198 |
|
|
199 |
}
|
|
200 |
|
|
201 |
QCheckBox#retainDataButton {
|
|
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*/
|
|
207 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
208 |
margin-top: 10.05px; /*expr(2*var(hb-param-margin-gene-middle-vertical));
|
|
209 |
}
|
|
210 |
|
|
211 |
/* --- End Buttons --- */
|