Hello,
I am new to Python and I'm working with a UI that has a dialog button box
with 'OK' and 'Cancel' standard buttons. I want to check if the 'OK' button
has been pressed, but I can't use isDown or isChecked for example because it
throws an attribute error:

AttributeError: 'StandardButton' object has no attribute 'isDown'

Is this because the StandardButton type does not inherit from the
QPushButton and QAbstractButton classes? How would I perform the check with
the a StandardButton object?

Thanks,

Kashif Umer
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to