First commit
[biaweb_qt.git] / ui_main_window.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'main_window.ui'
4 #
5 # Created: Wed Nov 24 14:22:45 2010
6 # by: PyQt4 UI code generator 4.7.4
7 #
8 # WARNING! All changes made in this file will be lost!
9
10 from PyQt4 import QtCore, QtGui
11
12 class Ui_MainWindow(object):
13 def setupUi(self, MainWindow):
14 MainWindow.setObjectName("MainWindow")
15 MainWindow.resize(633, 458)
16 self.centralwidget = QtGui.QWidget(MainWindow)
17 self.centralwidget.setObjectName("centralwidget")
18 self.gridLayout = QtGui.QGridLayout(self.centralwidget)
19 self.gridLayout.setObjectName("gridLayout")
20 self.label = QtGui.QLabel(self.centralwidget)
21 self.label.setObjectName("label")
22 self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
23 self.label_2 = QtGui.QLabel(self.centralwidget)
24 self.label_2.setObjectName("label_2")
25 self.gridLayout.addWidget(self.label_2, 0, 2, 1, 1)
26 self.categories_list = QtGui.QListWidget(self.centralwidget)
27 self.categories_list.setObjectName("categories_list")
28 self.gridLayout.addWidget(self.categories_list, 1, 0, 1, 1)
29 self.articles_list = QtGui.QListWidget(self.centralwidget)
30 self.articles_list.setObjectName("articles_list")
31 self.gridLayout.addWidget(self.articles_list, 1, 2, 1, 1)
32 MainWindow.setCentralWidget(self.centralwidget)
33 self.menubar = QtGui.QMenuBar(MainWindow)
34 self.menubar.setGeometry(QtCore.QRect(0, 0, 633, 25))
35 self.menubar.setObjectName("menubar")
36 self.menu_File = QtGui.QMenu(self.menubar)
37 self.menu_File.setObjectName("menu_File")
38 self.menu_Category = QtGui.QMenu(self.menubar)
39 self.menu_Category.setObjectName("menu_Category")
40 self.menu_Articles = QtGui.QMenu(self.menubar)
41 self.menu_Articles.setObjectName("menu_Articles")
42 self.menu_Web = QtGui.QMenu(self.menubar)
43 self.menu_Web.setObjectName("menu_Web")
44 self.menu_About = QtGui.QMenu(self.menubar)
45 self.menu_About.setObjectName("menu_About")
46 MainWindow.setMenuBar(self.menubar)
47 self.statusbar = QtGui.QStatusBar(MainWindow)
48 self.statusbar.setObjectName("statusbar")
49 MainWindow.setStatusBar(self.statusbar)
50 self.actionOpen_DB = QtGui.QAction(MainWindow)
51 self.actionOpen_DB.setObjectName("actionOpen_DB")
52 self.action_Quit = QtGui.QAction(MainWindow)
53 self.action_Quit.setObjectName("action_Quit")
54 self.action_Add = QtGui.QAction(MainWindow)
55 self.action_Add.setObjectName("action_Add")
56 self.action_Edit = QtGui.QAction(MainWindow)
57 self.action_Edit.setObjectName("action_Edit")
58 self.action_Delete = QtGui.QAction(MainWindow)
59 self.action_Delete.setObjectName("action_Delete")
60 self.action_New = QtGui.QAction(MainWindow)
61 self.action_New.setObjectName("action_New")
62 self.action_Edit_2 = QtGui.QAction(MainWindow)
63 self.action_Edit_2.setObjectName("action_Edit_2")
64 self.action_Delete_2 = QtGui.QAction(MainWindow)
65 self.action_Delete_2.setObjectName("action_Delete_2")
66 self.action_Generate_Site = QtGui.QAction(MainWindow)
67 self.action_Generate_Site.setObjectName("action_Generate_Site")
68 self.actionGenerate_Search_Index = QtGui.QAction(MainWindow)
69 self.actionGenerate_Search_Index.setObjectName("actionGenerate_Search_Index")
70 self.action_About = QtGui.QAction(MainWindow)
71 self.action_About.setObjectName("action_About")
72 self.actionNew_site = QtGui.QAction(MainWindow)
73 self.actionNew_site.setObjectName("actionNew_site")
74 self.action_Open_site = QtGui.QAction(MainWindow)
75 self.action_Open_site.setObjectName("action_Open_site")
76 self.menu_File.addAction(self.actionNew_site)
77 self.menu_File.addAction(self.action_Open_site)
78 self.menu_File.addSeparator()
79 self.menu_File.addAction(self.action_Quit)
80 self.menu_Category.addAction(self.action_Add)
81 self.menu_Category.addAction(self.action_Edit)
82 self.menu_Category.addAction(self.action_Delete)
83 self.menu_Articles.addAction(self.action_New)
84 self.menu_Articles.addAction(self.action_Edit_2)
85 self.menu_Articles.addAction(self.action_Delete_2)
86 self.menu_Web.addAction(self.action_Generate_Site)
87 self.menu_Web.addAction(self.actionGenerate_Search_Index)
88 self.menu_About.addAction(self.action_About)
89 self.menubar.addAction(self.menu_File.menuAction())
90 self.menubar.addAction(self.menu_Category.menuAction())
91 self.menubar.addAction(self.menu_Articles.menuAction())
92 self.menubar.addAction(self.menu_Web.menuAction())
93 self.menubar.addAction(self.menu_About.menuAction())
94
95 self.retranslateUi(MainWindow)
96 QtCore.QObject.connect(self.actionNew_site, QtCore.SIGNAL("triggered()"), MainWindow.onFileNew)
97 QtCore.QObject.connect(self.action_Quit, QtCore.SIGNAL("triggered()"), MainWindow.onFileQuit)
98 QtCore.QMetaObject.connectSlotsByName(MainWindow)
99
100 def retranslateUi(self, MainWindow):
101 MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "BiaWeb", None, QtGui.QApplication.UnicodeUTF8))
102 self.label.setText(QtGui.QApplication.translate("MainWindow", "Categories", None, QtGui.QApplication.UnicodeUTF8))
103 self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Articles in category", None, QtGui.QApplication.UnicodeUTF8))
104 self.menu_File.setTitle(QtGui.QApplication.translate("MainWindow", "&File", None, QtGui.QApplication.UnicodeUTF8))
105 self.menu_Category.setTitle(QtGui.QApplication.translate("MainWindow", "&Category", None, QtGui.QApplication.UnicodeUTF8))
106 self.menu_Articles.setTitle(QtGui.QApplication.translate("MainWindow", "&Articles", None, QtGui.QApplication.UnicodeUTF8))
107 self.menu_Web.setTitle(QtGui.QApplication.translate("MainWindow", "&Web", None, QtGui.QApplication.UnicodeUTF8))
108 self.menu_About.setTitle(QtGui.QApplication.translate("MainWindow", "&Help", None, QtGui.QApplication.UnicodeUTF8))
109 self.actionOpen_DB.setText(QtGui.QApplication.translate("MainWindow", "Open existing site...", None, QtGui.QApplication.UnicodeUTF8))
110 self.action_Quit.setText(QtGui.QApplication.translate("MainWindow", "&Quit", None, QtGui.QApplication.UnicodeUTF8))
111 self.action_Add.setText(QtGui.QApplication.translate("MainWindow", "&Add...", None, QtGui.QApplication.UnicodeUTF8))
112 self.action_Edit.setText(QtGui.QApplication.translate("MainWindow", "&Edit...", None, QtGui.QApplication.UnicodeUTF8))
113 self.action_Delete.setText(QtGui.QApplication.translate("MainWindow", "&Delete", None, QtGui.QApplication.UnicodeUTF8))
114 self.action_New.setText(QtGui.QApplication.translate("MainWindow", "&Add...", None, QtGui.QApplication.UnicodeUTF8))
115 self.action_Edit_2.setText(QtGui.QApplication.translate("MainWindow", "&Edit...", None, QtGui.QApplication.UnicodeUTF8))
116 self.action_Delete_2.setText(QtGui.QApplication.translate("MainWindow", "&Delete", None, QtGui.QApplication.UnicodeUTF8))
117 self.action_Generate_Site.setText(QtGui.QApplication.translate("MainWindow", "Generate &Site...", None, QtGui.QApplication.UnicodeUTF8))
118 self.actionGenerate_Search_Index.setText(QtGui.QApplication.translate("MainWindow", "Generate Search &Index...", None, QtGui.QApplication.UnicodeUTF8))
119 self.action_About.setText(QtGui.QApplication.translate("MainWindow", "&About", None, QtGui.QApplication.UnicodeUTF8))
120 self.actionNew_site.setText(QtGui.QApplication.translate("MainWindow", "&New site...", None, QtGui.QApplication.UnicodeUTF8))
121 self.action_Open_site.setText(QtGui.QApplication.translate("MainWindow", "&Open site...", None, QtGui.QApplication.UnicodeUTF8))
122