+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'main_window.ui'
+#
+# Created: Wed Nov 24 14:22:45 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_MainWindow(object):
+ def setupUi(self, MainWindow):
+ MainWindow.setObjectName("MainWindow")
+ MainWindow.resize(633, 458)
+ self.centralwidget = QtGui.QWidget(MainWindow)
+ self.centralwidget.setObjectName("centralwidget")
+ self.gridLayout = QtGui.QGridLayout(self.centralwidget)
+ self.gridLayout.setObjectName("gridLayout")
+ self.label = QtGui.QLabel(self.centralwidget)
+ self.label.setObjectName("label")
+ self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
+ self.label_2 = QtGui.QLabel(self.centralwidget)
+ self.label_2.setObjectName("label_2")
+ self.gridLayout.addWidget(self.label_2, 0, 2, 1, 1)
+ self.categories_list = QtGui.QListWidget(self.centralwidget)
+ self.categories_list.setObjectName("categories_list")
+ self.gridLayout.addWidget(self.categories_list, 1, 0, 1, 1)
+ self.articles_list = QtGui.QListWidget(self.centralwidget)
+ self.articles_list.setObjectName("articles_list")
+ self.gridLayout.addWidget(self.articles_list, 1, 2, 1, 1)
+ MainWindow.setCentralWidget(self.centralwidget)
+ self.menubar = QtGui.QMenuBar(MainWindow)
+ self.menubar.setGeometry(QtCore.QRect(0, 0, 633, 25))
+ self.menubar.setObjectName("menubar")
+ self.menu_File = QtGui.QMenu(self.menubar)
+ self.menu_File.setObjectName("menu_File")
+ self.menu_Category = QtGui.QMenu(self.menubar)
+ self.menu_Category.setObjectName("menu_Category")
+ self.menu_Articles = QtGui.QMenu(self.menubar)
+ self.menu_Articles.setObjectName("menu_Articles")
+ self.menu_Web = QtGui.QMenu(self.menubar)
+ self.menu_Web.setObjectName("menu_Web")
+ self.menu_About = QtGui.QMenu(self.menubar)
+ self.menu_About.setObjectName("menu_About")
+ MainWindow.setMenuBar(self.menubar)
+ self.statusbar = QtGui.QStatusBar(MainWindow)
+ self.statusbar.setObjectName("statusbar")
+ MainWindow.setStatusBar(self.statusbar)
+ self.actionOpen_DB = QtGui.QAction(MainWindow)
+ self.actionOpen_DB.setObjectName("actionOpen_DB")
+ self.action_Quit = QtGui.QAction(MainWindow)
+ self.action_Quit.setObjectName("action_Quit")
+ self.action_Add = QtGui.QAction(MainWindow)
+ self.action_Add.setObjectName("action_Add")
+ self.action_Edit = QtGui.QAction(MainWindow)
+ self.action_Edit.setObjectName("action_Edit")
+ self.action_Delete = QtGui.QAction(MainWindow)
+ self.action_Delete.setObjectName("action_Delete")
+ self.action_New = QtGui.QAction(MainWindow)
+ self.action_New.setObjectName("action_New")
+ self.action_Edit_2 = QtGui.QAction(MainWindow)
+ self.action_Edit_2.setObjectName("action_Edit_2")
+ self.action_Delete_2 = QtGui.QAction(MainWindow)
+ self.action_Delete_2.setObjectName("action_Delete_2")
+ self.action_Generate_Site = QtGui.QAction(MainWindow)
+ self.action_Generate_Site.setObjectName("action_Generate_Site")
+ self.actionGenerate_Search_Index = QtGui.QAction(MainWindow)
+ self.actionGenerate_Search_Index.setObjectName("actionGenerate_Search_Index")
+ self.action_About = QtGui.QAction(MainWindow)
+ self.action_About.setObjectName("action_About")
+ self.actionNew_site = QtGui.QAction(MainWindow)
+ self.actionNew_site.setObjectName("actionNew_site")
+ self.action_Open_site = QtGui.QAction(MainWindow)
+ self.action_Open_site.setObjectName("action_Open_site")
+ self.menu_File.addAction(self.actionNew_site)
+ self.menu_File.addAction(self.action_Open_site)
+ self.menu_File.addSeparator()
+ self.menu_File.addAction(self.action_Quit)
+ self.menu_Category.addAction(self.action_Add)
+ self.menu_Category.addAction(self.action_Edit)
+ self.menu_Category.addAction(self.action_Delete)
+ self.menu_Articles.addAction(self.action_New)
+ self.menu_Articles.addAction(self.action_Edit_2)
+ self.menu_Articles.addAction(self.action_Delete_2)
+ self.menu_Web.addAction(self.action_Generate_Site)
+ self.menu_Web.addAction(self.actionGenerate_Search_Index)
+ self.menu_About.addAction(self.action_About)
+ self.menubar.addAction(self.menu_File.menuAction())
+ self.menubar.addAction(self.menu_Category.menuAction())
+ self.menubar.addAction(self.menu_Articles.menuAction())
+ self.menubar.addAction(self.menu_Web.menuAction())
+ self.menubar.addAction(self.menu_About.menuAction())
+
+ self.retranslateUi(MainWindow)
+ QtCore.QObject.connect(self.actionNew_site, QtCore.SIGNAL("triggered()"), MainWindow.onFileNew)
+ QtCore.QObject.connect(self.action_Quit, QtCore.SIGNAL("triggered()"), MainWindow.onFileQuit)
+ QtCore.QMetaObject.connectSlotsByName(MainWindow)
+
+ def retranslateUi(self, MainWindow):
+ MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "BiaWeb", None, QtGui.QApplication.UnicodeUTF8))
+ self.label.setText(QtGui.QApplication.translate("MainWindow", "Categories", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Articles in category", None, QtGui.QApplication.UnicodeUTF8))
+ self.menu_File.setTitle(QtGui.QApplication.translate("MainWindow", "&File", None, QtGui.QApplication.UnicodeUTF8))
+ self.menu_Category.setTitle(QtGui.QApplication.translate("MainWindow", "&Category", None, QtGui.QApplication.UnicodeUTF8))
+ self.menu_Articles.setTitle(QtGui.QApplication.translate("MainWindow", "&Articles", None, QtGui.QApplication.UnicodeUTF8))
+ self.menu_Web.setTitle(QtGui.QApplication.translate("MainWindow", "&Web", None, QtGui.QApplication.UnicodeUTF8))
+ self.menu_About.setTitle(QtGui.QApplication.translate("MainWindow", "&Help", None, QtGui.QApplication.UnicodeUTF8))
+ self.actionOpen_DB.setText(QtGui.QApplication.translate("MainWindow", "Open existing site...", None, QtGui.QApplication.UnicodeUTF8))
+ self.action_Quit.setText(QtGui.QApplication.translate("MainWindow", "&Quit", None, QtGui.QApplication.UnicodeUTF8))
+ self.action_Add.setText(QtGui.QApplication.translate("MainWindow", "&Add...", None, QtGui.QApplication.UnicodeUTF8))
+ self.action_Edit.setText(QtGui.QApplication.translate("MainWindow", "&Edit...", None, QtGui.QApplication.UnicodeUTF8))
+ self.action_Delete.setText(QtGui.QApplication.translate("MainWindow", "&Delete", None, QtGui.QApplication.UnicodeUTF8))
+ self.action_New.setText(QtGui.QApplication.translate("MainWindow", "&Add...", None, QtGui.QApplication.UnicodeUTF8))
+ self.action_Edit_2.setText(QtGui.QApplication.translate("MainWindow", "&Edit...", None, QtGui.QApplication.UnicodeUTF8))
+ self.action_Delete_2.setText(QtGui.QApplication.translate("MainWindow", "&Delete", None, QtGui.QApplication.UnicodeUTF8))
+ self.action_Generate_Site.setText(QtGui.QApplication.translate("MainWindow", "Generate &Site...", None, QtGui.QApplication.UnicodeUTF8))
+ self.actionGenerate_Search_Index.setText(QtGui.QApplication.translate("MainWindow", "Generate Search &Index...", None, QtGui.QApplication.UnicodeUTF8))
+ self.action_About.setText(QtGui.QApplication.translate("MainWindow", "&About", None, QtGui.QApplication.UnicodeUTF8))
+ self.actionNew_site.setText(QtGui.QApplication.translate("MainWindow", "&New site...", None, QtGui.QApplication.UnicodeUTF8))
+ self.action_Open_site.setText(QtGui.QApplication.translate("MainWindow", "&Open site...", None, QtGui.QApplication.UnicodeUTF8))
+