First working version of internal core connection.
[quassel.git] / src / qtui / ui / coreconnectdlg.ui
1 <ui version="4.0" >
2  <class>CoreConnectDlg</class>
3  <widget class="QDialog" name="CoreConnectDlg" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>563</width>
9     <height>356</height>
10    </rect>
11   </property>
12   <property name="sizePolicy" >
13    <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
14     <horstretch>0</horstretch>
15     <verstretch>0</verstretch>
16    </sizepolicy>
17   </property>
18   <property name="windowTitle" >
19    <string>Connect to Quassel Core</string>
20   </property>
21   <property name="windowIcon" >
22    <iconset>
23     <normaloff>:/16x16/actions/network-disconnect</normaloff>:/16x16/actions/network-disconnect</iconset>
24   </property>
25   <layout class="QHBoxLayout" >
26    <item>
27     <widget class="QStackedWidget" name="stackedWidget" >
28      <property name="sizePolicy" >
29       <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
30        <horstretch>0</horstretch>
31        <verstretch>0</verstretch>
32       </sizepolicy>
33      </property>
34      <property name="currentIndex" >
35       <number>0</number>
36      </property>
37      <widget class="QWidget" name="accountPage" >
38       <property name="geometry" >
39        <rect>
40         <x>0</x>
41         <y>0</y>
42         <width>539</width>
43         <height>332</height>
44        </rect>
45       </property>
46       <layout class="QVBoxLayout" >
47        <item>
48         <widget class="QGroupBox" name="groupBox" >
49          <property name="title" >
50           <string>Connect to Quassel Core</string>
51          </property>
52          <layout class="QHBoxLayout" >
53           <item>
54            <widget class="QListWidget" name="accountList" >
55             <property name="sortingEnabled" >
56              <bool>true</bool>
57             </property>
58            </widget>
59           </item>
60           <item>
61            <layout class="QVBoxLayout" >
62             <item>
63              <widget class="QPushButton" name="editAccount" >
64               <property name="text" >
65                <string>Edit...</string>
66               </property>
67               <property name="icon" >
68                <iconset>
69                 <normaloff>:/16x16/actions/oxygen/16x16/actions/document-properties.png</normaloff>:/16x16/actions/oxygen/16x16/actions/document-properties.png</iconset>
70               </property>
71              </widget>
72             </item>
73             <item>
74              <widget class="QPushButton" name="addAccount" >
75               <property name="text" >
76                <string>Add...</string>
77               </property>
78               <property name="icon" >
79                <iconset>
80                 <normaloff>:/16x16/actions/oxygen/16x16/actions/list-add.png</normaloff>:/16x16/actions/oxygen/16x16/actions/list-add.png</iconset>
81               </property>
82              </widget>
83             </item>
84             <item>
85              <widget class="QPushButton" name="deleteAccount" >
86               <property name="text" >
87                <string>Delete</string>
88               </property>
89               <property name="icon" >
90                <iconset>
91                 <normaloff>:/16x16/actions/oxygen/16x16/actions/list-remove.png</normaloff>:/16x16/actions/oxygen/16x16/actions/list-remove.png</iconset>
92               </property>
93              </widget>
94             </item>
95             <item>
96              <spacer>
97               <property name="orientation" >
98                <enum>Qt::Vertical</enum>
99               </property>
100               <property name="sizeHint" stdset="0" >
101                <size>
102                 <width>20</width>
103                 <height>40</height>
104                </size>
105               </property>
106              </spacer>
107             </item>
108             <item>
109              <widget class="QPushButton" name="useInternalCore" >
110               <property name="text" >
111                <string>use internal core</string>
112               </property>
113              </widget>
114             </item>
115            </layout>
116           </item>
117          </layout>
118         </widget>
119        </item>
120        <item>
121         <layout class="QHBoxLayout" >
122          <item>
123           <widget class="QCheckBox" name="autoConnect" >
124            <property name="text" >
125             <string>Always use this account</string>
126            </property>
127           </widget>
128          </item>
129          <item>
130           <widget class="QDialogButtonBox" name="accountButtonBox" >
131            <property name="orientation" >
132             <enum>Qt::Horizontal</enum>
133            </property>
134            <property name="standardButtons" >
135             <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
136            </property>
137           </widget>
138          </item>
139         </layout>
140        </item>
141       </layout>
142      </widget>
143      <widget class="QWidget" name="loginPage" >
144       <property name="geometry" >
145        <rect>
146         <x>0</x>
147         <y>0</y>
148         <width>539</width>
149         <height>332</height>
150        </rect>
151       </property>
152       <layout class="QVBoxLayout" >
153        <item>
154         <widget class="QGroupBox" name="groupBox_2" >
155          <property name="sizePolicy" >
156           <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
157            <horstretch>0</horstretch>
158            <verstretch>0</verstretch>
159           </sizepolicy>
160          </property>
161          <property name="title" >
162           <string>Initializing your connection</string>
163          </property>
164          <layout class="QVBoxLayout" >
165           <property name="spacing" >
166            <number>0</number>
167           </property>
168           <property name="margin" >
169            <number>4</number>
170           </property>
171           <item>
172            <layout class="QGridLayout" >
173             <item row="0" column="0" >
174              <widget class="QLabel" name="connectIcon" >
175               <property name="text" >
176                <string/>
177               </property>
178               <property name="pixmap" >
179                <pixmap>:/22x22/actions/network-disconnect</pixmap>
180               </property>
181              </widget>
182             </item>
183             <item row="0" column="1" >
184              <widget class="QLabel" name="connectLabel" >
185               <property name="text" >
186                <string>Connected to apollo.mindpool.net.</string>
187               </property>
188               <property name="alignment" >
189                <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
190               </property>
191               <property name="wordWrap" >
192                <bool>false</bool>
193               </property>
194              </widget>
195             </item>
196             <item row="0" column="2" >
197              <spacer>
198               <property name="orientation" >
199                <enum>Qt::Horizontal</enum>
200               </property>
201               <property name="sizeHint" stdset="0" >
202                <size>
203                 <width>358</width>
204                 <height>21</height>
205                </size>
206               </property>
207              </spacer>
208             </item>
209             <item row="1" column="1" colspan="2" >
210              <widget class="QLabel" name="coreInfoLabel" >
211               <property name="sizePolicy" >
212                <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
213                 <horstretch>0</horstretch>
214                 <verstretch>0</verstretch>
215                </sizepolicy>
216               </property>
217               <property name="text" >
218                <string>Core Info
219 reserve
220 some
221 space</string>
222               </property>
223               <property name="alignment" >
224                <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
225               </property>
226               <property name="wordWrap" >
227                <bool>true</bool>
228               </property>
229              </widget>
230             </item>
231             <item row="0" column="3" >
232              <widget class="QLabel" name="secureConnection" >
233               <property name="text" >
234                <string/>
235               </property>
236               <property name="pixmap" >
237                <pixmap>:/22x22/actions/oxygen/22x22/actions/document-encrypt.png</pixmap>
238               </property>
239              </widget>
240             </item>
241            </layout>
242           </item>
243           <item>
244            <widget class="QStackedWidget" name="loginStack" >
245             <property name="sizePolicy" >
246              <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
247               <horstretch>0</horstretch>
248               <verstretch>0</verstretch>
249              </sizepolicy>
250             </property>
251             <property name="currentIndex" >
252              <number>0</number>
253             </property>
254             <widget class="QWidget" name="loginCredentialsPage" >
255              <property name="geometry" >
256               <rect>
257                <x>0</x>
258                <y>0</y>
259                <width>501</width>
260                <height>146</height>
261               </rect>
262              </property>
263              <layout class="QVBoxLayout" >
264               <item>
265                <spacer>
266                 <property name="orientation" >
267                  <enum>Qt::Vertical</enum>
268                 </property>
269                 <property name="sizeHint" stdset="0" >
270                  <size>
271                   <width>20</width>
272                   <height>40</height>
273                  </size>
274                 </property>
275                </spacer>
276               </item>
277               <item>
278                <spacer>
279                 <property name="orientation" >
280                  <enum>Qt::Vertical</enum>
281                 </property>
282                 <property name="sizeHint" stdset="0" >
283                  <size>
284                   <width>20</width>
285                   <height>40</height>
286                  </size>
287                 </property>
288                </spacer>
289               </item>
290               <item>
291                <widget class="QGroupBox" name="loginGroup" >
292                 <property name="sizePolicy" >
293                  <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
294                   <horstretch>0</horstretch>
295                   <verstretch>0</verstretch>
296                  </sizepolicy>
297                 </property>
298                 <property name="title" >
299                  <string>Login</string>
300                 </property>
301                 <layout class="QVBoxLayout" >
302                  <property name="margin" >
303                   <number>4</number>
304                  </property>
305                  <item>
306                   <layout class="QGridLayout" >
307                    <item row="0" column="0" >
308                     <widget class="QLabel" name="label_2" >
309                      <property name="text" >
310                       <string>User:</string>
311                      </property>
312                     </widget>
313                    </item>
314                    <item row="0" column="1" >
315                     <widget class="QLineEdit" name="user" >
316                      <property name="text" >
317                       <string/>
318                      </property>
319                     </widget>
320                    </item>
321                    <item row="1" column="0" >
322                     <widget class="QLabel" name="label_3" >
323                      <property name="text" >
324                       <string>Password:</string>
325                      </property>
326                     </widget>
327                    </item>
328                    <item row="1" column="1" >
329                     <widget class="QLineEdit" name="password" >
330                      <property name="echoMode" >
331                       <enum>QLineEdit::Password</enum>
332                      </property>
333                     </widget>
334                    </item>
335                    <item row="2" column="1" >
336                     <widget class="QCheckBox" name="rememberPasswd" >
337                      <property name="text" >
338                       <string>Remember</string>
339                      </property>
340                     </widget>
341                    </item>
342                   </layout>
343                  </item>
344                 </layout>
345                </widget>
346               </item>
347              </layout>
348             </widget>
349             <widget class="QWidget" name="coreConfigPage" >
350              <property name="geometry" >
351               <rect>
352                <x>0</x>
353                <y>0</y>
354                <width>100</width>
355                <height>30</height>
356               </rect>
357              </property>
358              <layout class="QVBoxLayout" >
359               <item>
360                <widget class="QGroupBox" name="groupBox_4" >
361                 <property name="sizePolicy" >
362                  <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
363                   <horstretch>0</horstretch>
364                   <verstretch>0</verstretch>
365                  </sizepolicy>
366                 </property>
367                 <property name="title" >
368                  <string>Configure your Quassel Core</string>
369                 </property>
370                 <layout class="QVBoxLayout" >
371                  <item>
372                   <widget class="QLabel" name="label_7" >
373                    <property name="text" >
374                     <string>The Quassel Core you are connected to is not configured yet. You may now launch a configuration wizard that helps you setting up your Core.</string>
375                    </property>
376                    <property name="alignment" >
377                     <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
378                    </property>
379                    <property name="wordWrap" >
380                     <bool>true</bool>
381                    </property>
382                   </widget>
383                  </item>
384                  <item>
385                   <layout class="QHBoxLayout" >
386                    <item>
387                     <spacer>
388                      <property name="orientation" >
389                       <enum>Qt::Horizontal</enum>
390                      </property>
391                      <property name="sizeHint" stdset="0" >
392                       <size>
393                        <width>40</width>
394                        <height>20</height>
395                       </size>
396                      </property>
397                     </spacer>
398                    </item>
399                    <item>
400                     <widget class="QPushButton" name="launchCoreConfigWizard" >
401                      <property name="text" >
402                       <string>Launch Wizard</string>
403                      </property>
404                     </widget>
405                    </item>
406                    <item>
407                     <spacer>
408                      <property name="orientation" >
409                       <enum>Qt::Horizontal</enum>
410                      </property>
411                      <property name="sizeHint" stdset="0" >
412                       <size>
413                        <width>40</width>
414                        <height>20</height>
415                       </size>
416                      </property>
417                     </spacer>
418                    </item>
419                   </layout>
420                  </item>
421                 </layout>
422                </widget>
423               </item>
424               <item>
425                <spacer>
426                 <property name="orientation" >
427                  <enum>Qt::Vertical</enum>
428                 </property>
429                 <property name="sizeHint" stdset="0" >
430                  <size>
431                   <width>20</width>
432                   <height>40</height>
433                  </size>
434                 </property>
435                </spacer>
436               </item>
437              </layout>
438             </widget>
439             <widget class="QWidget" name="loginEmptyPage" >
440              <property name="geometry" >
441               <rect>
442                <x>0</x>
443                <y>0</y>
444                <width>100</width>
445                <height>30</height>
446               </rect>
447              </property>
448             </widget>
449            </widget>
450           </item>
451          </layout>
452         </widget>
453        </item>
454        <item>
455         <widget class="QDialogButtonBox" name="loginButtonBox" >
456          <property name="standardButtons" >
457           <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
458          </property>
459         </widget>
460        </item>
461       </layout>
462      </widget>
463      <widget class="QWidget" name="syncPage" >
464       <property name="geometry" >
465        <rect>
466         <x>0</x>
467         <y>0</y>
468         <width>539</width>
469         <height>332</height>
470        </rect>
471       </property>
472       <layout class="QVBoxLayout" >
473        <item>
474         <widget class="QGroupBox" name="groupBox_3" >
475          <property name="title" >
476           <string>Initializing your session...</string>
477          </property>
478          <layout class="QVBoxLayout" >
479           <item>
480            <layout class="QVBoxLayout" >
481             <item>
482              <widget class="QLabel" name="label_6" >
483               <property name="text" >
484                <string>&lt;b>Please be patient while your client synchronizes with the Quassel Core!&lt;/b></string>
485               </property>
486               <property name="alignment" >
487                <set>Qt::AlignHCenter|Qt::AlignTop</set>
488               </property>
489               <property name="wordWrap" >
490                <bool>true</bool>
491               </property>
492              </widget>
493             </item>
494             <item>
495              <layout class="QGridLayout" >
496               <item row="0" column="0" >
497                <widget class="QLabel" name="progressLabel" >
498                 <property name="text" >
499                  <string>Session state:</string>
500                 </property>
501                </widget>
502               </item>
503               <item row="0" column="1" >
504                <widget class="QProgressBar" name="sessionProgress" >
505                 <property name="maximum" >
506                  <number>1</number>
507                 </property>
508                 <property name="value" >
509                  <number>0</number>
510                 </property>
511                </widget>
512               </item>
513               <item row="1" column="0" >
514                <widget class="QLabel" name="label" >
515                 <property name="text" >
516                  <string>Network states:</string>
517                 </property>
518                </widget>
519               </item>
520               <item row="1" column="1" >
521                <widget class="QProgressBar" name="networksProgress" >
522                 <property name="maximum" >
523                  <number>1</number>
524                 </property>
525                 <property name="value" >
526                  <number>0</number>
527                 </property>
528                 <property name="format" >
529                  <string>0/0</string>
530                 </property>
531                </widget>
532               </item>
533              </layout>
534             </item>
535             <item>
536              <spacer>
537               <property name="orientation" >
538                <enum>Qt::Vertical</enum>
539               </property>
540               <property name="sizeHint" stdset="0" >
541                <size>
542                 <width>483</width>
543                 <height>61</height>
544                </size>
545               </property>
546              </spacer>
547             </item>
548            </layout>
549           </item>
550          </layout>
551         </widget>
552        </item>
553        <item>
554         <widget class="QDialogButtonBox" name="syncButtonBox" >
555          <property name="standardButtons" >
556           <set>QDialogButtonBox::Abort</set>
557          </property>
558          <property name="centerButtons" >
559           <bool>true</bool>
560          </property>
561         </widget>
562        </item>
563       </layout>
564      </widget>
565     </widget>
566    </item>
567   </layout>
568  </widget>
569  <tabstops>
570   <tabstop>accountList</tabstop>
571   <tabstop>accountButtonBox</tabstop>
572   <tabstop>autoConnect</tabstop>
573   <tabstop>editAccount</tabstop>
574   <tabstop>addAccount</tabstop>
575   <tabstop>deleteAccount</tabstop>
576   <tabstop>user</tabstop>
577   <tabstop>password</tabstop>
578   <tabstop>rememberPasswd</tabstop>
579   <tabstop>loginButtonBox</tabstop>
580   <tabstop>launchCoreConfigWizard</tabstop>
581   <tabstop>syncButtonBox</tabstop>
582  </tabstops>
583  <resources>
584   <include location="../../icons/icons.qrc" />
585  </resources>
586  <connections>
587   <connection>
588    <sender>accountButtonBox</sender>
589    <signal>rejected()</signal>
590    <receiver>CoreConnectDlg</receiver>
591    <slot>reject()</slot>
592    <hints>
593     <hint type="sourcelabel" >
594      <x>279</x>
595      <y>434</y>
596     </hint>
597     <hint type="destinationlabel" >
598      <x>286</x>
599      <y>237</y>
600     </hint>
601    </hints>
602   </connection>
603  </connections>
604 </ui>