I have found a solution!
https://github.com/RaD/advisor-qtclient/commit/bd172630d05ee9533851fd4216f5f01b5502c934
On Thu, Mar 1, 2012 at 8:21 AM, Ruslan Popov wrote:
> Hello,
>
> I need to write tests for my PyQt4 project. I have read the
> http://www.voom.net/pyqt-qtest-example.
github.com/RaD/advisor-qtclient/commit/3cca9273966756d77b1112f383f3df84d705f909#L0R50
--
Ruslan Popov
phone: +7 916 926 1205
skype: rpopov
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
LinkedIn
Ruslan Popov requested to add you as a connection on LinkedIn:
--
Lee,
I'd like to add you to my professional network on LinkedIn.
- Ruslan
Accept invitation from Ruslan Popov
http://www.linkedin.com/e/3fiogj-gllyd4sk-65/q
print ok
I think to move second section of this code to separate thread and run it to
test application. But I need to understand what result is and how to check
this result from my testing thread.
On Sun, Oct 17, 2010 at 12:46 AM, Ruslan Popov wrote:
> It's time to back to this question.
the dialog. Any ideas?
On Sun, Jan 17, 2010 at 1:28 AM, Andreas Pakulat wrote:
> 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
> >
sults
else:
print 'not evaluated'
else:
print 'not valid'
On Wed, Jun 23, 2010 at 1:21 AM, Ruslan Popov wrote:
> I have tried right now:
>
> q_str = 'doc("/home/rad/project/qt/manager/uis/
RY:', msg_type, desc, identifier, loc
and it responds this time:
QUERY: 3 syntax error,
unexpected <number literal>, expecting )
PyQt4.QtCore.QUrl(u'http://www.w3.org/2005/xqt-errors#XPST0003')
On Tue, Jun 22, 2010 at 8:38 PM, David Boddie wrote:
> On Tue Jun 22 07:03:51 BST
ot;)/logic/rule'
query.setQuery(q_str)
if not query.isValid():
print 'not valid'
if not query.evaluateTo(out):
print 'not evaluated'
It shows me 'not evaluated' for:
I understand that there is a simple way - just assign right string when UI
has loaded.
But may be there is UI-way...
On Thu, Jun 17, 2010 at 10:16 PM, Ruslan Popov wrote:
> Hi all,
>
> I work on simple wizard. I define each type of dialog as *.ui and have the
> translation problem.
QListWidgetItem *)'),
self.go_next)
def go_back(self):
print 'Back'
def go_next(self):
print 'Next'
Any help will be appreciated.
--
Ruslan Popov
phone: +7 916 926 1205
___
PyQt maili
;
>
> Please help me sort out the problem.
>
> Thanks
>
>
> ___
> PyQt mailing listPyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>
>
> __ Information from E
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 list
The answer is:
Just read carefully about QEvent and QCoreApplication.postEvent and you've
know that there is no need to use QWaitCondition at all in this case.
On Tue, Dec 1, 2009 at 10:15 PM, Ruslan Popov wrote:
> Hi, all.
>
> I am working on a part of application, the app needs t
Solved after carefully reading of Qt docs. There are some hints with
drag*Event.
2009/11/15 Ruslan Popov
> Hi all,
> I am new in PyQt but I have worked with Python and Qt earlier some time
> before.
> I never work with Qt4 before. It seems I did everything right with this
>
is in showing dialog.
I need to show dialog with a label 'Put RFID label on the reader.' and run
thread's loop. The loop reads RFID id and use callback function. At this
point I need to close the dialog window. Tell me the right way to do it.
Any help appreciated,
--
Ruslan Popov
Can you help me? What did I do wrong in my code?
P.S. Sorry for comment, they are in russian.
--
Ruslan Popov
phone: +7 916 926 1205
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2009 Ruslan Popov
import sys, re
from datetime import datetime, timedelta
from PyQt4.QtGui import *
from PyQt
16 matches
Mail list logo