diff Preferences.py @ 40:c858aab71e5b

add preferences dialog
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 14 May 2010 07:05:02 +0200
parents
children 9fa1e33b67da
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Preferences.py	Fri May 14 07:05:02 2010 +0200
@@ -0,0 +1,13 @@
+
+from PyQt4 import QtGui
+from Ui_Preferences import Ui_Preferences
+
+class Preferences(QtGui.QDialog):
+    def __init__(self, session=None):
+        QtGui.QWidget.__init__(self, None)
+        self.session = session
+        self.ui = Ui_Preferences()
+        self.ui.setupUi(self)
+
+    def startMaximizedChanged(self, change):
+        print("start maximized: " + str(change))