1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>SiteConfigDialog</class>
4 <widget class="QDialog" name="SiteConfigDialog">
5 <property name="windowModality">
6 <enum>Qt::ApplicationModal</enum>
8 <property name="geometry">
16 <property name="windowTitle">
17 <string>Site Configuration</string>
19 <property name="modal">
22 <layout class="QGridLayout" name="gridLayout">
23 <item row="0" column="0">
24 <widget class="QLabel" name="label">
25 <property name="font">
31 <property name="text">
32 <string>Name of the site</string>
36 <item row="0" column="1" colspan="7">
37 <widget class="QLineEdit" name="site_title">
38 <property name="whatsThis">
39 <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
40 <html><head><meta name="qrichtext" content="1" /><style type="text/css">
41 p, li { white-space: pre-wrap; }
42 </style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
43 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Title of the site displayed in the header </p>
44 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">of the generated website. <span style=" font-style:italic;">Required field</span></p></body></html></string>
46 <property name="text">
47 <string>My Site</string>
51 <item row="1" column="0">
52 <widget class="QLabel" name="label_2">
53 <property name="font">
59 <property name="text">
60 <string>Site URL</string>
64 <item row="2" column="0">
65 <widget class="QLabel" name="label_3">
66 <property name="font">
72 <property name="text">
73 <string>Keywords</string>
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
84 <property name="text">
85 <string>some keywords here</string>
89 <item row="3" column="0">
90 <widget class="QLabel" name="label_4">
91 <property name="font">
97 <property name="text">
98 <string>Description</string>
102 <item row="3" column="1" colspan="7">
103 <widget class="QPlainTextEdit" name="description">
104 <property name="whatsThis">
105 <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
106 <html><head><meta name="qrichtext" content="1" /><style type="text/css">
107 p, li { white-space: pre-wrap; }
108 </style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
109 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Description. This is displayed below the site title</p>
110 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">in the generated HTML page. <span style=" font-style:italic;">Required field</span></p></body></html></string>
112 <property name="verticalScrollBarPolicy">
113 <enum>Qt::ScrollBarAlwaysOn</enum>
115 <property name="tabChangesFocus">
118 <property name="plainText">
119 <string>Your site's description here. This appears in the site header.</string>
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>
130 <item row="5" column="0">
131 <widget class="QLabel" name="label_5">
132 <property name="font">
138 <property name="text">
139 <string>Export destination</string>
143 <item row="5" column="1" colspan="6">
144 <widget class="QLineEdit" name="destination">
145 <property name="whatsThis">
146 <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
147 <html><head><meta name="qrichtext" content="1" /><style type="text/css">
148 p, li { white-space: pre-wrap; }
149 </style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
150 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Desination to generate the HTML output when </p>
151 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">exported. <span style=" font-style:italic;">Required field</span></p></body></html></string>
155 <item row="5" column="7">
156 <widget class="QPushButton" name="destination_browse_button">
157 <property name="text">
158 <string>browse...</string>
162 <item row="6" column="0" colspan="8">
163 <widget class="QDialogButtonBox" name="buttonBox">
164 <property name="orientation">
165 <enum>Qt::Horizontal</enum>
167 <property name="standardButtons">
168 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
172 <item row="1" column="1">
173 <widget class="QLabel" name="label_8">
174 <property name="text">
175 <string>http://</string>
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>
186 <property name="minimum">
189 <property name="maximum">
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>
200 <property name="text">
201 <string>Copyright (C) year, your name here</string>
205 <item row="4" column="3">
206 <widget class="QLabel" name="label_7">
207 <property name="text">
208 <string>Copyright text</string>
212 <item row="1" column="2" colspan="6">
213 <widget class="QLineEdit" name="site_url">
214 <property name="whatsThis">
215 <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
216 <html><head><meta name="qrichtext" content="1" /><style type="text/css">
217 p, li { white-space: pre-wrap; }
218 </style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
219 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">URL of the site without the HTTP part. This is the </p>
220 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">base href URL when exported and all site links are</p>
221 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">relative to this. <span style=" font-style:italic;">Required field</span></p></body></html></string>
223 <property name="text">
224 <string>example.com</string>
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>
244 <sender>buttonBox</sender>
245 <signal>accepted()</signal>
246 <receiver>SiteConfigDialog</receiver>
247 <slot>accept()</slot>
249 <hint type="sourcelabel">
253 <hint type="destinationlabel">
260 <sender>buttonBox</sender>
261 <signal>rejected()</signal>
262 <receiver>SiteConfigDialog</receiver>
263 <slot>reject()</slot>
265 <hint type="sourcelabel">
269 <hint type="destinationlabel">
276 <sender>destination_browse_button</sender>
277 <signal>clicked()</signal>
278 <receiver>SiteConfigDialog</receiver>
279 <slot>on_browse()</slot>
281 <hint type="sourcelabel">
285 <hint type="destinationlabel">
293 <slot>on_browse()</slot>