Mercurial > hg > Feedworm
comparison 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 |
comparison
equal
deleted
inserted
replaced
40:c858aab71e5b | 41:9fa1e33b67da |
---|---|
9 self.ui = Ui_Preferences() | 9 self.ui = Ui_Preferences() |
10 self.ui.setupUi(self) | 10 self.ui.setupUi(self) |
11 | 11 |
12 def startMaximizedChanged(self, change): | 12 def startMaximizedChanged(self, change): |
13 print("start maximized: " + str(change)) | 13 print("start maximized: " + str(change)) |
14 | |
15 def accept(self): | |
16 # TODO save the session | |
17 QtGui.QDialog.accept(self) | |
18 | |
19 def reject(self): | |
20 # TODO revert the session | |
21 QtGui.QDialog.reject(self) | |
22 | |
23 |