File save function implemented
[biacv.git] / biacv_mainwindow_ui.py
index 0d88db2..7554acd 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'biacv_mainwindow.ui'
 #
-# Created: Sun Dec  4 16:35:10 2011
+# Created: Mon Dec  5 10:38:07 2011
 #      by: PyQt4 UI code generator 4.8.6
 #
 # WARNING! All changes made in this file will be lost!
@@ -31,7 +31,9 @@ class Ui_biacv_mainwindow(object):
         self.title.setObjectName(_fromUtf8("title"))
         self.gridLayout_2.addWidget(self.title, 0, 1, 1, 1)
         self.pages = QtGui.QTabWidget(self.centralwidget)
+        self.pages.setAutoFillBackground(False)
         self.pages.setTabShape(QtGui.QTabWidget.Rounded)
+        self.pages.setUsesScrollButtons(True)
         self.pages.setDocumentMode(True)
         self.pages.setObjectName(_fromUtf8("pages"))
         self.tab = QtGui.QWidget()
@@ -519,15 +521,15 @@ class Ui_biacv_mainwindow(object):
         self.action_New.setText(QtGui.QApplication.translate("biacv_mainwindow", "&New", None, QtGui.QApplication.UnicodeUTF8))
         self.action_New.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Create a new file", None, QtGui.QApplication.UnicodeUTF8))
         self.action_New.setObjectName(_fromUtf8("action_New"))
+        self.action_Open = QtGui.QAction(biacv_mainwindow)
+        self.action_Open.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Open...", None, QtGui.QApplication.UnicodeUTF8))
+        self.action_Open.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Open an existing file", None, QtGui.QApplication.UnicodeUTF8))
+        self.action_Open.setObjectName(_fromUtf8("action_Open"))
         self.action_Save = QtGui.QAction(biacv_mainwindow)
-        self.action_Save.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Open...", None, QtGui.QApplication.UnicodeUTF8))
-        self.action_Save.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Open an existing file", None, QtGui.QApplication.UnicodeUTF8))
+        self.action_Save.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Save", None, QtGui.QApplication.UnicodeUTF8))
+        self.action_Save.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Save current file", None, QtGui.QApplication.UnicodeUTF8))
+        self.action_Save.setShortcut(QtGui.QApplication.translate("biacv_mainwindow", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8))
         self.action_Save.setObjectName(_fromUtf8("action_Save"))
-        self.action_Save_2 = QtGui.QAction(biacv_mainwindow)
-        self.action_Save_2.setText(QtGui.QApplication.translate("biacv_mainwindow", "&Save", None, QtGui.QApplication.UnicodeUTF8))
-        self.action_Save_2.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Save current file", None, QtGui.QApplication.UnicodeUTF8))
-        self.action_Save_2.setShortcut(QtGui.QApplication.translate("biacv_mainwindow", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8))
-        self.action_Save_2.setObjectName(_fromUtf8("action_Save_2"))
         self.actionSave_As = QtGui.QAction(biacv_mainwindow)
         self.actionSave_As.setText(QtGui.QApplication.translate("biacv_mainwindow", "Save &As...", None, QtGui.QApplication.UnicodeUTF8))
         self.actionSave_As.setStatusTip(QtGui.QApplication.translate("biacv_mainwindow", "Save as a different file", None, QtGui.QApplication.UnicodeUTF8))
@@ -550,9 +552,9 @@ class Ui_biacv_mainwindow(object):
         self.menu_Export.addAction(self.action_HTML)
         self.menu_Export.addAction(self.actionOpenDocument_ODT)
         self.menu_File.addAction(self.action_New)
-        self.menu_File.addAction(self.action_Save)
+        self.menu_File.addAction(self.action_Open)
         self.menu_File.addSeparator()
-        self.menu_File.addAction(self.action_Save_2)
+        self.menu_File.addAction(self.action_Save)
         self.menu_File.addAction(self.actionSave_As)
         self.menu_File.addAction(self.menu_Export.menuAction())
         self.menu_File.addSeparator()
@@ -605,6 +607,7 @@ class Ui_biacv_mainwindow(object):
         QtCore.QObject.connect(self.longtermgoals, QtCore.SIGNAL(_fromUtf8("textChanged()")), biacv_mainwindow.on_document_modified)
         QtCore.QObject.connect(self.additionalinformation, QtCore.SIGNAL(_fromUtf8("textChanged()")), biacv_mainwindow.on_document_modified)
         QtCore.QObject.connect(self.action_New, QtCore.SIGNAL(_fromUtf8("triggered()")), biacv_mainwindow.on_file_new)
+        QtCore.QObject.connect(self.action_Save, QtCore.SIGNAL(_fromUtf8("triggered()")), biacv_mainwindow.on_file_save)
         QtCore.QMetaObject.connectSlotsByName(biacv_mainwindow)
 
     def retranslateUi(self, biacv_mainwindow):