Updated htaccess to Apache 2.4 compat
[biaweb_qt.git] / ui_main_window.py
index 279ea23..fbc36c5 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'main_window.ui'
 #
-# Created: Sun Nov 28 09:35:09 2010
+# Created: Tue Nov 30 13:50:40 2010
 #      by: PyQt4 UI code generator 4.7.4
 #
 # WARNING! All changes made in this file will be lost!
@@ -12,7 +12,10 @@ from PyQt4 import QtCore, QtGui
 class Ui_MainWindow(object):
     def setupUi(self, MainWindow):
         MainWindow.setObjectName("MainWindow")
-        MainWindow.resize(633, 458)
+        MainWindow.resize(798, 517)
+        icon = QtGui.QIcon()
+        icon.addPixmap(QtGui.QPixmap(":/bia/resources/icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        MainWindow.setWindowIcon(icon)
         self.centralwidget = QtGui.QWidget(MainWindow)
         self.centralwidget.setObjectName("centralwidget")
         self.gridLayout = QtGui.QGridLayout(self.centralwidget)
@@ -45,7 +48,7 @@ class Ui_MainWindow(object):
         self.dockWidget_2.setWidget(self.dockWidgetContents_2)
         MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidget_2)
         self.menubar = QtGui.QMenuBar(MainWindow)
-        self.menubar.setGeometry(QtCore.QRect(0, 0, 633, 25))
+        self.menubar.setGeometry(QtCore.QRect(0, 0, 798, 25))
         self.menubar.setObjectName("menubar")
         self.menu_About = QtGui.QMenu(self.menubar)
         self.menu_About.setObjectName("menu_About")
@@ -108,7 +111,6 @@ class Ui_MainWindow(object):
         self.menu_Content.addAction(self.action_EditCategory)
         self.menu_Content.addAction(self.action_RemoveCategory)
         self.menu_Export_web.addAction(self.action_Generate_Site)
-        self.menu_Export_web.addAction(self.actionGenerate_Search_Index)
         self.menu_File_2.addAction(self.actionNew_site)
         self.menu_File_2.addAction(self.action_Open_site)
         self.menu_File_2.addSeparator()
@@ -135,7 +137,13 @@ class Ui_MainWindow(object):
         QtCore.QObject.connect(self.action_NewArticle, QtCore.SIGNAL("triggered()"), MainWindow.onArticleAdd)
         QtCore.QObject.connect(self.action_EditArticle, QtCore.SIGNAL("triggered()"), MainWindow.onArticleEdit)
         QtCore.QObject.connect(self.action_DeleteArticle, QtCore.SIGNAL("triggered()"), MainWindow.onArticleDelete)
+        QtCore.QObject.connect(self.categories, QtCore.SIGNAL("itemActivated(QTreeWidgetItem*,int)"), MainWindow.onCategoryItemActivated)
+        QtCore.QObject.connect(self.articles, QtCore.SIGNAL("itemActivated(QTreeWidgetItem*,int)"), MainWindow.onArticleItemActivated)
+        QtCore.QObject.connect(self.actionTemplates, QtCore.SIGNAL("triggered()"), MainWindow.onTemplates)
+        QtCore.QObject.connect(self.action_Generate_Site, QtCore.SIGNAL("triggered()"), MainWindow.onGenerateSite)
+        QtCore.QObject.connect(self.action_About, QtCore.SIGNAL("triggered()"), MainWindow.onAbout)
         QtCore.QMetaObject.connectSlotsByName(MainWindow)
+        MainWindow.setTabOrder(self.categories, self.articles)
 
     def retranslateUi(self, MainWindow):
         MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "BiaWeb - Static Website Content Manager", None, QtGui.QApplication.UnicodeUTF8))
@@ -186,3 +194,4 @@ class Ui_MainWindow(object):
         self.action_Refresh.setStatusTip(QtGui.QApplication.translate("MainWindow", "Reload categories and articles in the view", None, QtGui.QApplication.UnicodeUTF8))
         self.action_Refresh.setShortcut(QtGui.QApplication.translate("MainWindow", "F5", None, QtGui.QApplication.UnicodeUTF8))
 
+import biaweb_rc_rc