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 |
/* this depends on display; NHD portrait width:360px and height:640px used */
|
|
21 |
/* Note that popup width and height is according to portrait dimensions, and is the same in portrait and landscape */
|
|
22 |
width: 346.6px; /*expr(var(hb-param-screen-short-edge)- 2*var(hb-param-margin-gene-screen)); /* 2un*/
|
|
23 |
/*height: /*the size of MessageBox with 3-5 rows of text? */
|
|
24 |
max-height: 626.6px; /*expr(var(hb-param-long-edge)-2*var(hb-param-margin-gene-screen));
|
|
25 |
/*position: vertically and horizontally centre of screen - is this needed?*/
|
87
|
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;
|
49
|
48 |
}
|
|
49 |
|
|
50 |
QScrollArea#appInfoArea {
|
87
|
51 |
/* This is valid for all installation dialog application details,
|
49
|
52 |
* and also for application details in short error message */
|
|
53 |
/* Note: this text area becomes scrollable if there are more text
|
87
|
54 |
* that can be displayed at a time. */
|
49
|
55 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
56 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
57 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
80
|
58 |
margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
59 |
}
|
|
60 |
|
|
61 |
QLabel#appInfoLabel {
|
87
|
62 |
font-size: 20px;
|
49
|
63 |
}
|
|
64 |
|
|
65 |
QLabel#heading {
|
87
|
66 |
/* Any installation dialog heading text. */
|
49
|
67 |
font-weight: bold;
|
|
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;*/
|
|
69 |
margin-top: 13.4px; /*hb-param-margin-gene-top; /*2un*/
|
|
70 |
margin-left: 13.4px; /*hb-param-margin-gene-left; /*2un*/
|
87
|
71 |
padding-bottom: 13.4px;
|
49
|
72 |
}
|
|
73 |
|
|
74 |
QLabel#contentIcon {
|
87
|
75 |
/* This is valid for all icons displayed in the
|
|
76 |
* installation dialog content area;
|
|
77 |
* application icon, question icon, error icon in
|
|
78 |
* installation error dialog, etc. */
|
49
|
79 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
80 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
81 |
/* size of icon - fixed size */
|
|
82 |
min-width: 53.6px; /*hb-param-graphic-size-primary-large;/*8un*/
|
|
83 |
max-width: 53.6px; /*hb-param-graphic-size-primary-large;/*8un*/
|
|
84 |
min-height: 53.6px; /* hb-param-graphic-size-primary-large;/*8un*/
|
|
85 |
max-height: 53.6px; /* hb-param-graphic-size-primary-large;/*8un*/
|
|
86 |
}
|
|
87 |
|
|
88 |
QComboBox#driveSelector{
|
87
|
89 |
/* Combo box in installation dialog. */
|
49
|
90 |
margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/
|
|
91 |
}
|
|
92 |
|
|
93 |
QProgressBar#progressBar{
|
87
|
94 |
/* Progress bar in installation dialog. */
|
49
|
95 |
margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/
|
|
96 |
}
|
|
97 |
|
|
98 |
QLabel#permissionDetails{
|
87
|
99 |
/* String that requests access for protected functionality
|
|
100 |
* in permission query. */
|
49
|
101 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
102 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
103 |
}
|
|
104 |
|
|
105 |
QLabel#errorLabel{
|
87
|
106 |
/* Short error message (note: this is not Java specific error message but
|
|
107 |
* common to all installers). */
|
49
|
108 |
margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/
|
|
109 |
}
|
|
110 |
|
|
111 |
QLabel#detailsWarningLabel{
|
87
|
112 |
/* Application is certified / is not certified views and
|
|
113 |
* permission details view texts. */
|
49
|
114 |
}
|
|
115 |
|
56
|
116 |
QLabel#urlLabel{
|
87
|
117 |
/* Text in authentication dialog. */
|
|
118 |
/* Note that this dialog is always in portrait. */
|
56
|
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 |
|
49
|
124 |
QLabel#authLabel{
|
87
|
125 |
/* Text in authentication dialog. */
|
49
|
126 |
/* Note that this dialog is always in portrait */
|
|
127 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
128 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
129 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
130 |
}
|
|
131 |
|
|
132 |
QLabel#usernamePasswordLabel{
|
87
|
133 |
/* Label of username and password input fields in
|
|
134 |
* authentication dialog. */
|
49
|
135 |
/* Note that this dialog is always in portrait */
|
|
136 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
137 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
138 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
139 |
}
|
|
140 |
|
|
141 |
QLabel#usernamePasswordInputField{
|
87
|
142 |
/* Input fields of username and password in authentication dialog. */
|
49
|
143 |
/* Note that this dialog is always in portrait */
|
|
144 |
margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/
|
|
145 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
146 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
147 |
margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
148 |
}
|
|
149 |
|
|
150 |
/* --- Buttons --- */
|
|
151 |
|
|
152 |
QPushButton#softKeyButton{
|
87
|
153 |
/* Installation query OK button. */
|
|
154 |
height: 40px;
|
49
|
155 |
}
|
|
156 |
|
|
157 |
QPushButton#softKeyButtonWide{
|
87
|
158 |
/* Ok button to go back from a details view (application is
|
|
159 |
* certified / not certified views and permission details view)*/
|
|
160 |
height: 40px;
|
49
|
161 |
}
|
|
162 |
|
|
163 |
QPushButton#securityButton{
|
87
|
164 |
/* Security lock icon button in installation dialog heading. */
|
49
|
165 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
166 |
/* size of icon */
|
|
167 |
min-width: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/
|
|
168 |
max-width: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/
|
|
169 |
min-height: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/
|
|
170 |
max-height: 26.8px; /* hb-param-graphic-size-primary-small; /*4un*/
|
|
171 |
}
|
|
172 |
|
|
173 |
QPushButton#detailsLink{
|
87
|
174 |
/* Button in permission query to view details. */
|
49
|
175 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
176 |
margin-left: 13.4px; /*hb-param-margin-gene-left; /*2un*/
|
|
177 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
87
|
178 |
font-size: 14px;
|
49
|
179 |
}
|
|
180 |
|
|
181 |
QPushButton#allowButton{
|
87
|
182 |
/* Allow always function button in permission query. */
|
49
|
183 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
184 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
185 |
margin-top: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
186 |
}
|
|
187 |
|
|
188 |
QPushButton#denyButton{
|
87
|
189 |
/* Ask me later function buttons in permission query. */
|
49
|
190 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
191 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
192 |
margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/
|
|
193 |
}
|
|
194 |
|
|
195 |
QPushButton#cancelButton{
|
87
|
196 |
/* Cancel installing function button in permission query. */
|
49
|
197 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
198 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
199 |
margin-top: 5.025px; /*hb-param-margin-gene-middle-vertical; /*0.75un*/
|
|
200 |
margin-bottom: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
201 |
}
|
|
202 |
|
87
|
203 |
QPushButton#retainDataButton {
|
|
204 |
/* Retain user data check box button in update query. */
|
49
|
205 |
margin-right: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
206 |
margin-left: 13.4px; /*hb-param-margin-gene-popup; /*2un*/
|
|
207 |
margin-top: 10.05px; /*expr(2*var(hb-param-margin-gene-middle-vertical));
|
|
208 |
}
|
|
209 |
|
|
210 |
/* --- End Buttons --- */
|