author | zecke <zecke> | 2004-07-09 21:36:37 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-07-09 21:36:37 (UTC) |
commit | 944adb8bf2741a16cf627d19e08f51c08920ad89 (patch) (unidiff) | |
tree | 5f9edc9784e0268a00fe68ec74d7151900c5183a /core/opie-login/passworddialog.ui | |
parent | c5d3262afd775bce81b99c5dc06e74c4686cee2a (diff) | |
download | opie-944adb8bf2741a16cf627d19e08f51c08920ad89.zip opie-944adb8bf2741a16cf627d19e08f51c08920ad89.tar.gz opie-944adb8bf2741a16cf627d19e08f51c08920ad89.tar.bz2 |
Add setting a root password if none is set to opie-login
If you directly start Opie-Taskbar or use AutoLogin
you will not be presented by a set root password gui
Diffstat (limited to 'core/opie-login/passworddialog.ui') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/opie-login/passworddialog.ui | 225 |
1 files changed, 225 insertions, 0 deletions
diff --git a/core/opie-login/passworddialog.ui b/core/opie-login/passworddialog.ui new file mode 100644 index 0000000..f2b2c88 --- a/dev/null +++ b/core/opie-login/passworddialog.ui | |||
@@ -0,0 +1,225 @@ | |||
1 | <!DOCTYPE UI><UI> | ||
2 | <class>PasswordDialog</class> | ||
3 | <widget> | ||
4 | <class>QDialog</class> | ||
5 | <property stdset="1"> | ||
6 | <name>name</name> | ||
7 | <cstring>PasswordDialog</cstring> | ||
8 | </property> | ||
9 | <property stdset="1"> | ||
10 | <name>geometry</name> | ||
11 | <rect> | ||
12 | <x>0</x> | ||
13 | <y>0</y> | ||
14 | <width>625</width> | ||
15 | <height>277</height> | ||
16 | </rect> | ||
17 | </property> | ||
18 | <property stdset="1"> | ||
19 | <name>caption</name> | ||
20 | <string>Set Password</string> | ||
21 | <comment>Caption of the password dialog</comment> | ||
22 | </property> | ||
23 | <property> | ||
24 | <name>layoutMargin</name> | ||
25 | </property> | ||
26 | <property> | ||
27 | <name>layoutSpacing</name> | ||
28 | </property> | ||
29 | <grid> | ||
30 | <property stdset="1"> | ||
31 | <name>margin</name> | ||
32 | <number>4</number> | ||
33 | </property> | ||
34 | <property stdset="1"> | ||
35 | <name>spacing</name> | ||
36 | <number>4</number> | ||
37 | </property> | ||
38 | <widget row="0" column="0" > | ||
39 | <class>QLabel</class> | ||
40 | <property stdset="1"> | ||
41 | <name>name</name> | ||
42 | <cstring>m_header</cstring> | ||
43 | </property> | ||
44 | <property stdset="1"> | ||
45 | <name>text</name> | ||
46 | <string><qt><h2>Please set a password for the Superuser.</h2></qt></string> | ||
47 | </property> | ||
48 | </widget> | ||
49 | <widget row="1" column="0" > | ||
50 | <class>QLayoutWidget</class> | ||
51 | <property stdset="1"> | ||
52 | <name>name</name> | ||
53 | <cstring>Layout5</cstring> | ||
54 | </property> | ||
55 | <grid> | ||
56 | <property stdset="1"> | ||
57 | <name>margin</name> | ||
58 | <number>0</number> | ||
59 | </property> | ||
60 | <property stdset="1"> | ||
61 | <name>spacing</name> | ||
62 | <number>6</number> | ||
63 | </property> | ||
64 | <widget row="0" column="1" > | ||
65 | <class>QLineEdit</class> | ||
66 | <property stdset="1"> | ||
67 | <name>name</name> | ||
68 | <cstring>m_pass</cstring> | ||
69 | </property> | ||
70 | <property stdset="1"> | ||
71 | <name>echoMode</name> | ||
72 | <enum>Password</enum> | ||
73 | </property> | ||
74 | </widget> | ||
75 | <widget row="0" column="0" > | ||
76 | <class>QLabel</class> | ||
77 | <property stdset="1"> | ||
78 | <name>name</name> | ||
79 | <cstring>m_passLabel</cstring> | ||
80 | </property> | ||
81 | <property stdset="1"> | ||
82 | <name>text</name> | ||
83 | <string><b>Password:</b></string> | ||
84 | </property> | ||
85 | <property> | ||
86 | <name>buddy</name> | ||
87 | <cstring>m_pass</cstring> | ||
88 | </property> | ||
89 | </widget> | ||
90 | <widget row="0" column="2" > | ||
91 | <class>QToolButton</class> | ||
92 | <property stdset="1"> | ||
93 | <name>name</name> | ||
94 | <cstring>ToolButton3</cstring> | ||
95 | </property> | ||
96 | <property stdset="1"> | ||
97 | <name>text</name> | ||
98 | <string></string> | ||
99 | </property> | ||
100 | <property stdset="1"> | ||
101 | <name>pixmap</name> | ||
102 | <pixmap>image0</pixmap> | ||
103 | </property> | ||
104 | <property stdset="1"> | ||
105 | <name>toggleButton</name> | ||
106 | <bool>true</bool> | ||
107 | </property> | ||
108 | <property stdset="1"> | ||
109 | <name>toggleButton</name> | ||
110 | <bool>true</bool> | ||
111 | </property> | ||
112 | </widget> | ||
113 | <widget row="1" column="3" > | ||
114 | <class>QToolButton</class> | ||
115 | <property stdset="1"> | ||
116 | <name>name</name> | ||
117 | <cstring>ToolButton1_2</cstring> | ||
118 | </property> | ||
119 | <property stdset="1"> | ||
120 | <name>text</name> | ||
121 | <string></string> | ||
122 | </property> | ||
123 | <property stdset="1"> | ||
124 | <name>pixmap</name> | ||
125 | <pixmap>image1</pixmap> | ||
126 | </property> | ||
127 | </widget> | ||
128 | <widget row="1" column="1" > | ||
129 | <class>QLineEdit</class> | ||
130 | <property stdset="1"> | ||
131 | <name>name</name> | ||
132 | <cstring>m_confirm</cstring> | ||
133 | </property> | ||
134 | <property stdset="1"> | ||
135 | <name>echoMode</name> | ||
136 | <enum>Password</enum> | ||
137 | </property> | ||
138 | </widget> | ||
139 | <widget row="0" column="3" > | ||
140 | <class>QToolButton</class> | ||
141 | <property stdset="1"> | ||
142 | <name>name</name> | ||
143 | <cstring>ToolButton1</cstring> | ||
144 | </property> | ||
145 | <property stdset="1"> | ||
146 | <name>text</name> | ||
147 | <string></string> | ||
148 | </property> | ||
149 | <property stdset="1"> | ||
150 | <name>pixmap</name> | ||
151 | <pixmap>image1</pixmap> | ||
152 | </property> | ||
153 | </widget> | ||
154 | <widget row="1" column="0" > | ||
155 | <class>QLabel</class> | ||
156 | <property stdset="1"> | ||
157 | <name>name</name> | ||
158 | <cstring>m_confirmLbl</cstring> | ||
159 | </property> | ||
160 | <property stdset="1"> | ||
161 | <name>text</name> | ||
162 | <string><b>Confirm:</b></string> | ||
163 | </property> | ||
164 | </widget> | ||
165 | </grid> | ||
166 | </widget> | ||
167 | <spacer row="2" column="0" > | ||
168 | <property> | ||
169 | <name>name</name> | ||
170 | <cstring>Spacer2</cstring> | ||
171 | </property> | ||
172 | <property stdset="1"> | ||
173 | <name>orientation</name> | ||
174 | <enum>Vertical</enum> | ||
175 | </property> | ||
176 | <property stdset="1"> | ||
177 | <name>sizeType</name> | ||
178 | <enum>Expanding</enum> | ||
179 | </property> | ||
180 | <property> | ||
181 | <name>sizeHint</name> | ||
182 | <size> | ||
183 | <width>20</width> | ||
184 | <height>20</height> | ||
185 | </size> | ||
186 | </property> | ||
187 | </spacer> | ||
188 | </grid> | ||
189 | </widget> | ||
190 | <images> | ||
191 | <image> | ||
192 | <name>image0</name> | ||
193 | <data format="XPM.GZ" length="394">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022230543251d2e253d856405bffcbc54105b19c856360003b0141a808a2983b03284848a298304c108240e15033141045829580cac07ac4e590f5d0c22a4876caf32d45898797a48044caf32c22948e629c39d0457a78ce60f65b8f104ec50d6c366af1e865eb4b0aab5e602008bcd444d</data> | ||
194 | </image> | ||
195 | <image> | ||
196 | <name>image1</name> | ||
197 | <data format="XPM.GZ" length="341">789c558fcd0a02310c84ef7d8ad0b915c9bae84d7c04c5a3201e4275d1c32ab8eb41c477b73fa96e43a1f30d4d266d1ced771b728d194619af9efc451ee44ecfbe7f1d8eebb7b1ed92c259506b67c63279dade6fe7a81134e6a9224ac4ae2bc85565075004901c8820731069a648b490effc26eac4a25dcc195373c94231b87a8349fabf894b7a3d27a76af8cf01eb0e534757d70da1bf8a933f2bf30509e84b68</data> | ||
198 | </image> | ||
199 | </images> | ||
200 | <connections> | ||
201 | <connection> | ||
202 | <sender>ToolButton3</sender> | ||
203 | <signal>toggled(bool)</signal> | ||
204 | <receiver>PasswordDialog</receiver> | ||
205 | <slot>slotToggleEcho(bool)</slot> | ||
206 | </connection> | ||
207 | <connection> | ||
208 | <sender>ToolButton1</sender> | ||
209 | <signal>clicked()</signal> | ||
210 | <receiver>m_pass</receiver> | ||
211 | <slot>clear()</slot> | ||
212 | </connection> | ||
213 | <connection> | ||
214 | <sender>ToolButton1_2</sender> | ||
215 | <signal>clicked()</signal> | ||
216 | <receiver>m_confirm</receiver> | ||
217 | <slot>clear()</slot> | ||
218 | </connection> | ||
219 | <slot access="protected">slotToggleEcho(bool)</slot> | ||
220 | </connections> | ||
221 | <tabstops> | ||
222 | <tabstop>m_pass</tabstop> | ||
223 | <tabstop>m_confirm</tabstop> | ||
224 | </tabstops> | ||
225 | </UI> | ||