[PyQt] Kajongg - a new game base on PyQt and twisted

2010-01-25 Thread Wolfgang Rohdewald
I would like to announce Kajongg - it is a Mah Jongg game (not yet another solitaire but the real game for four players). It is written 100% in python and regular expressions. The GUI is done with PyQt4, and the network part is written using twisted. Dear twisted people - you have a list of

Re: [PyQt] PyKDE 3.16.6 build problem

2010-01-25 Thread Phil Thompson
On Sun, 24 Jan 2010 00:53:14 +0100, Hans-Peter Jansen h...@urpla.net wrote: Dear Phil, looks like PyKDE fails to compile with sip 4.10 and PyQt 3.18.1: /opt/kde3/include/kfilemetainfo.h:1237: warning: type qualifiers ignored on function return type g++ -c -Wno-deprecated-declarations

Re: [PyQt] project question

2010-01-25 Thread Cucu Cristian
On Sunday 24 January 2010 22:07:49 you wrote: On Sun, 24 Jan 2010 23:14:13 +, Cucu Cristian cucife...@gmail.com wrote: On Sunday 24 January 2010 15:55:30 you wrote: On Sun, 24 Jan 2010 14:54:31 +, Cucu Cristian cucife...@gmail.com wrote: Hi list, I made a pyqt

Re: [PyQt] ImportError with v4.7 Windows Binary

2010-01-25 Thread Doug Bell
Phil Thompson wrote: On Fri, 22 Jan 2010 10:12:37 -0500, Doug Bell do...@bellz.org wrote: Phil Thompson wrote: On Fri, 22 Jan 2010 10:00:13 -0500, Doug Bell do...@bellz.org wrote: Phil Thompson wrote: On Fri, 22 Jan 2010 09:03:53 -0500, Doug Bell do...@bellz.org wrote: Hi,

[PyQt] QString looks strang in online docs

2010-01-25 Thread Mads Ipsen
Doesn't QString look a little strange here: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qvalidator.html#fixup-2 -- +-+ | Mads Ipsen, Scientific developer|

Re: [PyQt] ImportError with v4.7 Windows Binary

2010-01-25 Thread V. Armando Solé
Doug Bell wrote: FYI, I finaly found the problem. There is a commercial program (CFDesign, from Blue Ridge Numerics) installed on this PC that uses Qt and has Qt DLLs in a directory that is included in the PATH. If the CFDesign directory is renamed, then PyQt works again. I'm not sure what

[PyQt] fixup in QValidator

2010-01-25 Thread Mads Ipsen
Hi, I can't figure out how to use/implement the fixup() method of a QValidator. Any suggestions? Best regards, Mads -- +-+ | Mads Ipsen, Scientific developer|

Re: [PyQt] PyKDE 3.16.6 build problem

2010-01-25 Thread Rex Dieter
Phil Thompson wrote: On Sun, 24 Jan 2010 00:53:14 +0100, Hans-Peter Jansen h...@urpla.net wrote: Dear Phil, looks like PyKDE fails to compile with sip 4.10 and PyQt 3.18.1: ... Any idea on how to circumvent this problem? Try the attached (untested) patch. Patch worked as advertised for

[PyQt] Uppercase QLineEdit

2010-01-25 Thread Mads Ipsen
Hi, I need to construct a QLineEdit that displays everything in upper-case. In native Qt this can be done via a QValidator using something along the lines pqUpcaseValidator::pqUpcaseValidator( QWidget* Parent, const char* Name ) : QValidator( Parent, Name ) {}

Re: [PyQt] Uppercase QLineEdit

2010-01-25 Thread David Boddie
On Mon Jan 25 16:48:44 GMT 2010, Mads Ipsen wrote: but how do I do something similar in PyQt, where it's not obvious how you handle strings by reference and also have limited support for modifying strings in-place?Uppercase One way to do it would be to create an upper case copy of the string,

[PyQt] CellWidget Source

2010-01-25 Thread Zabin Farishta
Hey Experts! I am trying to create a table with some fields containing comboboxes. These are put into the table using the setCellWidget command. I have attached signals to these for example when they are activated. However I am unable to figure out as to how to retrieve the source that the signals

[PyQt] DragDrop problem in Windows Systems

2010-01-25 Thread Taha Doğan
Hi, I am working on a project called 'Kontrolcu'. And I have problem with using QListWidget drag and drop. In Windows systems when I drag a file to the list, file disapperes and windows deletes that file. No text in QListWidget. But in KDE and GNOME, drag and drop works perfectly. (Neither XFCE!)

[PyQt] QFileSystemWatch and Network Drives

2010-01-25 Thread bhclowers
So I'm trying to watch a network drive so that I can trigger a function. Any ideas how to get this to work using QFileSystemWatcher? Any help would be appreciated. My ipython example that fails: from PyQt4 import QtGui, QtCore import os watcher = QtCore.QFileSystemWatcher() #mapped drive on

[PyQt] Embedding Python and Pyqt in Windows

2010-01-25 Thread Nahuel Defosse
Hi I'm developing an extension using PythonForDelphi for a Delphi application. I'd like to use PyQt, but i dont know what dll/pyd/ registry entries to include in order to run it everywhere. Thanks ___ PyQt mailing list

[PyQt] Timers

2010-01-25 Thread Jason H
I have a class that is created and needs to run a function after the event loop starts. Usually I just do: if __name__==__main__: a = QApplication(sys.argv) m=Main(False) m.show() QTimer.singleShot(0, m.startProcessing) a.exec_() But my startProcessing slot does not get

Re: [PyQt] Timers

2010-01-25 Thread Russell Valentine
Seems to work for me, and if it usually works for you, then it is probably what you didn't include in your email that is not working? #Does it for me from PyQt4 import QtCore, QtGui import sys class Main(QtGui.QMainWindow): def __init__(self): QtGui.QMainWindow.__init__(self)