Running the following PyQt script, whenever I click the Open button,
the QThread will be stopped until I close the file dialog. The
equivalent code in C++ has no such problem.
# thread.py
import sys, time, random
from qt import *
class MyThread(QThread):
def __init__(self, receiver):
QThrea
--- Jim Bublitz <[EMAIL PROTECTED]> wrote:
> On Thursday August 28 2003 17:16, Sok Ann Yap wrote:
> > Hi there,
>
> > May I know how to keep my application from quitting when I
> > close the main window? The desired result is to let the
> > application to st
Hi there,
May I know how to keep my application from quitting when I close
the main window? The desired result is to let the application to
stay in the system tray and not taking any space in the taskbar.
Here's the code:
from qt import *
from kdecore import *
from kdeui import *
import sys
cla
According to the documentation...
==
QWidget * QDropEvent::source () const
If the source of the drag operation is a widget in this
application, this function returns that source, otherwise it
returns 0. The source of the operation is the first parameter to
drag
Hi there
I subclass QListViewItem so that the font will be in green color
when the item is chosen either by double clicking or calling a
function (let's name it as Z)
The color changes properly when I double click or call this
function Z directly (clicking on menu or using accel key).
However, wh