15 </property> |
15 </property> |
16 <property name="sizeGripEnabled"> |
16 <property name="sizeGripEnabled"> |
17 <bool>true</bool> |
17 <bool>true</bool> |
18 </property> |
18 </property> |
19 <layout class="QGridLayout" name="gridLayout"> |
19 <layout class="QGridLayout" name="gridLayout"> |
20 <item row="0" column="0" colspan="3"> |
20 <item row="0" column="0" colspan="2"> |
21 <widget class="QLabel" name="label"> |
21 <widget class="QLabel" name="label"> |
22 <property name="text"> |
22 <property name="text"> |
23 <string><b>Encode file as plain text string</b></string> |
23 <string><b>Encode file as plain text string</b></string> |
24 </property> |
24 </property> |
25 </widget> |
25 </widget> |
30 <string>File to Encode:</string> |
30 <string>File to Encode:</string> |
31 </property> |
31 </property> |
32 </widget> |
32 </widget> |
33 </item> |
33 </item> |
34 <item row="1" column="1"> |
34 <item row="1" column="1"> |
35 <widget class="QLineEdit" name="fileEdit"> |
35 <widget class="EricPathPicker" name="filePicker" native="true"> |
|
36 <property name="sizePolicy"> |
|
37 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
38 <horstretch>0</horstretch> |
|
39 <verstretch>0</verstretch> |
|
40 </sizepolicy> |
|
41 </property> |
|
42 <property name="focusPolicy"> |
|
43 <enum>Qt::StrongFocus</enum> |
|
44 </property> |
36 <property name="toolTip"> |
45 <property name="toolTip"> |
37 <string>Enter the file to be encoded</string> |
46 <string>Enter the file to be encoded</string> |
38 </property> |
47 </property> |
39 </widget> |
48 </widget> |
40 </item> |
49 </item> |
41 <item row="1" column="2"> |
50 <item row="2" column="0" colspan="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"> |
51 <layout class="QHBoxLayout" name="horizontalLayout"> |
50 <item> |
52 <item> |
51 <widget class="QCheckBox" name="dataCheckBox"> |
53 <widget class="QCheckBox" name="dataCheckBox"> |
52 <property name="text"> |
54 <property name="text"> |
53 <string>Use "data:type/subtype;base64,..."</string> |
55 <string>Use "data:type/subtype;base64,..."</string> |
74 <property name="text"> |
76 <property name="text"> |
75 <string>Embedding Template Code:</string> |
77 <string>Embedding Template Code:</string> |
76 </property> |
78 </property> |
77 </widget> |
79 </widget> |
78 </item> |
80 </item> |
79 <item row="3" column="1" colspan="2"> |
81 <item row="3" column="1"> |
80 <widget class="QComboBox" name="embeddingComboBox"> |
82 <widget class="QComboBox" name="embeddingComboBox"> |
|
83 <property name="sizePolicy"> |
|
84 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
85 <horstretch>0</horstretch> |
|
86 <verstretch>0</verstretch> |
|
87 </sizepolicy> |
|
88 </property> |
81 <property name="toolTip"> |
89 <property name="toolTip"> |
82 <string>Select the embedding method</string> |
90 <string>Select the embedding method</string> |
83 </property> |
91 </property> |
84 </widget> |
92 </widget> |
85 </item> |
93 </item> |
86 <item row="4" column="0" colspan="3"> |
94 <item row="4" column="0" colspan="2"> |
87 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
95 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
88 <item> |
96 <item> |
89 <spacer name="horizontalSpacer_2"> |
97 <spacer name="horizontalSpacer_2"> |
90 <property name="orientation"> |
98 <property name="orientation"> |
91 <enum>Qt::Horizontal</enum> |
99 <enum>Qt::Horizontal</enum> |
121 </property> |
129 </property> |
122 </spacer> |
130 </spacer> |
123 </item> |
131 </item> |
124 </layout> |
132 </layout> |
125 </item> |
133 </item> |
126 <item row="5" column="0" colspan="3"> |
134 <item row="5" column="0" colspan="2"> |
127 <widget class="Line" name="line"> |
135 <widget class="Line" name="line"> |
128 <property name="lineWidth"> |
136 <property name="lineWidth"> |
129 <number>2</number> |
137 <number>2</number> |
130 </property> |
138 </property> |
131 <property name="orientation"> |
139 <property name="orientation"> |
132 <enum>Qt::Horizontal</enum> |
140 <enum>Qt::Horizontal</enum> |
133 </property> |
141 </property> |
134 </widget> |
142 </widget> |
135 </item> |
143 </item> |
136 <item row="6" column="0" colspan="3"> |
144 <item row="6" column="0" colspan="2"> |
137 <widget class="QLabel" name="label_4"> |
145 <widget class="QLabel" name="label_4"> |
138 <property name="text"> |
146 <property name="text"> |
139 <string>Base64 String Output:</string> |
147 <string>Base64 String Output:</string> |
140 </property> |
148 </property> |
141 </widget> |
149 </widget> |
142 </item> |
150 </item> |
143 <item row="7" column="0" colspan="3"> |
151 <item row="7" column="0" colspan="2"> |
144 <widget class="QPlainTextEdit" name="outputTextEdit"> |
152 <widget class="QPlainTextEdit" name="outputTextEdit"> |
145 <property name="readOnly"> |
153 <property name="readOnly"> |
146 <bool>true</bool> |
154 <bool>true</bool> |
147 </property> |
155 </property> |
148 </widget> |
156 </widget> |
149 </item> |
157 </item> |
150 <item row="8" column="0" colspan="3"> |
158 <item row="8" column="0" colspan="2"> |
151 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
159 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
152 <item> |
160 <item> |
153 <widget class="QPushButton" name="copyButton"> |
161 <widget class="QPushButton" name="copyButton"> |
154 <property name="enabled"> |
162 <property name="enabled"> |
155 <bool>false</bool> |
163 <bool>false</bool> |
175 </property> |
183 </property> |
176 </spacer> |
184 </spacer> |
177 </item> |
185 </item> |
178 </layout> |
186 </layout> |
179 </item> |
187 </item> |
180 <item row="9" column="0" colspan="3"> |
188 <item row="9" column="0" colspan="2"> |
181 <widget class="QDialogButtonBox" name="buttonBox"> |
189 <widget class="QDialogButtonBox" name="buttonBox"> |
182 <property name="orientation"> |
190 <property name="orientation"> |
183 <enum>Qt::Horizontal</enum> |
191 <enum>Qt::Horizontal</enum> |
184 </property> |
192 </property> |
185 <property name="standardButtons"> |
193 <property name="standardButtons"> |
187 </property> |
195 </property> |
188 </widget> |
196 </widget> |
189 </item> |
197 </item> |
190 </layout> |
198 </layout> |
191 </widget> |
199 </widget> |
|
200 <customwidgets> |
|
201 <customwidget> |
|
202 <class>EricPathPicker</class> |
|
203 <extends>QWidget</extends> |
|
204 <header>EricWidgets/EricPathPicker.h</header> |
|
205 <container>1</container> |
|
206 </customwidget> |
|
207 </customwidgets> |
192 <tabstops> |
208 <tabstops> |
193 <tabstop>fileEdit</tabstop> |
209 <tabstop>filePicker</tabstop> |
194 <tabstop>fileButton</tabstop> |
|
195 <tabstop>dataCheckBox</tabstop> |
210 <tabstop>dataCheckBox</tabstop> |
196 <tabstop>encryptCheckBox</tabstop> |
211 <tabstop>encryptCheckBox</tabstop> |
197 <tabstop>embeddingComboBox</tabstop> |
212 <tabstop>embeddingComboBox</tabstop> |
198 <tabstop>encodeButton</tabstop> |
213 <tabstop>encodeButton</tabstop> |
199 <tabstop>outputTextEdit</tabstop> |
214 <tabstop>outputTextEdit</tabstop> |
200 <tabstop>copyButton</tabstop> |
215 <tabstop>copyButton</tabstop> |
201 <tabstop>buttonBox</tabstop> |
|
202 </tabstops> |
216 </tabstops> |
203 <resources/> |
217 <resources/> |
204 <connections> |
218 <connections> |
205 <connection> |
219 <connection> |
206 <sender>buttonBox</sender> |
220 <sender>buttonBox</sender> |