[PyKDE] More QWidget queries.
Dave S
eric3 at pusspaws.net
Wed Sep 13 21:26:51 BST 2006
I now have my widget appearing on screen in a modal fashion thanks to Andreas
f1 = form1(self)
if f1.exec() == QDialog.Accepted:
script ...
else:
script ...
However this only allows the communication of two states from the widget,
either accept() or close() so I can only really have an OK button (accept)
and a quit button (close).
Is there a way to signal a third state for a third button ? My GUI would be
far more logical if it were possible.
Dave
More information about the PyQt
mailing list