File open functionality implemented
[biacv.git] / biacv_mainwindow_ui.py
index 7a91297..5b34a9b 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'biacv_mainwindow.ui'
 #
-# Created: Fri Dec  2 10:52:04 2011
+# Created: Mon Dec  5 20:12:17 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()
@@ -584,6 +586,29 @@ class Ui_biacv_mainwindow(object):
         QtCore.QObject.connect(self.languageslist, QtCore.SIGNAL(_fromUtf8("activated(QModelIndex)")), biacv_mainwindow.on_select_lang)
         QtCore.QObject.connect(self.languageslist, QtCore.SIGNAL(_fromUtf8("itemSelectionChanged()")), biacv_mainwindow.on_select_lang)
         QtCore.QObject.connect(self.updatelanguage, QtCore.SIGNAL(_fromUtf8("clicked()")), biacv_mainwindow.on_update_lang)
+        QtCore.QObject.connect(self.title, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.nametitle, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.firstname, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.lastname, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.dateofbirth, QtCore.SIGNAL(_fromUtf8("dateChanged(QDate)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.street, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.countrycode_landline, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.telephone, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.area, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.countrycode_mobile, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.mobilenumber, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.city, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.email, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.areacode, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.married, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.single, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.unspecified, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), biacv_mainwindow.on_document_modified)
+        QtCore.QObject.connect(self.shorttermcareer, QtCore.SIGNAL(_fromUtf8("textChanged()")), biacv_mainwindow.on_document_modified)
+        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.QObject.connect(self.action_Open, QtCore.SIGNAL(_fromUtf8("triggered()")), biacv_mainwindow.on_file_open)
         QtCore.QMetaObject.connectSlotsByName(biacv_mainwindow)
 
     def retranslateUi(self, biacv_mainwindow):