Re: PyQt pass data from class

2016-11-15 Thread luca72 via Python-list
Thanks for your reply Is the latter, can you explain how i can do it. Thanks -- https://mail.python.org/mailman/listinfo/python-list

PyQt pass data from class

2016-11-15 Thread luca72 via Python-list
Hello i need to this class Form(QWidget, Ui_Form): """ Class documentation goes here. """ def __init__(self, parent=None): """ Constructor @param parent reference to the parent widget @type QWidget """ super(Form,

Re: Qtimer and extra argument

2016-10-26 Thread luca72 via Python-list
thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: Qtimer and extra argument

2016-10-26 Thread luca72 via Python-list
I get () missing 1 required positional argument: 's' -- https://mail.python.org/mailman/listinfo/python-list

Qtimer and extra argument

2016-10-26 Thread luca72 via Python-list
Hello i hope that yo can reply to this question also if the argument is pyqt i have a simple test: def start_timer(self): self.timer = QTimer() testo = 'pressed' self.timer.singleShot(1000, self.metto_testo) def test(self, testo): self.lineEdit.setText(testo)

import

2016-05-30 Thread luca72 via Python-list
Hello i'm not sure that is the right group but i try i use pyqt5 with eric i have two form in the first form i have add : from form_two import Form_two and for pass varible to second form i have add in the function def test(self) self.ft= Form_two() #so i can acces to Object in form_two