Re: PyQt pass data from class

2016-11-16 Thread Michael Torrie
On 11/16/2016 12:47 AM, luca72 via Python-list wrote: > Thanks for your reply > > Is the latter, can you explain how i can do it. Just add an argument to __init__() of the one class where you will pass the instance of the other class to it. Then you can store it inside the instance, and use it wh

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

Re: PyQt pass data from class

2016-11-15 Thread Michael Torrie
On 11/15/2016 10:01 AM, luca72 via Python-list wrote: > in wich way i can have access to the lineedit of class Form without event > from class Cornice If I understand you, you are asking how to set the text without having it emit a signal. Is that correct? Or are you asking how to access the memb

Re: PyQt pass data from class

2016-11-15 Thread Rob Gaddi
luca72 wrote: > 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 >

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, self).__ini