diff Preferences.py @ 41:9fa1e33b67da

use Qt resources for window icons
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 14 May 2010 08:04:54 +0200
parents c858aab71e5b
children
line wrap: on
line diff
--- a/Preferences.py	Fri May 14 07:05:02 2010 +0200
+++ b/Preferences.py	Fri May 14 08:04:54 2010 +0200
@@ -11,3 +11,13 @@
 
     def startMaximizedChanged(self, change):
         print("start maximized: " + str(change))
+
+    def accept(self):
+        # TODO save the session
+        QtGui.QDialog.accept(self)
+        
+    def reject(self):
+        # TODO revert the session
+        QtGui.QDialog.reject(self)
+        
+        
\ No newline at end of file