]
Gesendet: Dienstag, 18. Dezember 2012 14:53
An: Szabo, Patrick (LNG-VIE)
Cc: PyQt Mailing List
Betreff: Re: [PyQt] QThreads and exceptions
no, what I want is to catch the exception in the main thread!
On Tue, Dec 18, 2012 at 8:39 AM, Szabo, Patrick (LNG-VIE)
mailto:patrick.sz...@lexisnexis.at>>
Rodriguez
> Bacallao
> *Gesendet:* Dienstag, 18. Dezember 2012 14:34
> *An:* PyQt Mailing List
> *Betreff:* Re: [PyQt] QThreads and exceptions
>
> ** **
>
> anyone?
>
> ** **
>
> On Mon, Dec 17, 2012 at 3:53 PM, José M. Rodriguez Bacallao <
> jmr...@
...@riverbankcomputing.com] Im Auftrag von José M. Rodriguez
Bacallao
Gesendet: Dienstag, 18. Dezember 2012 14:34
An: PyQt Mailing List
Betreff: Re: [PyQt] QThreads and exceptions
anyone?
On Mon, Dec 17, 2012 at 3:53 PM, José M. Rodriguez Bacallao
mailto:jmr...@gmail.com>> wrote:
how to catch an exception throw
anyone?
On Mon, Dec 17, 2012 at 3:53 PM, José M. Rodriguez Bacallao <
jmr...@gmail.com> wrote:
> how to catch an exception thrown from a QThread, if I use python threads,
> I can catch it but no from QThread.
___
PyQt mailing listPyQt@riverbankcomp
how to catch an exception thrown from a QThread, if I use python threads, I
can catch it but no from QThread.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Monday 23 July 2007 16:35:58 kib2 wrote:
> Hi,
>
> What's the difference between
> finished() and terminated() methods of a QThread ?
>
> Thanks.
Terminated means it was closed using terminate while still working.
Finished means it has finished its work.
Hi,
What's the difference between
finished() and terminated() methods of a QThread ?
Thanks.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> tell here which is the problem :-)
Hm, my studies about the problem are not finished, but
using postEvent instead of sendEvent gives me success
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFSfKEJFHWQ694uCYRAtjMAJ94rfU
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> test it, I think that this method called from QEvent or from onclick
> Event should do the same. Or maybe you call two times too fast and there
> is some problem because you haven't read the data first time and you
> call again. But I don't think so
Hello,
On Nov/01/2006, Gregor Kling wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello,
>
> > You mean that is not updating the representation (graphics) in that
> > time? ¿?
> > If you do from other method, called from other event (buttonclicked)
> > then it works?
> I didn't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
> You mean that is not updating the representation (graphics) in that
> time? ¿?
> If you do from other method, called from other event (buttonclicked)
> then it works?
I didn't test it with another method.
The result from the database-query re
Hi!
On Nov/01/2006, Gregor Kling wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello Carles,
> > Hope that will help...
> Yes that does thanks.
ok happy,
> The update_host_find_dialog(host) does:
> if (self.first):
>
>
> nk = host.get_name_ipv4()[0]
> host_id =
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Carles,
> Hope that will help...
Yes that does thanks.
But,..
In my thread, in which i do the db-query i have now following line:
for row in result:
host_id = row[0]
host = DVZhostData(self.__dbcon)
host.fill_h
Hello,
On Oct/31/2006, Gregor Kling wrote:
> > QCustomEvent. Something like that (note that this is for Qt3, not Qt4, I
> > don't know if it has been changed):
> In this case, regrettably i'm using Qt4, and there are no longer these
> event-classes, i for one doesn't see them.
> I found some exa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> In this case, regrettably i'm using Qt4, and there are no longer these
> event-classes, i for one doesn't see them.
> I found some examples, but they all use the customevent stuff.
Uh, ah, okay reading helps sometimes ;-)
I just found the QEvent clas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thnx Krzysztof,
> As far as I understand your code, in GUI you are running in loop,
> processing incoming pieces of data. This will not work, GUI updating is
> event-driven, so you should process one piece of data at the time and
> return control to G
Gregor Kling napisał(a):
> I can see that the printouts are as intended, but
> the presentation in the WidgetTable ist presented when
> the thread is complete instead of an iterative update.
>
>
> Anyone has an idea ?
As far as I understand your code, in GUI you are running in loop,
processing i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
Maybe there has someone an idea what is wrong with my (possibly
braindead) interaction with a database query and the representation in a
Dialog.
I have a class Finder with following impl:
class Finder(QtCore.QThread):
def __init__(self,sea
18 matches
Mail list logo