I've tried to create a test case for the previously reported
issue.
It appears the bug does not appear when the queued slot call
is made after the sender has been deleted, but only if the
call is made while the sender is deleted.
To run the case, use :
python -m nose.core \\
test_qt_bindings.py:
On Sat, 13 Aug 2011 10:05:14 -0600, Kovid Goyal
wrote:
> This bug has been present for a very long time. As a workaround in my
> projects,
> I disable the automatic garbage collector and run garbage collection
> manually
> in the GUI thread via QTimer. Here's the code to do that:
>
> class Garba
On Mon, 22 Aug 2011 20:00:31 +0200, Carl Wolff
wrote:
> Hello,
> the following piece of code leaks:
>
> import PyQt4.QtGui
> import PyQt4.QtCore
> import time
>
> app = PyQt4.QtGui.QApplication([])
> mainWindow = PyQt4.QtGui.QMainWindow()
>
> while True:
> button = PyQt4.QtGui.QPushButton(mai
Hi,
After lots of tries I have been able to get a stacktrace
+ core of a segfault that I believe occurs from time to time.
The attached stacktrace shows the segfault is inside the QT
event loop, without even involving Python.
What I believe that happens is this :
1) A signal is connected to a s
hi
Thanks for the reply , QLabel will be created once only when count is equal
to 2 . Firstly i was thinking same that i make Qlabel first and then recall
them and change only text but if i do that then i have to create nearly
40-60 Qlabel to cover all the loop holes so i need to create it on run
On Thursday 25 August 2011, 12:02:52 uahmed wrote:
> Hi
>
> I want to update the Qlabel after the widget is made , Problem is
> that updating is base on counter so i call that function after 4
> seconds , but when it by pass the "if" statment it go through all the
> commands give me no errors but i
Hi
[Sorry Hans , i clicked on reply all so it Cc to the group too ]
Although here i want to destroy the button like i dont want to use it again
, if i am not wrong show and hide functions will be use when i want to reuse
the button and show and hide will not destroy the button .
On Thu, Aug 25,
Hi
I want to update the Qlabel after the widget is made , Problem is that
updating is base on counter so i call that function after 4 seconds , but
when it by pass the "if" statment it go through all the commands give me no
errors but it does not update the widet although if i dont putt "if"
statm
[I prefer to not get personal replies on this list]
On Thursday 25 August 2011, 11:39:46 uahmed wrote:
> Hi
>
> Thanks for the reply , I used .close() . I guess this will destroy
> the widget and will not leave memory for it .
You cannot close arbitrary widgets, but you can hide and show them
wi
Hi
Thanks for the reply , I used .close() . I guess this will destroy the
widget and will not leave memory for it .
On Thu, Aug 25, 2011 at 2:22 PM, Hans-Peter Jansen wrote:
> On Thursday 25 August 2011, 10:43:20 Vincent Vande Vyvre wrote:
> > Le 25/08/11 07:59, uahmed a écrit :
> > Hi
> >
> >
On Thursday 25 August 2011, 10:43:20 Vincent Vande Vyvre wrote:
> Le 25/08/11 07:59, uahmed a écrit :
> Hi
>
> I want to add widget in (f1) function and want to remove the widget
> from (f2) function . I tried the same thing in same function it do
> work but when i try to remove the widget from a
Le 25/08/11 07:59, uahmed a écrit :
Hi
I want to add widget in (f1) function and want to remove the
widget from (f2) function . I tried the same thing in same
function it do work but when i try to remove the widget from
another it doesnt . Any help ?
12 matches
Mail list logo