summaryrefslogtreecommitdiff
authorar <ar>2004-06-19 10:50:49 (UTC)
committer ar <ar>2004-06-19 10:50:49 (UTC)
commit0689d1b607583b9b4ebf55b2180bba99d6008d90 (patch) (unidiff)
treefe26f25f9da313a9b198634c5d392a4886e40908
parente05195bbaf71fbfca033bef5855085772fa586eb (diff)
downloadopie-0689d1b607583b9b4ebf55b2180bba99d6008d90.zip
opie-0689d1b607583b9b4ebf55b2180bba99d6008d90.tar.gz
opie-0689d1b607583b9b4ebf55b2180bba99d6008d90.tar.bz2
- don't check in uic generated files
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/securityplugins/pin/pinDialogBase.cpp304
-rw-r--r--noncore/securityplugins/pin/pinDialogBase.h47
2 files changed, 0 insertions, 351 deletions
diff --git a/noncore/securityplugins/pin/pinDialogBase.cpp b/noncore/securityplugins/pin/pinDialogBase.cpp
deleted file mode 100644
index 244a75e..0000000
--- a/noncore/securityplugins/pin/pinDialogBase.cpp
+++ b/dev/null
@@ -1,304 +0,0 @@
1/****************************************************************************
2** Form implementation generated from reading ui file 'pinDialogBase.ui'
3**
4** Created: Mon Jun 14 11:01:08 2004
5** by: The User Interface Compiler (uic)
6**
7** WARNING! All changes made in this file will be lost!
8****************************************************************************/
9#include "pinDialogBase.h"
10
11#include <qlabel.h>
12#include <qlineedit.h>
13#include <qlayout.h>
14#include <qvariant.h>
15#include <qtooltip.h>
16#include <qwhatsthis.h>
17
18/*
19 * Constructs a PinDialogBase which is a child of 'parent', with the
20 * name 'name' and widget flags set to 'f'
21 */
22PinDialogBase::PinDialogBase( QWidget* parent, const char* name, WFlags fl )
23 : QWidget( parent, name, fl )
24{
25 if ( !name )
26 setName( "PinDialogBase" );
27 resize( 231, 293 );
28 QFont f( font() );
29 f.setPointSize( 24 );
30 setFont( f );
31 setCaption( tr( "PinDialogBase" ) );
32
33 button_4 = new QLabel( this, "button_4" );
34 button_4->setGeometry( QRect( 11, 138, 68, 44 ) );
35 button_4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_4->sizePolicy().hasHeightForWidth() ) );
36 button_4->setFrameShape( QLabel::Box );
37 button_4->setFrameShadow( QLabel::Raised );
38 button_4->setText( tr( "4" ) );
39 button_4->setAlignment( int( QLabel::AlignCenter ) );
40
41 button_7 = new QLabel( this, "button_7" );
42 button_7->setGeometry( QRect( 11, 188, 68, 44 ) );
43 button_7->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_7->sizePolicy().hasHeightForWidth() ) );
44 button_7->setFrameShape( QLabel::Box );
45 button_7->setFrameShadow( QLabel::Raised );
46 button_7->setText( tr( "7" ) );
47 button_7->setAlignment( int( QLabel::AlignCenter ) );
48
49 prompt = new QLabel( this, "prompt" );
50 prompt->setGeometry( QRect( 11, 11, 217, 25 ) );
51 QFont prompt_font( prompt->font() );
52 prompt_font.setPointSize( 18 );
53 prompt->setFont( prompt_font );
54 prompt->setText( tr( "Enter your PIN" ) );
55
56 display = new QLineEdit( this, "display" );
57 display->setEnabled( FALSE );
58 display->setGeometry( QRect( 11, 42, 217, 40 ) );
59 QPalette pal;
60 QColorGroup cg;
61 cg.setColor( QColorGroup::Foreground, black );
62 cg.setColor( QColorGroup::Button, QColor( 228, 228, 228) );
63 cg.setColor( QColorGroup::Light, white );
64 cg.setColor( QColorGroup::Midlight, QColor( 242, 242, 242) );
65 cg.setColor( QColorGroup::Dark, QColor( 78, 78, 78) );
66 cg.setColor( QColorGroup::Mid, QColor( 183, 183, 183) );
67 cg.setColor( QColorGroup::Text, black );
68 cg.setColor( QColorGroup::BrightText, white );
69 cg.setColor( QColorGroup::ButtonText, black );
70 cg.setColor( QColorGroup::Base, white );
71 cg.setColor( QColorGroup::Background, QColor( 220, 220, 220) );
72 cg.setColor( QColorGroup::Shadow, black );
73 cg.setColor( QColorGroup::Highlight, QColor( 10, 95, 137) );
74 cg.setColor( QColorGroup::HighlightedText, white );
75 pal.setActive( cg );
76 cg.setColor( QColorGroup::Foreground, black );
77 cg.setColor( QColorGroup::Button, QColor( 228, 228, 228) );
78 cg.setColor( QColorGroup::Light, white );
79 cg.setColor( QColorGroup::Midlight, QColor( 242, 242, 242) );
80 cg.setColor( QColorGroup::Dark, QColor( 78, 78, 78) );
81 cg.setColor( QColorGroup::Mid, QColor( 183, 183, 183) );
82 cg.setColor( QColorGroup::Text, black );
83 cg.setColor( QColorGroup::BrightText, white );
84 cg.setColor( QColorGroup::ButtonText, black );
85 cg.setColor( QColorGroup::Base, white );
86 cg.setColor( QColorGroup::Background, QColor( 220, 220, 220) );
87 cg.setColor( QColorGroup::Shadow, black );
88 cg.setColor( QColorGroup::Highlight, QColor( 10, 95, 137) );
89 cg.setColor( QColorGroup::HighlightedText, white );
90 pal.setInactive( cg );
91 cg.setColor( QColorGroup::Foreground, QColor( 128, 128, 128) );
92 cg.setColor( QColorGroup::Button, QColor( 228, 228, 228) );
93 cg.setColor( QColorGroup::Light, white );
94 cg.setColor( QColorGroup::Midlight, white );
95 cg.setColor( QColorGroup::Dark, QColor( 114, 114, 114) );
96 cg.setColor( QColorGroup::Mid, QColor( 152, 152, 152) );
97 cg.setColor( QColorGroup::Text, black );
98 cg.setColor( QColorGroup::BrightText, white );
99 cg.setColor( QColorGroup::ButtonText, black );
100 cg.setColor( QColorGroup::Base, white );
101 cg.setColor( QColorGroup::Background, QColor( 220, 220, 220) );
102 cg.setColor( QColorGroup::Shadow, black );
103 cg.setColor( QColorGroup::Highlight, QColor( 0, 0, 128) );
104 cg.setColor( QColorGroup::HighlightedText, white );
105 pal.setDisabled( cg );
106 display->setPalette( pal );
107 display->setEchoMode( QLineEdit::Password );
108
109 button_1 = new QLabel( this, "button_1" );
110 button_1->setGeometry( QRect( 11, 88, 68, 44 ) );
111 button_1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_1->sizePolicy().hasHeightForWidth() ) );
112 button_1->setFrameShape( QLabel::Box );
113 button_1->setFrameShadow( QLabel::Raised );
114 button_1->setText( tr( "1" ) );
115 button_1->setAlignment( int( QLabel::AlignCenter ) );
116
117 button_2 = new QLabel( this, "button_2" );
118 button_2->setGeometry( QRect( 85, 88, 69, 44 ) );
119 button_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_2->sizePolicy().hasHeightForWidth() ) );
120 button_2->setFrameShape( QLabel::Box );
121 button_2->setFrameShadow( QLabel::Raised );
122 button_2->setText( tr( "2" ) );
123 button_2->setAlignment( int( QLabel::AlignCenter ) );
124
125 button_5 = new QLabel( this, "button_5" );
126 button_5->setGeometry( QRect( 85, 138, 69, 44 ) );
127 button_5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_5->sizePolicy().hasHeightForWidth() ) );
128 button_5->setFrameShape( QLabel::Box );
129 button_5->setFrameShadow( QLabel::Raised );
130 button_5->setText( tr( "5" ) );
131 button_5->setAlignment( int( QLabel::AlignCenter ) );
132
133 button_6 = new QLabel( this, "button_6" );
134 button_6->setGeometry( QRect( 160, 138, 68, 44 ) );
135 button_6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_6->sizePolicy().hasHeightForWidth() ) );
136 button_6->setFrameShape( QLabel::Box );
137 button_6->setFrameShadow( QLabel::Raised );
138 button_6->setText( tr( "6" ) );
139 button_6->setAlignment( int( QLabel::AlignCenter ) );
140
141 button_3 = new QLabel( this, "button_3" );
142 button_3->setGeometry( QRect( 160, 88, 68, 44 ) );
143 button_3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_3->sizePolicy().hasHeightForWidth() ) );
144 button_3->setFrameShape( QLabel::Box );
145 button_3->setFrameShadow( QLabel::Raised );
146 button_3->setText( tr( "3" ) );
147 button_3->setAlignment( int( QLabel::AlignCenter ) );
148
149 button_0 = new QLabel( this, "button_0" );
150 button_0->setGeometry( QRect( 11, 238, 68, 44 ) );
151 button_0->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_0->sizePolicy().hasHeightForWidth() ) );
152 button_0->setFrameShape( QLabel::Box );
153 button_0->setFrameShadow( QLabel::Raised );
154 button_0->setText( tr( "0" ) );
155 button_0->setAlignment( int( QLabel::AlignCenter ) );
156
157 button_8 = new QLabel( this, "button_8" );
158 button_8->setGeometry( QRect( 85, 188, 69, 44 ) );
159 button_8->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_8->sizePolicy().hasHeightForWidth() ) );
160 button_8->setFrameShape( QLabel::Box );
161 button_8->setFrameShadow( QLabel::Raised );
162 button_8->setText( tr( "8" ) );
163 button_8->setAlignment( int( QLabel::AlignCenter ) );
164
165 button_9 = new QLabel( this, "button_9" );
166 button_9->setGeometry( QRect( 160, 188, 68, 44 ) );
167 button_9->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_9->sizePolicy().hasHeightForWidth() ) );
168 button_9->setFrameShape( QLabel::Box );
169 button_9->setFrameShadow( QLabel::Raised );
170 button_9->setText( tr( "9" ) );
171 button_9->setAlignment( int( QLabel::AlignCenter ) );
172
173 button_OK = new QLabel( this, "button_OK" );
174 button_OK->setGeometry( QRect( 160, 238, 68, 44 ) );
175 button_OK->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_OK->sizePolicy().hasHeightForWidth() ) );
176 cg.setColor( QColorGroup::Foreground, black );
177 cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
178 cg.setColor( QColorGroup::Light, white );
179 cg.setColor( QColorGroup::Midlight, QColor( 223, 223, 223) );
180 cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
181 cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
182 cg.setColor( QColorGroup::Text, black );
183 cg.setColor( QColorGroup::BrightText, white );
184 cg.setColor( QColorGroup::ButtonText, black );
185 cg.setColor( QColorGroup::Base, white );
186 cg.setColor( QColorGroup::Background, QColor( 0, 170, 0) );
187 cg.setColor( QColorGroup::Shadow, black );
188 cg.setColor( QColorGroup::Highlight, black );
189 cg.setColor( QColorGroup::HighlightedText, white );
190 pal.setActive( cg );
191 cg.setColor( QColorGroup::Foreground, black );
192 cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
193 cg.setColor( QColorGroup::Light, white );
194 cg.setColor( QColorGroup::Midlight, QColor( 220, 220, 220) );
195 cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
196 cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
197 cg.setColor( QColorGroup::Text, black );
198 cg.setColor( QColorGroup::BrightText, white );
199 cg.setColor( QColorGroup::ButtonText, black );
200 cg.setColor( QColorGroup::Base, white );
201 cg.setColor( QColorGroup::Background, QColor( 0, 170, 0) );
202 cg.setColor( QColorGroup::Shadow, black );
203 cg.setColor( QColorGroup::Highlight, black );
204 cg.setColor( QColorGroup::HighlightedText, white );
205 pal.setInactive( cg );
206 cg.setColor( QColorGroup::Foreground, QColor( 128, 128, 128) );
207 cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
208 cg.setColor( QColorGroup::Light, white );
209 cg.setColor( QColorGroup::Midlight, QColor( 220, 220, 220) );
210 cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
211 cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
212 cg.setColor( QColorGroup::Text, black );
213 cg.setColor( QColorGroup::BrightText, white );
214 cg.setColor( QColorGroup::ButtonText, QColor( 128, 128, 128) );
215 cg.setColor( QColorGroup::Base, white );
216 cg.setColor( QColorGroup::Background, QColor( 0, 170, 0) );
217 cg.setColor( QColorGroup::Shadow, black );
218 cg.setColor( QColorGroup::Highlight, black );
219 cg.setColor( QColorGroup::HighlightedText, white );
220 pal.setDisabled( cg );
221 button_OK->setPalette( pal );
222 button_OK->setFrameShape( QLabel::Box );
223 button_OK->setFrameShadow( QLabel::Raised );
224 button_OK->setText( tr( "Enter" ) );
225 button_OK->setAlignment( int( QLabel::AlignCenter ) );
226
227 button_Skip = new QLabel( this, "button_Skip" );
228 button_Skip->setGeometry( QRect( 85, 238, 69, 44 ) );
229 button_Skip->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, button_Skip->sizePolicy().hasHeightForWidth() ) );
230 cg.setColor( QColorGroup::Foreground, black );
231 cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
232 cg.setColor( QColorGroup::Light, white );
233 cg.setColor( QColorGroup::Midlight, QColor( 223, 223, 223) );
234 cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
235 cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
236 cg.setColor( QColorGroup::Text, black );
237 cg.setColor( QColorGroup::BrightText, white );
238 cg.setColor( QColorGroup::ButtonText, black );
239 cg.setColor( QColorGroup::Base, white );
240 cg.setColor( QColorGroup::Background, QColor( 255, 255, 127) );
241 cg.setColor( QColorGroup::Shadow, black );
242 cg.setColor( QColorGroup::Highlight, black );
243 cg.setColor( QColorGroup::HighlightedText, white );
244 pal.setActive( cg );
245 cg.setColor( QColorGroup::Foreground, black );
246 cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
247 cg.setColor( QColorGroup::Light, white );
248 cg.setColor( QColorGroup::Midlight, QColor( 220, 220, 220) );
249 cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
250 cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
251 cg.setColor( QColorGroup::Text, black );
252 cg.setColor( QColorGroup::BrightText, white );
253 cg.setColor( QColorGroup::ButtonText, black );
254 cg.setColor( QColorGroup::Base, white );
255 cg.setColor( QColorGroup::Background, QColor( 255, 255, 127) );
256 cg.setColor( QColorGroup::Shadow, black );
257 cg.setColor( QColorGroup::Highlight, black );
258 cg.setColor( QColorGroup::HighlightedText, white );
259 pal.setInactive( cg );
260 cg.setColor( QColorGroup::Foreground, QColor( 128, 128, 128) );
261 cg.setColor( QColorGroup::Button, QColor( 192, 192, 192) );
262 cg.setColor( QColorGroup::Light, white );
263 cg.setColor( QColorGroup::Midlight, QColor( 220, 220, 220) );
264 cg.setColor( QColorGroup::Dark, QColor( 96, 96, 96) );
265 cg.setColor( QColorGroup::Mid, QColor( 128, 128, 128) );
266 cg.setColor( QColorGroup::Text, black );
267 cg.setColor( QColorGroup::BrightText, white );
268 cg.setColor( QColorGroup::ButtonText, QColor( 128, 128, 128) );
269 cg.setColor( QColorGroup::Base, white );
270 cg.setColor( QColorGroup::Background, QColor( 255, 255, 127) );
271 cg.setColor( QColorGroup::Shadow, black );
272 cg.setColor( QColorGroup::Highlight, black );
273 cg.setColor( QColorGroup::HighlightedText, white );
274 pal.setDisabled( cg );
275 button_Skip->setPalette( pal );
276 button_Skip->setFrameShape( QLabel::Box );
277 button_Skip->setFrameShadow( QLabel::Raised );
278 button_Skip->setText( tr( "Skip" ) );
279 button_Skip->setAlignment( int( QLabel::AlignCenter ) );
280}
281
282/*
283 * Destroys the object and frees any allocated resources
284 */
285PinDialogBase::~PinDialogBase()
286{
287 // no need to delete child widgets, Qt does it all for us
288}
289
290/*
291 * Main event handler. Reimplemented to handle application
292 * font changes
293 */
294bool PinDialogBase::event( QEvent* ev )
295{
296 bool ret = QWidget::event( ev );
297 if ( ev->type() == QEvent::ApplicationFontChange ) {
298 QFont prompt_font( prompt->font() );
299 prompt_font.setPointSize( 18 );
300 prompt->setFont( prompt_font );
301 }
302 return ret;
303}
304
diff --git a/noncore/securityplugins/pin/pinDialogBase.h b/noncore/securityplugins/pin/pinDialogBase.h
deleted file mode 100644
index 3ed2b63..0000000
--- a/noncore/securityplugins/pin/pinDialogBase.h
+++ b/dev/null
@@ -1,47 +0,0 @@
1/****************************************************************************
2** Form interface generated from reading ui file 'pinDialogBase.ui'
3**
4** Created: Mon Jun 14 11:00:59 2004
5** by: The User Interface Compiler (uic)
6**
7** WARNING! All changes made in this file will be lost!
8****************************************************************************/
9#ifndef PINDIALOGBASE_H
10#define PINDIALOGBASE_H
11
12#include <qvariant.h>
13#include <qwidget.h>
14class QVBoxLayout;
15class QHBoxLayout;
16class QGridLayout;
17class QLabel;
18class QLineEdit;
19
20class PinDialogBase : public QWidget
21{
22 Q_OBJECT
23
24public:
25 PinDialogBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
26 ~PinDialogBase();
27
28 QLabel* button_4;
29 QLabel* button_7;
30 QLabel* prompt;
31 QLineEdit* display;
32 QLabel* button_1;
33 QLabel* button_2;
34 QLabel* button_5;
35 QLabel* button_6;
36 QLabel* button_3;
37 QLabel* button_0;
38 QLabel* button_8;
39 QLabel* button_9;
40 QLabel* button_OK;
41 QLabel* button_Skip;
42
43protected:
44 bool event( QEvent* );
45};
46
47#endif // PINDIALOGBASE_H