Mercurial > hg > Feedworm
annotate 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 |
rev | line source |
---|---|
40 | 1 |
2 from PyQt4 import QtGui | |
3 from Ui_Preferences import Ui_Preferences | |
4 | |
5 class Preferences(QtGui.QDialog): | |
6 def __init__(self, session=None): | |
7 QtGui.QWidget.__init__(self, None) | |
8 self.session = session | |
9 self.ui = Ui_Preferences() | |
10 self.ui.setupUi(self) | |
11 | |
12 def startMaximizedChanged(self, change): | |
13 print("start maximized: " + str(change)) |