--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>SiteConfigDialog</class>
+ <widget class="QDialog" name="SiteConfigDialog">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>562</width>
+ <height>367</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Site Configuration</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Name of the site</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1" colspan="7">
+ <widget class="QLineEdit" name="site_title"/>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Site URL</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2" colspan="6">
+ <widget class="QLineEdit" name="site_url">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_3">
+ <property name="text">
+ <string>Keywords</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1" colspan="7">
+ <widget class="QLineEdit" name="keywords"/>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="label_4">
+ <property name="text">
+ <string>Description</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1" colspan="7">
+ <widget class="QPlainTextEdit" name="description">
+ <property name="verticalScrollBarPolicy">
+ <enum>Qt::ScrollBarAlwaysOn</enum>
+ </property>
+ <property name="tabChangesFocus">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0" colspan="2">
+ <widget class="QLabel" name="label_6">
+ <property name="text">
+ <string># of RSS feed items</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <widget class="QLabel" name="label_5">
+ <property name="text">
+ <string>Export destination</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="1" colspan="6">
+ <widget class="QLineEdit" name="destination"/>
+ </item>
+ <item row="5" column="7">
+ <widget class="QPushButton" name="destination_browse_button">
+ <property name="text">
+ <string>browse...</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="0" colspan="8">
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLabel" name="label_8">
+ <property name="text">
+ <string>http://</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="2">
+ <widget class="QSpinBox" name="num_rss_items">
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ <property name="maximum">
+ <number>20</number>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="4" colspan="4">
+ <widget class="QLineEdit" name="copyright"/>
+ </item>
+ <item row="4" column="3">
+ <widget class="QLabel" name="label_7">
+ <property name="text">
+ <string>Copyright text</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <tabstops>
+ <tabstop>site_title</tabstop>
+ <tabstop>site_url</tabstop>
+ <tabstop>keywords</tabstop>
+ <tabstop>description</tabstop>
+ <tabstop>num_rss_items</tabstop>
+ <tabstop>copyright</tabstop>
+ <tabstop>destination</tabstop>
+ <tabstop>destination_browse_button</tabstop>
+ <tabstop>buttonBox</tabstop>
+ </tabstops>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>accepted()</signal>
+ <receiver>SiteConfigDialog</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>248</x>
+ <y>254</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>157</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
+ <receiver>SiteConfigDialog</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>316</x>
+ <y>260</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>286</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>
--- /dev/null
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'site_configuration_dialog.ui'
+#
+# Created: Thu Nov 25 13:17:07 2010
+# by: PyQt4 UI code generator 4.7.4
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+class Ui_SiteConfigDialog(object):
+ def setupUi(self, SiteConfigDialog):
+ SiteConfigDialog.setObjectName("SiteConfigDialog")
+ SiteConfigDialog.resize(562, 367)
+ self.gridLayout = QtGui.QGridLayout(SiteConfigDialog)
+ self.gridLayout.setObjectName("gridLayout")
+ self.label = QtGui.QLabel(SiteConfigDialog)
+ self.label.setObjectName("label")
+ self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
+ self.site_title = QtGui.QLineEdit(SiteConfigDialog)
+ self.site_title.setObjectName("site_title")
+ self.gridLayout.addWidget(self.site_title, 0, 1, 1, 7)
+ self.label_2 = QtGui.QLabel(SiteConfigDialog)
+ self.label_2.setObjectName("label_2")
+ self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
+ self.site_url = QtGui.QLineEdit(SiteConfigDialog)
+ self.site_url.setText("")
+ self.site_url.setObjectName("site_url")
+ self.gridLayout.addWidget(self.site_url, 1, 2, 1, 6)
+ self.label_3 = QtGui.QLabel(SiteConfigDialog)
+ self.label_3.setObjectName("label_3")
+ self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
+ self.keywords = QtGui.QLineEdit(SiteConfigDialog)
+ self.keywords.setObjectName("keywords")
+ self.gridLayout.addWidget(self.keywords, 2, 1, 1, 7)
+ self.label_4 = QtGui.QLabel(SiteConfigDialog)
+ self.label_4.setObjectName("label_4")
+ self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
+ self.description = QtGui.QPlainTextEdit(SiteConfigDialog)
+ self.description.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
+ self.description.setTabChangesFocus(True)
+ self.description.setObjectName("description")
+ self.gridLayout.addWidget(self.description, 3, 1, 1, 7)
+ self.label_6 = QtGui.QLabel(SiteConfigDialog)
+ self.label_6.setObjectName("label_6")
+ self.gridLayout.addWidget(self.label_6, 4, 0, 1, 2)
+ self.label_5 = QtGui.QLabel(SiteConfigDialog)
+ self.label_5.setObjectName("label_5")
+ self.gridLayout.addWidget(self.label_5, 5, 0, 1, 1)
+ self.destination = QtGui.QLineEdit(SiteConfigDialog)
+ self.destination.setObjectName("destination")
+ self.gridLayout.addWidget(self.destination, 5, 1, 1, 6)
+ self.destination_browse_button = QtGui.QPushButton(SiteConfigDialog)
+ self.destination_browse_button.setObjectName("destination_browse_button")
+ self.gridLayout.addWidget(self.destination_browse_button, 5, 7, 1, 1)
+ self.buttonBox = QtGui.QDialogButtonBox(SiteConfigDialog)
+ self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
+ self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
+ self.buttonBox.setObjectName("buttonBox")
+ self.gridLayout.addWidget(self.buttonBox, 6, 0, 1, 8)
+ self.label_8 = QtGui.QLabel(SiteConfigDialog)
+ self.label_8.setObjectName("label_8")
+ self.gridLayout.addWidget(self.label_8, 1, 1, 1, 1)
+ self.num_rss_items = QtGui.QSpinBox(SiteConfigDialog)
+ self.num_rss_items.setMinimum(1)
+ self.num_rss_items.setMaximum(20)
+ self.num_rss_items.setObjectName("num_rss_items")
+ self.gridLayout.addWidget(self.num_rss_items, 4, 2, 1, 1)
+ self.copyright = QtGui.QLineEdit(SiteConfigDialog)
+ self.copyright.setObjectName("copyright")
+ self.gridLayout.addWidget(self.copyright, 4, 4, 1, 4)
+ self.label_7 = QtGui.QLabel(SiteConfigDialog)
+ self.label_7.setObjectName("label_7")
+ self.gridLayout.addWidget(self.label_7, 4, 3, 1, 1)
+
+ self.retranslateUi(SiteConfigDialog)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), SiteConfigDialog.accept)
+ QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), SiteConfigDialog.reject)
+ QtCore.QMetaObject.connectSlotsByName(SiteConfigDialog)
+ SiteConfigDialog.setTabOrder(self.site_title, self.site_url)
+ SiteConfigDialog.setTabOrder(self.site_url, self.keywords)
+ SiteConfigDialog.setTabOrder(self.keywords, self.description)
+ SiteConfigDialog.setTabOrder(self.description, self.num_rss_items)
+ SiteConfigDialog.setTabOrder(self.num_rss_items, self.copyright)
+ SiteConfigDialog.setTabOrder(self.copyright, self.destination)
+ SiteConfigDialog.setTabOrder(self.destination, self.destination_browse_button)
+ SiteConfigDialog.setTabOrder(self.destination_browse_button, self.buttonBox)
+
+ def retranslateUi(self, SiteConfigDialog):
+ SiteConfigDialog.setWindowTitle(QtGui.QApplication.translate("SiteConfigDialog", "Site Configuration", None, QtGui.QApplication.UnicodeUTF8))
+ self.label.setText(QtGui.QApplication.translate("SiteConfigDialog", "Name of the site", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_2.setText(QtGui.QApplication.translate("SiteConfigDialog", "Site URL", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_3.setText(QtGui.QApplication.translate("SiteConfigDialog", "Keywords", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_4.setText(QtGui.QApplication.translate("SiteConfigDialog", "Description", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_6.setText(QtGui.QApplication.translate("SiteConfigDialog", "# of RSS feed items", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_5.setText(QtGui.QApplication.translate("SiteConfigDialog", "Export destination", None, QtGui.QApplication.UnicodeUTF8))
+ self.destination_browse_button.setText(QtGui.QApplication.translate("SiteConfigDialog", "browse...", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_8.setText(QtGui.QApplication.translate("SiteConfigDialog", "http://", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_7.setText(QtGui.QApplication.translate("SiteConfigDialog", "Copyright text", None, QtGui.QApplication.UnicodeUTF8))
+