Implemented additional files/folders adding
[biaweb_qt.git] / ui_generate_dialog.py
index fab5abf..f0f9517 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'generate_dialog.ui'
 #
-# Created: Tue Nov 30 14:05:23 2010
+# Created: Wed Dec  1 12:19:07 2010
 #      by: PyQt4 UI code generator 4.7.4
 #
 # WARNING! All changes made in this file will be lost!
@@ -20,7 +20,28 @@ class Ui_SiteGenerateDialog(object):
         self.label = QtGui.QLabel(SiteGenerateDialog)
         self.label.setWordWrap(True)
         self.label.setObjectName("label")
-        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 3)
+        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 4)
+        self.label_4 = QtGui.QLabel(SiteGenerateDialog)
+        self.label_4.setObjectName("label_4")
+        self.gridLayout_2.addWidget(self.label_4, 1, 0, 1, 1)
+        self.label_5 = QtGui.QLabel(SiteGenerateDialog)
+        self.label_5.setObjectName("label_5")
+        self.gridLayout_2.addWidget(self.label_5, 2, 0, 1, 1)
+        self.status_search_py = QtGui.QLabel(SiteGenerateDialog)
+        self.status_search_py.setObjectName("status_search_py")
+        self.gridLayout_2.addWidget(self.status_search_py, 2, 1, 1, 3)
+        self.label_6 = QtGui.QLabel(SiteGenerateDialog)
+        self.label_6.setObjectName("label_6")
+        self.gridLayout_2.addWidget(self.label_6, 3, 0, 1, 1)
+        self.status_star_gif = QtGui.QLabel(SiteGenerateDialog)
+        self.status_star_gif.setObjectName("status_star_gif")
+        self.gridLayout_2.addWidget(self.status_star_gif, 3, 1, 1, 3)
+        self.label_7 = QtGui.QLabel(SiteGenerateDialog)
+        self.label_7.setObjectName("label_7")
+        self.gridLayout_2.addWidget(self.label_7, 4, 0, 1, 1)
+        self.status_stargrey_gif = QtGui.QLabel(SiteGenerateDialog)
+        self.status_stargrey_gif.setObjectName("status_stargrey_gif")
+        self.gridLayout_2.addWidget(self.status_stargrey_gif, 4, 1, 1, 3)
         self.tabWidget = QtGui.QTabWidget(SiteGenerateDialog)
         self.tabWidget.setObjectName("tabWidget")
         self.tab = QtGui.QWidget()
@@ -57,7 +78,7 @@ class Ui_SiteGenerateDialog(object):
         self.additional_folders.setObjectName("additional_folders")
         self.gridLayout_4.addWidget(self.additional_folders, 1, 0, 1, 3)
         self.tabWidget.addTab(self.tab_2, "")
-        self.gridLayout_2.addWidget(self.tabWidget, 1, 0, 1, 3)
+        self.gridLayout_2.addWidget(self.tabWidget, 5, 0, 1, 4)
         self.groupBox = QtGui.QGroupBox(SiteGenerateDialog)
         self.groupBox.setObjectName("groupBox")
         self.gridLayout = QtGui.QGridLayout(self.groupBox)
@@ -70,14 +91,14 @@ class Ui_SiteGenerateDialog(object):
         self.keywordindex.setChecked(False)
         self.keywordindex.setObjectName("keywordindex")
         self.gridLayout.addWidget(self.keywordindex, 0, 1, 1, 1)
-        self.gridLayout_2.addWidget(self.groupBox, 2, 0, 1, 1)
+        self.gridLayout_2.addWidget(self.groupBox, 6, 0, 1, 2)
         self.generate_site = QtGui.QPushButton(SiteGenerateDialog)
         self.generate_site.setDefault(True)
         self.generate_site.setObjectName("generate_site")
-        self.gridLayout_2.addWidget(self.generate_site, 3, 1, 1, 1)
+        self.gridLayout_2.addWidget(self.generate_site, 6, 2, 1, 1)
         self.close = QtGui.QPushButton(SiteGenerateDialog)
         self.close.setObjectName("close")
-        self.gridLayout_2.addWidget(self.close, 3, 2, 1, 1)
+        self.gridLayout_2.addWidget(self.close, 6, 3, 1, 1)
 
         self.retranslateUi(SiteGenerateDialog)
         self.tabWidget.setCurrentIndex(0)
@@ -106,9 +127,31 @@ class Ui_SiteGenerateDialog(object):
 "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;\"><span style=\" font-weight:600; color:#55007f;\">Important Information</span></p>\n"
-"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">This will generate your website in the destination directory specified in the site configuration dialog. The entire directory tree will be re-created from scratch and any manual changes you made to the generated files will be gone!</p>\n"
-"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> </p>\n"
-"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">You need to re-copy the additional files/folders you require in the destination folder (e.g. the rating (star) image files or directories, the search.py CGI script) every time you generate the site. Specify the files/folders to copy to generated site.</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+"<p style=\" margin-top:8px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">This will generate your website in the destination directory configured. The directory tree will be re-created from scratch and any manual changes you made to the generated files will be destroyed!</p>\n"
+"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">You need to re-copy the additional files/folders you require in the destination folder (e.g. image directories) every time you generate the site. Specify the files/folders to copy to generated site.</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_4.setText(QtGui.QApplication.translate("SiteGenerateDialog", "<!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;\"><span style=\" font-weight:600;\">Required additional files</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_5.setText(QtGui.QApplication.translate("SiteGenerateDialog", "<!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;\"><span style=\" font-weight:600;\">search.py</span> (search CGI script):</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+        self.status_search_py.setText(QtGui.QApplication.translate("SiteGenerateDialog", "status", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_6.setText(QtGui.QApplication.translate("SiteGenerateDialog", "<!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;\"><span style=\" font-weight:600;\">star.gif</span> (star rating image):</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+        self.status_star_gif.setText(QtGui.QApplication.translate("SiteGenerateDialog", "status", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_7.setText(QtGui.QApplication.translate("SiteGenerateDialog", "<!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;\"><span style=\" font-weight:600;\">star-grey.gif</span> (star rating image):</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+        self.status_stargrey_gif.setText(QtGui.QApplication.translate("SiteGenerateDialog", "status", None, QtGui.QApplication.UnicodeUTF8))
         self.label_2.setText(QtGui.QApplication.translate("SiteGenerateDialog", "Additional files to add to destination", None, QtGui.QApplication.UnicodeUTF8))
         self.addfile.setText(QtGui.QApplication.translate("SiteGenerateDialog", "&Add file", None, QtGui.QApplication.UnicodeUTF8))
         self.removefile.setText(QtGui.QApplication.translate("SiteGenerateDialog", "&Remove", None, QtGui.QApplication.UnicodeUTF8))