X-Git-Url: https://harishankar.org/repos/?p=biaweb_qt.git;a=blobdiff_plain;f=ui_main_window.py;fp=ui_main_window.py;h=e7b4bfb179a3414f3ab0e1aaa32766ce949aa1fe;hp=d75422442cb67c61168fc55be62ff62809353ec3;hb=bfa2d7e7b048794a95590ee79ba41aa861835cfa;hpb=61047f72eb7d61e1c0efd7f22729e16fbfb97505 diff --git a/ui_main_window.py b/ui_main_window.py index d754224..e7b4bfb 100644 --- a/ui_main_window.py +++ b/ui_main_window.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'main_window.ui' # -# Created: Mon Nov 29 22:29:43 2010 +# Created: Tue Nov 30 13:15:20 2010 # by: PyQt4 UI code generator 4.7.4 # # WARNING! All changes made in this file will be lost! @@ -13,6 +13,9 @@ class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") 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) @@ -138,6 +141,7 @@ class Ui_MainWindow(object): 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) @@ -190,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