Mercurial > hg > Feedworm
view 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 source
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))