10b28abba12d18822b18b804ea12d6923e478e96
[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>519</width>
9     <height>325</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 resource="../../icons/icons.qrc" >
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>511</width>
43         <height>317</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 resource="../../icons/icons.qrc" >
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 resource="../../icons/icons.qrc" >
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 resource="../../icons/icons.qrc" >
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            </layout>
109           </item>
110          </layout>
111         </widget>
112        </item>
113        <item>
114         <layout class="QHBoxLayout" >
115          <item>
116           <widget class="QCheckBox" name="autoConnect" >
117            <property name="text" >
118             <string>Always use this account</string>
119            </property>
120           </widget>
121          </item>
122          <item>
123           <widget class="QDialogButtonBox" name="accountButtonBox" >
124            <property name="orientation" >
125             <enum>Qt::Horizontal</enum>
126            </property>
127            <property name="standardButtons" >
128             <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
129            </property>
130           </widget>
131          </item>
132         </layout>
133        </item>
134       </layout>
135      </widget>
136      <widget class="QWidget" name="loginPage" >
137       <property name="geometry" >
138        <rect>
139         <x>0</x>
140         <y>0</y>
141         <width>511</width>
142         <height>317</height>
143        </rect>
144       </property>
145       <layout class="QVBoxLayout" >
146        <item>
147         <widget class="QGroupBox" name="groupBox_2" >
148          <property name="sizePolicy" >
149           <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
150            <horstretch>0</horstretch>
151            <verstretch>0</verstretch>
152           </sizepolicy>
153          </property>
154          <property name="title" >
155           <string>Initializing your connection</string>
156          </property>
157          <layout class="QVBoxLayout" >
158           <property name="spacing" >
159            <number>0</number>
160           </property>
161           <property name="margin" >
162            <number>4</number>
163           </property>
164           <item>
165            <layout class="QGridLayout" >
166             <item row="0" column="0" >
167              <widget class="QLabel" name="connectIcon" >
168               <property name="text" >
169                <string/>
170               </property>
171               <property name="pixmap" >
172                <pixmap resource="../../icons/icons.qrc" >:/22x22/actions/network-disconnect</pixmap>
173               </property>
174              </widget>
175             </item>
176             <item row="0" column="1" >
177              <widget class="QLabel" name="connectLabel" >
178               <property name="text" >
179                <string>Connected to apollo.mindpool.net.</string>
180               </property>
181               <property name="alignment" >
182                <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
183               </property>
184               <property name="wordWrap" >
185                <bool>false</bool>
186               </property>
187              </widget>
188             </item>
189             <item row="0" column="2" >
190              <spacer>
191               <property name="orientation" >
192                <enum>Qt::Horizontal</enum>
193               </property>
194               <property name="sizeHint" stdset="0" >
195                <size>
196                 <width>358</width>
197                 <height>21</height>
198                </size>
199               </property>
200              </spacer>
201             </item>
202             <item row="1" column="1" colspan="2" >
203              <widget class="QLabel" name="coreInfoLabel" >
204               <property name="sizePolicy" >
205                <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
206                 <horstretch>0</horstretch>
207                 <verstretch>0</verstretch>
208                </sizepolicy>
209               </property>
210               <property name="text" >
211                <string>Core Info
212 reserve
213 some
214 space</string>
215               </property>
216               <property name="alignment" >
217                <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
218               </property>
219               <property name="wordWrap" >
220                <bool>true</bool>
221               </property>
222              </widget>
223             </item>
224             <item row="0" column="3" >
225              <widget class="QLabel" name="secureConnection" >
226               <property name="text" >
227                <string/>
228               </property>
229               <property name="pixmap" >
230                <pixmap resource="../../icons/icons.qrc" >:/22x22/actions/oxygen/22x22/actions/document-encrypt.png</pixmap>
231               </property>
232              </widget>
233             </item>
234            </layout>
235           </item>
236           <item>
237            <widget class="QStackedWidget" name="loginStack" >
238             <property name="sizePolicy" >
239              <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
240               <horstretch>0</horstretch>
241               <verstretch>0</verstretch>
242              </sizepolicy>
243             </property>
244             <property name="currentIndex" >
245              <number>0</number>
246             </property>
247             <widget class="QWidget" name="loginCredentialsPage" >
248              <property name="geometry" >
249               <rect>
250                <x>0</x>
251                <y>0</y>
252                <width>485</width>
253                <height>147</height>
254               </rect>
255              </property>
256              <layout class="QVBoxLayout" >
257               <item>
258                <spacer>
259                 <property name="orientation" >
260                  <enum>Qt::Vertical</enum>
261                 </property>
262                 <property name="sizeHint" stdset="0" >
263                  <size>
264                   <width>20</width>
265                   <height>40</height>
266                  </size>
267                 </property>
268                </spacer>
269               </item>
270               <item>
271                <spacer>
272                 <property name="orientation" >
273                  <enum>Qt::Vertical</enum>
274                 </property>
275                 <property name="sizeHint" stdset="0" >
276                  <size>
277                   <width>20</width>
278                   <height>40</height>
279                  </size>
280                 </property>
281                </spacer>
282               </item>
283               <item>
284                <widget class="QGroupBox" name="loginGroup" >
285                 <property name="sizePolicy" >
286                  <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
287                   <horstretch>0</horstretch>
288                   <verstretch>0</verstretch>
289                  </sizepolicy>
290                 </property>
291                 <property name="title" >
292                  <string>Login</string>
293                 </property>
294                 <layout class="QVBoxLayout" >
295                  <property name="margin" >
296                   <number>4</number>
297                  </property>
298                  <item>
299                   <layout class="QGridLayout" >
300                    <item row="0" column="0" >
301                     <widget class="QLabel" name="label_2" >
302                      <property name="text" >
303                       <string>User:</string>
304                      </property>
305                     </widget>
306                    </item>
307                    <item row="0" column="1" >
308                     <widget class="QLineEdit" name="user" >
309                      <property name="text" >
310                       <string/>
311                      </property>
312                     </widget>
313                    </item>
314                    <item row="1" column="0" >
315                     <widget class="QLabel" name="label_3" >
316                      <property name="text" >
317                       <string>Password:</string>
318                      </property>
319                     </widget>
320                    </item>
321                    <item row="1" column="1" >
322                     <widget class="QLineEdit" name="password" >
323                      <property name="echoMode" >
324                       <enum>QLineEdit::Password</enum>
325                      </property>
326                     </widget>
327                    </item>
328                    <item row="2" column="1" >
329                     <widget class="QCheckBox" name="rememberPasswd" >
330                      <property name="text" >
331                       <string>Remember</string>
332                      </property>
333                     </widget>
334                    </item>
335                   </layout>
336                  </item>
337                 </layout>
338                </widget>
339               </item>
340              </layout>
341             </widget>
342             <widget class="QWidget" name="coreConfigPage" >
343              <property name="geometry" >
344               <rect>
345                <x>0</x>
346                <y>0</y>
347                <width>100</width>
348                <height>30</height>
349               </rect>
350              </property>
351              <layout class="QVBoxLayout" >
352               <item>
353                <widget class="QGroupBox" name="groupBox_4" >
354                 <property name="sizePolicy" >
355                  <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
356                   <horstretch>0</horstretch>
357                   <verstretch>0</verstretch>
358                  </sizepolicy>
359                 </property>
360                 <property name="title" >
361                  <string>Configure your Quassel Core</string>
362                 </property>
363                 <layout class="QVBoxLayout" >
364                  <item>
365                   <widget class="QLabel" name="label_7" >
366                    <property name="text" >
367                     <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>
368                    </property>
369                    <property name="alignment" >
370                     <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
371                    </property>
372                    <property name="wordWrap" >
373                     <bool>true</bool>
374                    </property>
375                   </widget>
376                  </item>
377                  <item>
378                   <layout class="QHBoxLayout" >
379                    <item>
380                     <spacer>
381                      <property name="orientation" >
382                       <enum>Qt::Horizontal</enum>
383                      </property>
384                      <property name="sizeHint" stdset="0" >
385                       <size>
386                        <width>40</width>
387                        <height>20</height>
388                       </size>
389                      </property>
390                     </spacer>
391                    </item>
392                    <item>
393                     <widget class="QPushButton" name="launchCoreConfigWizard" >
394                      <property name="text" >
395                       <string>Launch Wizard</string>
396                      </property>
397                     </widget>
398                    </item>
399                    <item>
400                     <spacer>
401                      <property name="orientation" >
402                       <enum>Qt::Horizontal</enum>
403                      </property>
404                      <property name="sizeHint" stdset="0" >
405                       <size>
406                        <width>40</width>
407                        <height>20</height>
408                       </size>
409                      </property>
410                     </spacer>
411                    </item>
412                   </layout>
413                  </item>
414                 </layout>
415                </widget>
416               </item>
417               <item>
418                <spacer>
419                 <property name="orientation" >
420                  <enum>Qt::Vertical</enum>
421                 </property>
422                 <property name="sizeHint" stdset="0" >
423                  <size>
424                   <width>20</width>
425                   <height>40</height>
426                  </size>
427                 </property>
428                </spacer>
429               </item>
430              </layout>
431             </widget>
432             <widget class="QWidget" name="loginEmptyPage" >
433              <property name="geometry" >
434               <rect>
435                <x>0</x>
436                <y>0</y>
437                <width>100</width>
438                <height>30</height>
439               </rect>
440              </property>
441             </widget>
442            </widget>
443           </item>
444          </layout>
445         </widget>
446        </item>
447        <item>
448         <widget class="QDialogButtonBox" name="loginButtonBox" >
449          <property name="standardButtons" >
450           <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
451          </property>
452         </widget>
453        </item>
454       </layout>
455      </widget>
456      <widget class="QWidget" name="syncPage" >
457       <property name="geometry" >
458        <rect>
459         <x>0</x>
460         <y>0</y>
461         <width>511</width>
462         <height>317</height>
463        </rect>
464       </property>
465       <layout class="QVBoxLayout" >
466        <item>
467         <widget class="QGroupBox" name="groupBox_3" >
468          <property name="title" >
469           <string>Initializing your session...</string>
470          </property>
471          <layout class="QVBoxLayout" >
472           <item>
473            <layout class="QVBoxLayout" >
474             <item>
475              <widget class="QLabel" name="label_6" >
476               <property name="text" >
477                <string>&lt;b>Please be patient while your client synchronizes with the Quassel Core!&lt;/b></string>
478               </property>
479               <property name="alignment" >
480                <set>Qt::AlignHCenter|Qt::AlignTop</set>
481               </property>
482               <property name="wordWrap" >
483                <bool>true</bool>
484               </property>
485              </widget>
486             </item>
487             <item>
488              <layout class="QGridLayout" >
489               <item row="0" column="0" >
490                <widget class="QLabel" name="progressLabel" >
491                 <property name="text" >
492                  <string>Session state:</string>
493                 </property>
494                </widget>
495               </item>
496               <item row="0" column="1" >
497                <widget class="QProgressBar" name="sessionProgress" >
498                 <property name="maximum" >
499                  <number>1</number>
500                 </property>
501                 <property name="value" >
502                  <number>0</number>
503                 </property>
504                </widget>
505               </item>
506               <item row="1" column="0" >
507                <widget class="QLabel" name="label" >
508                 <property name="text" >
509                  <string>Network states:</string>
510                 </property>
511                </widget>
512               </item>
513               <item row="1" column="1" >
514                <widget class="QProgressBar" name="networksProgress" >
515                 <property name="maximum" >
516                  <number>1</number>
517                 </property>
518                 <property name="value" >
519                  <number>0</number>
520                 </property>
521                 <property name="format" >
522                  <string>0/0</string>
523                 </property>
524                </widget>
525               </item>
526               <item row="2" column="0" >
527                <widget class="QLabel" name="label_4" >
528                 <property name="text" >
529                  <string>Channel states:</string>
530                 </property>
531                </widget>
532               </item>
533               <item row="2" column="1" >
534                <widget class="QProgressBar" name="channelsProgress" >
535                 <property name="maximum" >
536                  <number>1</number>
537                 </property>
538                 <property name="value" >
539                  <number>0</number>
540                 </property>
541                 <property name="format" >
542                  <string>0/0</string>
543                 </property>
544                </widget>
545               </item>
546               <item row="3" column="0" >
547                <widget class="QLabel" name="label_5" >
548                 <property name="text" >
549                  <string>User states:</string>
550                 </property>
551                </widget>
552               </item>
553               <item row="3" column="1" >
554                <widget class="QProgressBar" name="ircUsersProgress" >
555                 <property name="minimum" >
556                  <number>0</number>
557                 </property>
558                 <property name="maximum" >
559                  <number>1</number>
560                 </property>
561                 <property name="value" >
562                  <number>0</number>
563                 </property>
564                 <property name="format" >
565                  <string>0/0</string>
566                 </property>
567                </widget>
568               </item>
569              </layout>
570             </item>
571             <item>
572              <spacer>
573               <property name="orientation" >
574                <enum>Qt::Vertical</enum>
575               </property>
576               <property name="sizeHint" stdset="0" >
577                <size>
578                 <width>483</width>
579                 <height>61</height>
580                </size>
581               </property>
582              </spacer>
583             </item>
584            </layout>
585           </item>
586          </layout>
587         </widget>
588        </item>
589        <item>
590         <widget class="QDialogButtonBox" name="syncButtonBox" >
591          <property name="standardButtons" >
592           <set>QDialogButtonBox::Abort</set>
593          </property>
594          <property name="centerButtons" >
595           <bool>true</bool>
596          </property>
597         </widget>
598        </item>
599       </layout>
600      </widget>
601     </widget>
602    </item>
603   </layout>
604  </widget>
605  <tabstops>
606   <tabstop>accountList</tabstop>
607   <tabstop>accountButtonBox</tabstop>
608   <tabstop>autoConnect</tabstop>
609   <tabstop>editAccount</tabstop>
610   <tabstop>addAccount</tabstop>
611   <tabstop>deleteAccount</tabstop>
612   <tabstop>user</tabstop>
613   <tabstop>password</tabstop>
614   <tabstop>rememberPasswd</tabstop>
615   <tabstop>loginButtonBox</tabstop>
616   <tabstop>launchCoreConfigWizard</tabstop>
617   <tabstop>syncButtonBox</tabstop>
618  </tabstops>
619  <resources>
620   <include location="../../icons/icons.qrc" />
621  </resources>
622  <connections>
623   <connection>
624    <sender>accountButtonBox</sender>
625    <signal>rejected()</signal>
626    <receiver>CoreConnectDlg</receiver>
627    <slot>reject()</slot>
628    <hints>
629     <hint type="sourcelabel" >
630      <x>279</x>
631      <y>434</y>
632     </hint>
633     <hint type="destinationlabel" >
634      <x>286</x>
635      <y>237</y>
636     </hint>
637    </hints>
638   </connection>
639  </connections>
640 </ui>