Re: [PyQt] QTestLib

2010-10-17 Thread Ruslan Popov
I've found a solution. self.dialog = DlgLogin(self) self.dialog.setCallback(callback) self.dialog.setModal(True) dialog = self.findChild(QWidget, QString('dialog_login')) print dialog login = dialog.findChild(QWidget, QString('editLogin')) l

Re: [PyQt] QTestLib

2010-10-16 Thread Ruslan Popov
It's time to back to this question. I want to implement simple action replaying framework to test PyQt apps. I have main window and one dialog with two lineedits. I can open this dialog but don't understand how to access it from my framework to fill lineedits with data and accepts the dialog. Any

Re: [PyQt] QTestLib

2010-01-16 Thread Andreas Pakulat
On 17.01.10 00:08:39, Ruslan Popov wrote: > Can someone share an example of using QTestLib with GUI application? > I've read manuals and some Qt4 books, but they talk about C++ way, not > Python. I don't think QTestlib works so easily in python as it uses a special macro in C++ to generate the boi

[PyQt] QTestLib

2010-01-16 Thread Ruslan Popov
Hi all, Can someone share an example of using QTestLib with GUI application? I've read manuals and some Qt4 books, but they talk about C++ way, not Python. Any help appreciated. -- Ruslan Popov phone: +7 916 926 1205 ___ PyQt mailing listPyQt@river