X-Git-Url: https://harishankar.org/repos/?p=biaweb_qt.git;a=blobdiff_plain;f=ui_generate_dialog.py;fp=ui_generate_dialog.py;h=f0f9517bb3a743517afabf12057e43b87cd692f8;hp=fab5abf2f76f94e56ebda48b4ba385ead7d9eea3;hb=826408979db0e8e4675d51def6ce7dadd305cf9c;hpb=b168780a0609f1a8ca2632d6f5e783f200e594d3 diff --git a/ui_generate_dialog.py b/ui_generate_dialog.py index fab5abf..f0f9517 100644 --- a/ui_generate_dialog.py +++ b/ui_generate_dialog.py @@ -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" "\n" "

Important Information

\n" -"

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!

\n" -"

\n" -"

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.

", None, QtGui.QApplication.UnicodeUTF8)) +"

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!

\n" +"

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.

", None, QtGui.QApplication.UnicodeUTF8)) + self.label_4.setText(QtGui.QApplication.translate("SiteGenerateDialog", "\n" +"\n" +"

Required additional files

", None, QtGui.QApplication.UnicodeUTF8)) + self.label_5.setText(QtGui.QApplication.translate("SiteGenerateDialog", "\n" +"\n" +"

search.py (search CGI script):

", 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", "\n" +"\n" +"

star.gif (star rating image):

", 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", "\n" +"\n" +"

star-grey.gif (star rating image):

", 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))