On 07/07/2013 11:51, Phil wrote:
Thank you for reading this.

How to I access my toggle button slot without clicking on the button?
For example:

if hr == 19:
# this button is accessible
self. on_pushButton_clicked()

# this fails because checked is not defined
self.on_ledButton_toggled(checked)

self.pushButton.click() should do.

--
            Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666318  Fax: +390302659932
E-mail: giuseppe.corbe...@copanitalia.com
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to