there is a way to make the Qt signals work over
Python's multiprocessing interface.
--
Sybren A. Stüvel
http://stuvel.eu/
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-to header either.
--
Sybren A. Stüvel
http://stuvel.eu/
signature.asc
Description: Digital signature
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Tuesday 28 September 2010 11:51:06 Sybren A. Stüvel wrote:
Is it possible to move to API 2 and still keep using Qt Designer?
PS: I'm using Qt Designer on Kubuntu 10.04 from the qt4-designer
package version 4:4.6.3-0ubuntu1.
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu
errors.
PS: Please reply to just the list, there is no need to do reply-all,
I'm on the list too. With a reply-all I get your mail twice.
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message part
and 3...
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message part.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
, they will be received by the application just as-
is. No escaping needed.
import subprocess
proc = subprocess.Popen([command, path])
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message part
if you actually
_know_ what the command is, and what its arguments are. For example,
how would you know that the user isn't trying to run the ls
/home/usr/test executable and pass it dir/ as the first argument?
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description
On Monday 13 September 2010 12:11:48 Gökçen Eraslan wrote:
That's fixed in the latest snapshot, by the way.
Great, thanks!
--
Sybren A. Stüvel
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message part.
___
PyQt mailing
this
error.
Downgrading to 4.7.4 gives me an ExpatError on the above test.ui,
which I expected because it's not a valid XML file. Building my real
UI files works just fine after the downgrade.
Regards,
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description
. I'll
wait for a proper fix ;-)
Regards,
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message part.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com
or a connection?
I'm sure this must be common.
Are there guidelines to use, rules of thumb etc?
Thanks,
~Eric
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message part.
___
PyQt mailing
in listview without passing via model.
I am really interested in knowing how to achieve any of the above
or if there's any other solution for this.
Thanks,
Mru
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message part
of a listview. Or can I?
No idea, I was just merely suggesting a CSS approach.
Regards,
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message part.
___
PyQt mailing listPyQt
signal from the
exception handler, and showing a dialog box from a connected slot in
the GUI thread.
Cheers,
--
Sybren Stüvel
http://stuvel.eu/
signature.asc
Description: Digital signature
___
PyQt mailing listPyQt@riverbankcomputing.com
http
in the lines above wouldn't work
while the signal.connect() does (on Ubuntu 10.04).
That's strange, as signal.connect() works just fine here (Ubuntu
10.04).
Please try to make a minimal example, just one bit of code that shows
the problem.
--
Sybren Stüvel
http://stuvel.eu/
signature.asc
Description
On 27-7-2010 10:30, Fabio Mauri wrote:
the whole file is quite big, but I think that the following is the
interesting part (if you need something more, ask me and I'll post
it):
I think we need less, not more. This code won't run anyway, since you
didn't provide the Ui_Wdw class. Try to create
.
Excellent, thanks!
--
Sybren Stüvel
http://stuvel.eu/
signature.asc
Description: Digital signature
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
of the exception.
The exception occurs when running on PyQt 4.7.4, Qt 4.6.2 and Python
2.6 on Windows XP.
The same code runs without error on PyQt 4.7.3, Qt 4.6.3 and Python
2.6 on Ubuntu Linux.
Regards,
--
Sybren Stüvel
http://stuvel.eu/
signature.asc
Description: Digital signature
that is compatible with
currentChanged(QModelIndex,QModelIndex)
Regards,
--
Sybren Stüvel
http://stuvel.eu/
signature.asc
Description: Digital signature
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Tue, Jul 27, 2010 at 06:12:23AM +0200, Sybren A. Stüvel wrote:
smodel = self.resultsView.selectionModel()
smodel.currentChanged.connect(self.on_change)
PS: This does work in concert with the @QtCore.pyqtSignal(...) decorator:
QtCore.QObject.connect(smodel
On 9-6-2010 12:43, Jugdish wrote:
Hi, what is the proper way to connect a signal to another signal using
the new-style signal/slot syntax? I've been doing it like this:
myObj1.mySignal.connect(lambda arg1, arg2: myObj2.mySignal.emit(arg1,arg2))
but is there a way to do it without using a
? Or is there another way I don't see?
You can register your subclass in the designer, and tell it to replace
the QLineEdit instances with your subclass. In the field that would
ordinarily hold the .h file that defines the subclass, enter the .py
file instead.
Regards,
--
Sybren A. Stüvel
http
self.app
self.fail(Done)
It's done in a unittest.TestCase class, and the self.fail() calls are there so
that I can quickly see what's going on.
What would you recommend?
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message
module (or package), so
that you can just write:
from PyQt4.__future__ import QString
I can do simply from PyQt4.QtCore import QString and then use it. Can you
give an example of where this fails?
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description
for providing a fix in the future, and for giving me a workaround
now.
Regards,
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message part.
___
PyQt mailing listPyQt@riverbankcomputing.com
http
)
---
I hope you can help me to fix this issue.
Regards,
--
Sybren A. Stüvel
syb...@stuvel.eu
http://stuvel.eu/
signature.asc
Description: This is a digitally signed message part.
___
PyQt mailing listPyQt
26 matches
Mail list logo