Website exporter in progress - completed home page
[biaweb_qt.git] / ui_generate_dialog.py
index a14ac37..fab5abf 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'generate_dialog.ui'
 #
-# Created: Mon Nov 29 22:36:32 2010
+# Created: Tue Nov 30 14:05:23 2010
 #      by: PyQt4 UI code generator 4.7.4
 #
 # WARNING! All changes made in this file will be lost!
@@ -82,6 +82,11 @@ class Ui_SiteGenerateDialog(object):
         self.retranslateUi(SiteGenerateDialog)
         self.tabWidget.setCurrentIndex(0)
         QtCore.QObject.connect(self.close, QtCore.SIGNAL("clicked()"), SiteGenerateDialog.reject)
+        QtCore.QObject.connect(self.addfile, QtCore.SIGNAL("clicked()"), SiteGenerateDialog.onFileAdd)
+        QtCore.QObject.connect(self.removefile, QtCore.SIGNAL("clicked()"), SiteGenerateDialog.onFileRemove)
+        QtCore.QObject.connect(self.addfolder, QtCore.SIGNAL("clicked()"), SiteGenerateDialog.onFolderAdd)
+        QtCore.QObject.connect(self.removefolder, QtCore.SIGNAL("clicked()"), SiteGenerateDialog.onFolderRemove)
+        QtCore.QObject.connect(self.generate_site, QtCore.SIGNAL("clicked()"), SiteGenerateDialog.onSiteGenerate)
         QtCore.QMetaObject.connectSlotsByName(SiteGenerateDialog)
         SiteGenerateDialog.setTabOrder(self.tabWidget, self.addfile)
         SiteGenerateDialog.setTabOrder(self.addfile, self.removefile)
@@ -100,10 +105,10 @@ class Ui_SiteGenerateDialog(object):
 "<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 align=\"justify\" 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:#005500;\">Important Information</span></p>\n"
-"<p align=\"justify\" 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 align=\"justify\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"> </p>\n"
-"<p align=\"justify\" 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 additional files/folders you require in the destination folder (e.g. image files or directories) every time you generate the site. Specify additional files/folders to copy below.</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
+"<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))
         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))