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