WizardDataUriEncoder/DataUriEncoderWizardDialog.ui

changeset 1
2fa6997ff09c
child 44
1ab3e76972e6
equal deleted inserted replaced
0:3ad485fab7d4 1:2fa6997ff09c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>DataUriEncoderWizardDialog</class>
4 <widget class="QDialog" name="DataUriEncoderWizardDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>700</width>
10 <height>400</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Data URI Encoder</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <layout class="QGridLayout" name="gridLayout">
20 <item row="0" column="0" colspan="3">
21 <widget class="QLabel" name="label">
22 <property name="text">
23 <string>&lt;b&gt;Encode file as plain text string&lt;/b&gt;</string>
24 </property>
25 </widget>
26 </item>
27 <item row="1" column="0">
28 <widget class="QLabel" name="label_2">
29 <property name="text">
30 <string>File to Encode:</string>
31 </property>
32 </widget>
33 </item>
34 <item row="1" column="1">
35 <widget class="QLineEdit" name="fileEdit">
36 <property name="toolTip">
37 <string>Enter the file to be encoded</string>
38 </property>
39 </widget>
40 </item>
41 <item row="1" column="2">
42 <widget class="QToolButton" name="fileButton">
43 <property name="toolTip">
44 <string>Select the file to be encoded</string>
45 </property>
46 </widget>
47 </item>
48 <item row="2" column="0" colspan="3">
49 <layout class="QHBoxLayout" name="horizontalLayout">
50 <item>
51 <widget class="QCheckBox" name="dataCheckBox">
52 <property name="text">
53 <string>Use &quot;data:type/subtype;base64,...&quot;</string>
54 </property>
55 <property name="checked">
56 <bool>true</bool>
57 </property>
58 </widget>
59 </item>
60 <item>
61 <widget class="QCheckBox" name="encryptCheckBox">
62 <property name="toolTip">
63 <string>Select to encrypt the output with 'rot_13' (use &quot;string&quot;.decode(rot_13) to decrypt it)</string>
64 </property>
65 <property name="text">
66 <string>Use basic Caesar Cipher (rot_13)</string>
67 </property>
68 </widget>
69 </item>
70 </layout>
71 </item>
72 <item row="3" column="0">
73 <widget class="QLabel" name="label_3">
74 <property name="text">
75 <string>Embedding Template Code:</string>
76 </property>
77 </widget>
78 </item>
79 <item row="3" column="1" colspan="2">
80 <widget class="QComboBox" name="embeddingComboBox">
81 <property name="toolTip">
82 <string>Select the embedding method</string>
83 </property>
84 </widget>
85 </item>
86 <item row="4" column="0" colspan="3">
87 <layout class="QHBoxLayout" name="horizontalLayout_2">
88 <item>
89 <spacer name="horizontalSpacer_2">
90 <property name="orientation">
91 <enum>Qt::Horizontal</enum>
92 </property>
93 <property name="sizeHint" stdset="0">
94 <size>
95 <width>40</width>
96 <height>20</height>
97 </size>
98 </property>
99 </spacer>
100 </item>
101 <item>
102 <widget class="QPushButton" name="encodeButton">
103 <property name="enabled">
104 <bool>false</bool>
105 </property>
106 <property name="text">
107 <string>Encode BASE64</string>
108 </property>
109 </widget>
110 </item>
111 <item>
112 <spacer name="horizontalSpacer_3">
113 <property name="orientation">
114 <enum>Qt::Horizontal</enum>
115 </property>
116 <property name="sizeHint" stdset="0">
117 <size>
118 <width>40</width>
119 <height>20</height>
120 </size>
121 </property>
122 </spacer>
123 </item>
124 </layout>
125 </item>
126 <item row="5" column="0" colspan="3">
127 <widget class="Line" name="line">
128 <property name="lineWidth">
129 <number>2</number>
130 </property>
131 <property name="orientation">
132 <enum>Qt::Horizontal</enum>
133 </property>
134 </widget>
135 </item>
136 <item row="6" column="0" colspan="3">
137 <widget class="QLabel" name="label_4">
138 <property name="text">
139 <string>Base64 String Output:</string>
140 </property>
141 </widget>
142 </item>
143 <item row="7" column="0" colspan="3">
144 <widget class="QPlainTextEdit" name="outputTextEdit">
145 <property name="readOnly">
146 <bool>true</bool>
147 </property>
148 </widget>
149 </item>
150 <item row="8" column="0" colspan="3">
151 <layout class="QHBoxLayout" name="horizontalLayout_3">
152 <item>
153 <widget class="QPushButton" name="copyButton">
154 <property name="enabled">
155 <bool>false</bool>
156 </property>
157 <property name="toolTip">
158 <string>Press to copy the encoded output to the system clipboard</string>
159 </property>
160 <property name="text">
161 <string>Copy encoded output to Clipboard</string>
162 </property>
163 </widget>
164 </item>
165 <item>
166 <spacer name="horizontalSpacer">
167 <property name="orientation">
168 <enum>Qt::Horizontal</enum>
169 </property>
170 <property name="sizeHint" stdset="0">
171 <size>
172 <width>40</width>
173 <height>20</height>
174 </size>
175 </property>
176 </spacer>
177 </item>
178 </layout>
179 </item>
180 <item row="9" column="0" colspan="3">
181 <widget class="QDialogButtonBox" name="buttonBox">
182 <property name="orientation">
183 <enum>Qt::Horizontal</enum>
184 </property>
185 <property name="standardButtons">
186 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
187 </property>
188 </widget>
189 </item>
190 </layout>
191 </widget>
192 <tabstops>
193 <tabstop>fileEdit</tabstop>
194 <tabstop>fileButton</tabstop>
195 <tabstop>dataCheckBox</tabstop>
196 <tabstop>encryptCheckBox</tabstop>
197 <tabstop>embeddingComboBox</tabstop>
198 <tabstop>encodeButton</tabstop>
199 <tabstop>outputTextEdit</tabstop>
200 <tabstop>copyButton</tabstop>
201 <tabstop>buttonBox</tabstop>
202 </tabstops>
203 <resources/>
204 <connections>
205 <connection>
206 <sender>buttonBox</sender>
207 <signal>accepted()</signal>
208 <receiver>DataUriEncoderWizardDialog</receiver>
209 <slot>accept()</slot>
210 <hints>
211 <hint type="sourcelabel">
212 <x>248</x>
213 <y>254</y>
214 </hint>
215 <hint type="destinationlabel">
216 <x>157</x>
217 <y>274</y>
218 </hint>
219 </hints>
220 </connection>
221 <connection>
222 <sender>buttonBox</sender>
223 <signal>rejected()</signal>
224 <receiver>DataUriEncoderWizardDialog</receiver>
225 <slot>reject()</slot>
226 <hints>
227 <hint type="sourcelabel">
228 <x>316</x>
229 <y>260</y>
230 </hint>
231 <hint type="destinationlabel">
232 <x>286</x>
233 <y>274</y>
234 </hint>
235 </hints>
236 </connection>
237 </connections>
238 </ui>

eric ide

mercurial