Article editing fully implemented
[biaweb_qt.git] / site_configuration_dialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>SiteConfigDialog</class>
4 <widget class="QDialog" name="SiteConfigDialog">
5 <property name="windowModality">
6 <enum>Qt::ApplicationModal</enum>
7 </property>
8 <property name="geometry">
9 <rect>
10 <x>0</x>
11 <y>0</y>
12 <width>562</width>
13 <height>367</height>
14 </rect>
15 </property>
16 <property name="windowTitle">
17 <string>Site Configuration</string>
18 </property>
19 <property name="modal">
20 <bool>true</bool>
21 </property>
22 <layout class="QGridLayout" name="gridLayout">
23 <item row="0" column="0">
24 <widget class="QLabel" name="label">
25 <property name="font">
26 <font>
27 <weight>75</weight>
28 <bold>true</bold>
29 </font>
30 </property>
31 <property name="text">
32 <string>Name of the site</string>
33 </property>
34 </widget>
35 </item>
36 <item row="0" column="1" colspan="7">
37 <widget class="QLineEdit" name="site_title">
38 <property name="whatsThis">
39 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
40 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
41 p, li { white-space: pre-wrap; }
42 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
43 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Title of the site displayed in the header &lt;/p&gt;
44 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;of the generated website. &lt;span style=&quot; font-style:italic;&quot;&gt;Required field&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
45 </property>
46 <property name="text">
47 <string>My Site</string>
48 </property>
49 </widget>
50 </item>
51 <item row="1" column="0">
52 <widget class="QLabel" name="label_2">
53 <property name="font">
54 <font>
55 <weight>75</weight>
56 <bold>true</bold>
57 </font>
58 </property>
59 <property name="text">
60 <string>Site URL</string>
61 </property>
62 </widget>
63 </item>
64 <item row="2" column="0">
65 <widget class="QLabel" name="label_3">
66 <property name="font">
67 <font>
68 <weight>75</weight>
69 <bold>true</bold>
70 </font>
71 </property>
72 <property name="text">
73 <string>Keywords</string>
74 </property>
75 </widget>
76 </item>
77 <item row="2" column="1" colspan="7">
78 <widget class="QLineEdit" name="keywords">
79 <property name="whatsThis">
80 <string>Site keywords. This influences only the main
81 site page. Individual articles will have their own
82 keywords.</string>
83 </property>
84 <property name="text">
85 <string>some keywords here</string>
86 </property>
87 </widget>
88 </item>
89 <item row="3" column="0">
90 <widget class="QLabel" name="label_4">
91 <property name="font">
92 <font>
93 <weight>75</weight>
94 <bold>true</bold>
95 </font>
96 </property>
97 <property name="text">
98 <string>Description</string>
99 </property>
100 </widget>
101 </item>
102 <item row="3" column="1" colspan="7">
103 <widget class="QPlainTextEdit" name="description">
104 <property name="whatsThis">
105 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
106 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
107 p, li { white-space: pre-wrap; }
108 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
109 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Description. This is displayed below the site title&lt;/p&gt;
110 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;in the generated HTML page. &lt;span style=&quot; font-style:italic;&quot;&gt;Required field&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
111 </property>
112 <property name="verticalScrollBarPolicy">
113 <enum>Qt::ScrollBarAlwaysOn</enum>
114 </property>
115 <property name="tabChangesFocus">
116 <bool>true</bool>
117 </property>
118 <property name="plainText">
119 <string>Your site's description here. This appears in the site header.</string>
120 </property>
121 </widget>
122 </item>
123 <item row="4" column="0" colspan="2">
124 <widget class="QLabel" name="label_6">
125 <property name="text">
126 <string># of RSS feed items</string>
127 </property>
128 </widget>
129 </item>
130 <item row="5" column="0">
131 <widget class="QLabel" name="label_5">
132 <property name="font">
133 <font>
134 <weight>75</weight>
135 <bold>true</bold>
136 </font>
137 </property>
138 <property name="text">
139 <string>Export destination</string>
140 </property>
141 </widget>
142 </item>
143 <item row="5" column="1" colspan="6">
144 <widget class="QLineEdit" name="destination">
145 <property name="whatsThis">
146 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
147 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
148 p, li { white-space: pre-wrap; }
149 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
150 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Desination to generate the HTML output when &lt;/p&gt;
151 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;exported. &lt;span style=&quot; font-style:italic;&quot;&gt;Required field&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
152 </property>
153 </widget>
154 </item>
155 <item row="5" column="7">
156 <widget class="QPushButton" name="destination_browse_button">
157 <property name="text">
158 <string>browse...</string>
159 </property>
160 </widget>
161 </item>
162 <item row="6" column="0" colspan="8">
163 <widget class="QDialogButtonBox" name="buttonBox">
164 <property name="orientation">
165 <enum>Qt::Horizontal</enum>
166 </property>
167 <property name="standardButtons">
168 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
169 </property>
170 </widget>
171 </item>
172 <item row="1" column="1">
173 <widget class="QLabel" name="label_8">
174 <property name="text">
175 <string>http://</string>
176 </property>
177 </widget>
178 </item>
179 <item row="4" column="2">
180 <widget class="QSpinBox" name="num_rss_items">
181 <property name="whatsThis">
182 <string>Number of items to display in RSS feed for the site.
183 The RSS feed is updated every time you create a
184 new article and export it to HTML.</string>
185 </property>
186 <property name="minimum">
187 <number>1</number>
188 </property>
189 <property name="maximum">
190 <number>20</number>
191 </property>
192 </widget>
193 </item>
194 <item row="4" column="4" colspan="4">
195 <widget class="QLineEdit" name="copyright">
196 <property name="whatsThis">
197 <string>Copyright text displayed on the footer of all
198 the generated pages of the website.</string>
199 </property>
200 <property name="text">
201 <string>Copyright (C) year, your name here</string>
202 </property>
203 </widget>
204 </item>
205 <item row="4" column="3">
206 <widget class="QLabel" name="label_7">
207 <property name="text">
208 <string>Copyright text</string>
209 </property>
210 </widget>
211 </item>
212 <item row="1" column="2" colspan="6">
213 <widget class="QLineEdit" name="site_url">
214 <property name="whatsThis">
215 <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
216 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
217 p, li { white-space: pre-wrap; }
218 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
219 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;URL of the site without the HTTP part. This is the &lt;/p&gt;
220 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;base href URL when exported and all site links are&lt;/p&gt;
221 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;relative to this. &lt;span style=&quot; font-style:italic;&quot;&gt;Required field&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
222 </property>
223 <property name="text">
224 <string>example.com</string>
225 </property>
226 </widget>
227 </item>
228 </layout>
229 </widget>
230 <tabstops>
231 <tabstop>site_title</tabstop>
232 <tabstop>site_url</tabstop>
233 <tabstop>keywords</tabstop>
234 <tabstop>description</tabstop>
235 <tabstop>num_rss_items</tabstop>
236 <tabstop>copyright</tabstop>
237 <tabstop>destination</tabstop>
238 <tabstop>destination_browse_button</tabstop>
239 <tabstop>buttonBox</tabstop>
240 </tabstops>
241 <resources/>
242 <connections>
243 <connection>
244 <sender>buttonBox</sender>
245 <signal>accepted()</signal>
246 <receiver>SiteConfigDialog</receiver>
247 <slot>accept()</slot>
248 <hints>
249 <hint type="sourcelabel">
250 <x>257</x>
251 <y>357</y>
252 </hint>
253 <hint type="destinationlabel">
254 <x>157</x>
255 <y>274</y>
256 </hint>
257 </hints>
258 </connection>
259 <connection>
260 <sender>buttonBox</sender>
261 <signal>rejected()</signal>
262 <receiver>SiteConfigDialog</receiver>
263 <slot>reject()</slot>
264 <hints>
265 <hint type="sourcelabel">
266 <x>325</x>
267 <y>357</y>
268 </hint>
269 <hint type="destinationlabel">
270 <x>286</x>
271 <y>274</y>
272 </hint>
273 </hints>
274 </connection>
275 <connection>
276 <sender>destination_browse_button</sender>
277 <signal>clicked()</signal>
278 <receiver>SiteConfigDialog</receiver>
279 <slot>on_browse()</slot>
280 <hints>
281 <hint type="sourcelabel">
282 <x>529</x>
283 <y>321</y>
284 </hint>
285 <hint type="destinationlabel">
286 <x>558</x>
287 <y>310</y>
288 </hint>
289 </hints>
290 </connection>
291 </connections>
292 <slots>
293 <slot>on_browse()</slot>
294 </slots>
295 </ui>