)
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 listPyQt@riverbankcomputing.com
http
s a slot in QCoreApplication to the sample_completed signal
and emits it
In short I expect the ::receivers() to be ALWAYS 1.
grep 'receivers: "2"' nexplode.txt yields different results on win32 and
linux. On linux I always get 'receivers: "1"' while on wi
receive logs and 1 single receiver.
Attached python and c++ examples.
Python program uses an "nexplode.txt" logfile in append mode, while C++ uses
qDebug()
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666318 Fax: +390302659932
E-mail: giusep
.start()
app.exec_()
Get this output:
INFO:blah:Main thread ID 3075479232
DEBUG:blah:__call__ 3075479232
DEBUG:blah:call 3042327408
DEBUG:blah:__call__ 3075479232
DEBUG:blah:call 3042327408
DEBUG:blah:__call__ 3075479232
DEBUG:blah:call 3042327408
--
Giuseppe Corbelli
WASP Software Engine
QtCore.Qt.QueuedConnection)
QtCore.QObject.connect(app, app.signature_noargs, receiver_partial_proxy,
QtCore.Qt.QueuedConnection)
timer = QtCore.QTimer()
timer.setInterval(1000)
timer.timeout.connect(app.emit_noargs)
timer.start()
app.exec_()
--
Giuseppe Corbelli
WASP Software Engineer, C
her
pointer to look at?
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666318 Fax: +390302659932
E-mail: giuseppe.corbe...@copanitalia.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.ri
ction)
timer = QtCore.QTimer()
timer.setInterval(1000)
timer.timeout.connect(app.mysignal.emit)
timer.start()
app.exec_()
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666318 Fax: +390302659932
E-mail: giuseppe.corbe...@copanitalia.com
___
e.QT_VERSION_STR
>>> QtCore.QT_VERSION_STR
'4.8.2'
>>> QtCore.PYQT_VERSION_STR
'4.9.6'
Is it possible to fix this? I just don't know enough of SIP to be of any help,
sorry.
--
Giuseppe Corbelli
WASP Software Engineer, Copan Ital
rd things to files, but cp and
cat? Is this behavior considered normal?
No answer on top of my mind, but I'd run all the commands (cp, vi, jo, cat)
under strace and see all the related syscalls. Won't be surprised if the
*notify system has some hooks related to common syscalls.
--
he event loop to exit cleanly. If
the event loop does not get called because i.e. the thread is blocked in an IO
operation this call apparently does nothing.
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666318 Fax: +390302659932
E-m
with an
external entity. I don't know anything under *nix, but for win32 you may try:
http://code.google.com/p/pywinauto/
http://code.google.com/p/swapy/
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666318 Fax: +390302659932
E-m
should be applicable.
Well, I'm not an expert in the QT internals and I know this isn't exactly the
right mailing list, but any suggestion would be appreciated :-)
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666104 Fax: +390302659
resources the problem is solved.
Of course just moving the clock by hand does not reproduce the problem :-)
Hope you have some ideas...
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666104 Fax: +390302659932
E-mail: giuseppe.corbe...@copan
>> k = CX()
>
>
> Using latest stable SIP and PyQt4 with Qt 4.7.2
Meaning 4.8.4 and 4.12.3?
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666104 Fax: +390302659932
E-mail: giuseppe.corbe...@copanitalia.com
___
On 27/06/2011 17:23, Giuseppe Corbelli wrote:
> Hi all
>
> I have two boxes:
> Linux with PyQt-GPL 4.8.3/Qt 4.7.0/Python 2.6.6
> Windows 7 with PyQt-Commercial 4.8.4/Qt 4.7.3/ActivePython 2.6.6.18
Forgot:
sip 4.12.1 on Linux machine
sip 4.12.3 on Linux machine
--
Gi
Traceback (most recent call last):
File "test_signal.py", line 13, in
k = CX()
File "test_signal.py", line 11, in __init__
print self.asig
TypeError: pyqtSignal must be bound to a QObject, not 'CX'
--
Giuseppe Corbelli
WASP Software Engineer,
On 10/06/2011 10:52, Giuseppe Corbelli wrote:
> So it seems that pylupdate4 does NOT parse tr(u"") stuff. Is it by design?
> Sorry but I can't dive into it at present.
Seems that I was right, rare stuff indeed.
Look into pylupdate/fetchtr.cpp, around line 380
You will se
On 10/06/2011 19:46, Detlev Offenbach wrote:
> On Freitag, 10. Juni 2011, Giuseppe Corbelli wrote:
>> Hi all
>> I have a couple of classes like these:
>>
>> class CAntibiogram_AlarmData(WaspCore.Common.Alarm.CAlarmData):
>> __alarm_name__ = "ALARM_
cription': tr(u"Tavola Antibiogramma"),
'active': True
}
When I run
pylupdate4 -verbose WaspCore/Alarms/BATable.py -ts test.ts
I get
Updating 'test.ts'...
Found 2 source texts (0 new and 2 already existing)
So it seems that pylupdate4 does NOT parse
. However, when I run
the (also attached) test.py, nothing is returned. The resource is opened but
appears to be empty.
If I run pyrcc4 without compression everything works fine.
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666104 Fax: +3903026599
"version"
attribute to 2.0 (not sure if this is a good idea :-)
don't want to keep a nonstandard tree.
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666104 Fax: +390302659932
E-mail: giuseppe.corbe...@copanitalia.com
--- PyQt-x11-gpl-
.1 is working fine. Sorry :-(
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666104 Fax: +390302659932
E-mail: giuseppe.corbe...@copanitalia.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.rive
nd this solves my issue ONLY IF the text is marked as "Translatable". If the
"Translatable" is OFF the prop.text is not unicode and so the string contains
some random shit depending on locale and whatever. This will need some more
work...
--
Giuseppe Corbelli
WASP So
27;QWidget*' is not supported as a native Qt signal
> type
>>
>> This error did NOT occur with Qt 4.6 and PyQt 4.7.7.
>
> The problem is unique to QSignalMapper. The workaround is to import QtGui..
The workaround works :-)
Any idea where the problem may lie?
--
G
give some more hints...
BTW, is there a way to access older releases?
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666104 Fax: +390302659932
E-mail: giuseppe.corbe...@copanitalia.com
___
PyQt maili
makes some sense...
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666104 Fax: +390302659932
E-mail: giuseppe.corbe...@copanitalia.com
--- uic/uiparser_orig.py2010-09-20 12:14:04 +
+++ uic/uiparser.py 2010-09-22 13:44:27 +
@@ -406,14 +4
26 matches
Mail list logo