# Form implementation generated from reading ui file 'site_configuration_dialog.ui'
#
-# Created: Thu Nov 25 13:17:07 2010
+# Created: Fri Nov 26 13:38:43 2010
# by: PyQt4 UI code generator 4.7.4
#
# WARNING! All changes made in this file will be lost!
class Ui_SiteConfigDialog(object):
def setupUi(self, SiteConfigDialog):
SiteConfigDialog.setObjectName("SiteConfigDialog")
+ SiteConfigDialog.setWindowModality(QtCore.Qt.ApplicationModal)
SiteConfigDialog.resize(562, 367)
+ SiteConfigDialog.setModal(True)
self.gridLayout = QtGui.QGridLayout(SiteConfigDialog)
self.gridLayout.setObjectName("gridLayout")
self.label = QtGui.QLabel(SiteConfigDialog)
+ font = QtGui.QFont()
+ font.setWeight(75)
+ font.setBold(True)
+ self.label.setFont(font)
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)
+ font = QtGui.QFont()
+ font.setWeight(75)
+ font.setBold(True)
+ self.label_2.setFont(font)
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)
+ font = QtGui.QFont()
+ font.setWeight(75)
+ font.setBold(True)
+ self.label_3.setFont(font)
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)
+ font = QtGui.QFont()
+ font.setWeight(75)
+ font.setBold(True)
+ self.label_4.setFont(font)
self.label_4.setObjectName("label_4")
self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
self.description = QtGui.QPlainTextEdit(SiteConfigDialog)
self.label_6.setObjectName("label_6")
self.gridLayout.addWidget(self.label_6, 4, 0, 1, 2)
self.label_5 = QtGui.QLabel(SiteConfigDialog)
+ font = QtGui.QFont()
+ font.setWeight(75)
+ font.setBold(True)
+ self.label_5.setFont(font)
self.label_5.setObjectName("label_5")
self.gridLayout.addWidget(self.label_5, 5, 0, 1, 1)
self.destination = QtGui.QLineEdit(SiteConfigDialog)
self.label_7 = QtGui.QLabel(SiteConfigDialog)
self.label_7.setObjectName("label_7")
self.gridLayout.addWidget(self.label_7, 4, 3, 1, 1)
+ self.site_url = QtGui.QLineEdit(SiteConfigDialog)
+ self.site_url.setObjectName("site_url")
+ self.gridLayout.addWidget(self.site_url, 1, 2, 1, 6)
self.retranslateUi(SiteConfigDialog)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), SiteConfigDialog.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), SiteConfigDialog.reject)
+ QtCore.QObject.connect(self.destination_browse_button, QtCore.SIGNAL("clicked()"), SiteConfigDialog.on_browse)
QtCore.QMetaObject.connectSlotsByName(SiteConfigDialog)
SiteConfigDialog.setTabOrder(self.site_title, self.site_url)
SiteConfigDialog.setTabOrder(self.site_url, self.keywords)
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.site_title.setWhatsThis(QtGui.QApplication.translate("SiteConfigDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
+"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
+"p, li { white-space: pre-wrap; }\n"
+"</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
+"<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>\n"
+"<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>", None, QtGui.QApplication.UnicodeUTF8))
+ self.site_title.setText(QtGui.QApplication.translate("SiteConfigDialog", "My 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.keywords.setWhatsThis(QtGui.QApplication.translate("SiteConfigDialog", "Site keywords. This influences only the main\n"
+"site page. Individual articles will have their own\n"
+"keywords.", None, QtGui.QApplication.UnicodeUTF8))
+ self.keywords.setText(QtGui.QApplication.translate("SiteConfigDialog", "some keywords here", None, QtGui.QApplication.UnicodeUTF8))
self.label_4.setText(QtGui.QApplication.translate("SiteConfigDialog", "Description", None, QtGui.QApplication.UnicodeUTF8))
+ self.description.setWhatsThis(QtGui.QApplication.translate("SiteConfigDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
+"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
+"p, li { white-space: pre-wrap; }\n"
+"</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
+"<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>\n"
+"<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>", None, QtGui.QApplication.UnicodeUTF8))
+ self.description.setPlainText(QtGui.QApplication.translate("SiteConfigDialog", "Your site\'s description here. This appears in the site header.", 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.setWhatsThis(QtGui.QApplication.translate("SiteConfigDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
+"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
+"p, li { white-space: pre-wrap; }\n"
+"</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
+"<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>\n"
+"<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>", 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.num_rss_items.setWhatsThis(QtGui.QApplication.translate("SiteConfigDialog", "Number of items to display in RSS feed for the site.\n"
+"The RSS feed is updated every time you create a \n"
+"new article and export it to HTML.", None, QtGui.QApplication.UnicodeUTF8))
+ self.copyright.setWhatsThis(QtGui.QApplication.translate("SiteConfigDialog", "Copyright text displayed on the footer of all\n"
+"the generated pages of the website.", None, QtGui.QApplication.UnicodeUTF8))
+ self.copyright.setText(QtGui.QApplication.translate("SiteConfigDialog", "Copyright (C) year, your name here", None, QtGui.QApplication.UnicodeUTF8))
self.label_7.setText(QtGui.QApplication.translate("SiteConfigDialog", "Copyright text", None, QtGui.QApplication.UnicodeUTF8))
+ self.site_url.setWhatsThis(QtGui.QApplication.translate("SiteConfigDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
+"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
+"p, li { white-space: pre-wrap; }\n"
+"</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
+"<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>\n"
+"<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>\n"
+"<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>", None, QtGui.QApplication.UnicodeUTF8))
+ self.site_url.setText(QtGui.QApplication.translate("SiteConfigDialog", "example.com", None, QtGui.QApplication.UnicodeUTF8))