source: trunk/qt/session-dialog.ui @ 14393

Last change on this file since 14393 was 14393, checked in by mikedld, 8 years ago

Rework session dialog in Qt client to load from .ui

File size: 4.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>SessionDialog</class>
4 <widget class="QDialog" name="SessionDialog">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>248</width>
10    <height>263</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Change Session</string>
15  </property>
16  <property name="styleSheet">
17   <string notr="true">[tr-style~=&quot;form-section&quot;]
18{
19  font-weight: bold;
20  margin-top: 12px;
21  margin-bottom: 1px;
22}
23[tr-style~=&quot;form-section&quot;][tr-style~=&quot;first&quot;]
24{
25  margin-top: 0;
26}
27[tr-style~=&quot;form-label&quot;]
28{
29  margin-left: 18px;
30}</string>
31  </property>
32  <layout class="QGridLayout" name="dialogLayout">
33   <property name="sizeConstraint">
34    <enum>QLayout::SetFixedSize</enum>
35   </property>
36   <item row="0" column="0" colspan="2">
37    <widget class="QLabel" name="sourceSectionLabel">
38     <property name="text">
39      <string>Source</string>
40     </property>
41     <property name="tr-style" stdset="0">
42      <string notr="true">form-section first</string>
43     </property>
44    </widget>
45   </item>
46   <item row="1" column="0" colspan="2">
47    <widget class="QRadioButton" name="localSessionRadio">
48     <property name="text">
49      <string>Start &amp;Local Session</string>
50     </property>
51     <property name="tr-style" stdset="0">
52      <string notr="true">form-label</string>
53     </property>
54    </widget>
55   </item>
56   <item row="2" column="0" colspan="2">
57    <widget class="QRadioButton" name="remoteSessionRadio">
58     <property name="text">
59      <string>Connect to &amp;Remote Session</string>
60     </property>
61     <property name="tr-style" stdset="0">
62      <string notr="true">form-label</string>
63     </property>
64    </widget>
65   </item>
66   <item row="3" column="0">
67    <widget class="QLabel" name="hostLabel">
68     <property name="text">
69      <string>&amp;Host:</string>
70     </property>
71     <property name="buddy">
72      <cstring>hostEdit</cstring>
73     </property>
74     <property name="tr-style" stdset="0">
75      <string notr="true">form-label</string>
76     </property>
77    </widget>
78   </item>
79   <item row="3" column="1">
80    <widget class="QLineEdit" name="hostEdit"/>
81   </item>
82   <item row="4" column="0">
83    <widget class="QLabel" name="portLabel">
84     <property name="text">
85      <string>&amp;Port:</string>
86     </property>
87     <property name="buddy">
88      <cstring>portSpin</cstring>
89     </property>
90     <property name="tr-style" stdset="0">
91      <string notr="true">form-label</string>
92     </property>
93    </widget>
94   </item>
95   <item row="4" column="1">
96    <widget class="QSpinBox" name="portSpin">
97     <property name="minimum">
98      <number>1</number>
99     </property>
100     <property name="maximum">
101      <number>65535</number>
102     </property>
103    </widget>
104   </item>
105   <item row="5" column="0" colspan="2">
106    <widget class="QCheckBox" name="authCheck">
107     <property name="text">
108      <string>&amp;Authentication required</string>
109     </property>
110     <property name="tr-style" stdset="0">
111      <string notr="true">form-label</string>
112     </property>
113    </widget>
114   </item>
115   <item row="6" column="0">
116    <widget class="QLabel" name="usernameLabel">
117     <property name="text">
118      <string>&amp;Username:</string>
119     </property>
120     <property name="buddy">
121      <cstring>usernameEdit</cstring>
122     </property>
123     <property name="tr-style" stdset="0">
124      <string notr="true">form-label</string>
125     </property>
126    </widget>
127   </item>
128   <item row="6" column="1">
129    <widget class="QLineEdit" name="usernameEdit"/>
130   </item>
131   <item row="7" column="0">
132    <widget class="QLabel" name="passwordLabel">
133     <property name="text">
134      <string>Pass&amp;word:</string>
135     </property>
136     <property name="buddy">
137      <cstring>passwordEdit</cstring>
138     </property>
139     <property name="tr-style" stdset="0">
140      <string notr="true">form-label</string>
141     </property>
142    </widget>
143   </item>
144   <item row="7" column="1">
145    <widget class="QLineEdit" name="passwordEdit">
146     <property name="echoMode">
147      <enum>QLineEdit::Password</enum>
148     </property>
149    </widget>
150   </item>
151   <item row="8" column="0" colspan="2">
152    <widget class="QDialogButtonBox" name="dialogButtons">
153     <property name="orientation">
154      <enum>Qt::Horizontal</enum>
155     </property>
156     <property name="standardButtons">
157      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
158     </property>
159    </widget>
160   </item>
161  </layout>
162 </widget>
163 <resources/>
164 <connections/>
165</ui>
Note: See TracBrowser for help on using the repository browser.