[PyQt] Build problem with latest PyQt snapshot on Windows

2009-03-03 Thread İsmail Dönmez
Any help is appreciated. -- İsmail DÖNMEZ ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Moltiple_selection

2009-01-12 Thread İsmail Dönmez
Hi, On Mon, Jan 12, 2009 at 16:08, lucabe...@libero.it lucabe...@libero.it wrote: Hello I have made a groupBox with 3 radioButton, how i can make that more than one radio button can be selected. Radio buttons are exclusive by default, try using checkboxes. Regards, ismail

Re: [PyQt] QDialog window buttons

2008-09-12 Thread İsmail Dönmez
On Fri, Sep 12, 2008 at 18:26, Scott Frankel [EMAIL PROTECTED] wrote: When I call setWindowFlags(QtCore.Qt.Window), the dialog is presented with only the maximize button enabled; the close and minimize buttons are disabled. From the docs, it looks like the flags are combinable. However,

Re: [PyQt] pyqt slow

2008-09-06 Thread İsmail Dönmez
On Sat, Sep 6, 2008 at 21:03, Aminu D [EMAIL PROTECTED] wrote: Hi, I am wondering if anyone has been successful running pyqt applications on windows...I have an application that runs smoothly on ubuntu and it took considerable effort to port it to windows. But even now it runs very slow,

Re: [PyQt] Strange shadowing of hex() function by PyQt4.QtCore

2008-08-08 Thread İsmail Dönmez
On Fri, Aug 8, 2008 at 10:02, Mark Summerfield [EMAIL PROTECTED] wrote: On 2008-08-08, Boris Barbour wrote: Hi, Importing PyQt4.QtCore seems to alter or shadow the builtin hex() function. I'm afraid I haven't tracked things down further - I just learnt the hard way to import instead of from

[PyQt] Crash when reading negative size of data from QUdpSocket

2008-06-24 Thread İsmail Dönmez
Hi, Using latest sip/PyQt snapshots with Qt4.4, see following: from PyQt4.QtNetwork import QHostAddress, QUdpSocket socket = QUdpSocket() success = socket.bind(QHostAddress(0.0.0.0), ) success True socket.readData(-1) terminate called after throwing an instance of 'std::bad_alloc'

Re: [PyQt] compilation problem PyQt4 on ubuntu 6.10

2008-05-18 Thread İsmail Dönmez
Hi, On Sun, May 18, 2008 at 1:42 PM, Mark Thompson [EMAIL PROTECTED] wrote: Hi, I'm trying to install PyQt4 on XUbuntu 6.10 (Edgy Eft). PyQt4 is available in the apt package manager, but for some reason it only installs PyQt4 to the Python2.4 installation, whereas I need it for Python2.5

Re: [PyQt] Building with Visual Studio 2008

2008-05-17 Thread İsmail Dönmez
Hi, On Sat, May 17, 2008 at 7:01 PM, Kevin Copps [EMAIL PROTECTED] wrote: [...] In order to get sip to run from within the Python install, I had to add the following line to the install target of the Makefile inside the sipgen directory: copy /y $(TARGET).manifest

[PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread İsmail Dönmez
Hi Phil et al., Is there a chance of updating the windows installer for Qt 4.4? MSVC Express 2008 is giving me a hard time compiling PyQt4 so I would appreciate an updated installer. Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again.

Re: [PyQt] Updating the windows installer for Qt 4.4

2008-05-13 Thread İsmail Dönmez
Hi, On Tue, May 13, 2008 at 2:19 PM, Phil Thompson [EMAIL PROTECTED] wrote: On Tuesday 13 May 2008 11:59:48 Giovanni Bajo wrote: On 5/13/2008 10:24 AM, Phil Thompson wrote: On Tuesday 13 May 2008 09:16:59 you wrote: Hi Phil, First we will install Qt/MinGW and then your

Re: [PyQt] Newbie - QGraphicsItem QGraphicsScene problems

2008-05-13 Thread İsmail Dönmez
Hi, On Tue, May 13, 2008 at 8:25 PM, Aysun Bascetincelik [EMAIL PROTECTED] wrote: Hi, I am trying to implement a simple paint like program. I am having mainly two problems: 1. I have an item class inherited from QGraphicsItem and I use QGraphicsScene.addItem() to add it to the scene.

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread İsmail Dönmez
Hi, On Fri, May 9, 2008 at 10:47 AM, Phil Thompson [EMAIL PROTECTED] wrote: On Friday 09 May 2008 04:03:49 Gustavo A. Díaz wrote: Hi, I cant manage to compile right PyQt4.4 latest snapshot. I've compiled latest Sip snapshot, latest Qscintilla snapshot and i have brand new Qt.4.4 (Kubuntu

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread İsmail Dönmez
Hi, On Fri, May 9, 2008 at 9:53 PM, Gustavo A. Díaz [EMAIL PROTECTED] wrote: Well.. after adding -lpython2.5 to every single Makefile (:S) compiled perfectly... Maybe Kubuntu maintainers broke Qt4.4 someway as you said. FWIW this works fine on MacOSX Leopard. Regards, ismail -- Never learn

[PyQt] Q(Core)Application.exec_() is not interruptable

2008-05-01 Thread İsmail Dönmez
Hi all, Following code can't be interrupted with CTRL-C : import sys from PyQt4.QtCore import QCoreApplication QCoreApplication.exec_(sys.argv) Is this somehow intended and is there a way to overcome this? Regards, ismail -- Never learn by your mistakes, if you do you may never dare to

[PyQt] QDataStream shouldn't accept str as first argument

2008-05-01 Thread İsmail Dönmez
Hi, Following code will crash with PyQt4 snapshot and older versions : a = str() b = QDataStream(a, QIODevice.ReadOnly) b.readDouble() zsh: segmentation fault python Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again.

Re: [PyQt] Q(Core)Application.exec_() is not interruptable

2008-05-01 Thread İsmail Dönmez
Hi, On Thu, May 1, 2008 at 10:54 PM, Ewald de Wit [EMAIL PROTECTED] wrote: On Thursday 01 May 2008 14:28:31 İsmail Dönmez wrote: Following code can't be interrupted with CTRL-C : import sys from PyQt4.QtCore import QCoreApplication QCoreApplication.exec_(sys.argv

[PyQt] Problem with QDataStream and QString

2008-04-11 Thread İsmail Dönmez
Hi again, Looks like I am back to QDataStream problems and here is the testcase : from PyQt4.QtCore import * a = QByteArray() b = QDataStream(a, QIODevice.ReadWrite) b QString(123) PyQt4.QtCore.QDataStream object at 0xa77e8e2c b.device().seek(0) True b.readString() '' I was expecting the

[PyQt] QUdpSocket problem

2008-04-10 Thread İsmail Dönmez
Hi all, In Qt following works : QUdpSocket sock = new QUdpSocket(); sock.bind(QHostAdress.Any, ) But in PyQt it doesn't like it : sock = QUdpSocket() sock.bind(QHostAddress.Any, ) Traceback (most recent call last): File stdin, line 1, in ? TypeError: argument 2 of QUdpSocket.bind()

[PyQt] Re: QUdpSocket problem

2008-04-10 Thread İsmail Dönmez
On Thu, Apr 10, 2008 at 9:24 AM, İsmail Dönmez [EMAIL PROTECTED] wrote: Hi all, In Qt following works : QUdpSocket sock = new QUdpSocket(); sock.bind(QHostAdress.Any, ) Read that as, QUdpSocket sock; sock.bind(QHostAdress.Any, ); of course ;) Regards, ismail -- Never learn

[PyQt] Reading from empty QDataStream crashes

2008-04-09 Thread İsmail Dönmez
Hi all, Using Qt 4.3.4 , PyQt4 snapshot from 20071220 , sip 4.7.4 following example crashes python : from PyQt4.QtCore import * a = QByteArray() b = QDataStream(a, QIODevice.ReadOnly) b.readString() zsh: segmentation fault python If you write same code using C++ you get an empty string

Re: [PyQt] ANN: PyQt v4.3.3 and SIP v4.7.2 Released

2007-12-05 Thread Ismail Dönmez
Thursday 06 December 2007 07:04:50 Gerard Vermeulen yazmıştı: On Wed, 5 Dec 2007 22:01:52 + Phil Thompson [EMAIL PROTECTED] wrote: PyQt v4.3.3 and SIP v4.7.2 have been released and are available from the usual places. These are mainly bug fix releases. The Windows binary installer

Re: [PyQt] PyKDE4 Update

2007-09-03 Thread Ismail Dönmez
[... Forgot to CC the list ...] On Monday 03 September 2007 23:05:03 Jim Bublitz wrote: On Monday 03 September 2007 12:08, Hans-Peter Jansen wrote: Awesome, Jim. Am Montag, 3. September 2007 18:14 schrieb Jim Bublitz: The module lineup is about the same as PyKDE3, with a few changes.

Re: [PyQt] Can't load UI files under Turkish locale

2007-08-10 Thread Ismail Dönmez
On Friday 10 August 2007 10:42:49 Phil Thompson wrote: On Friday 10 August 2007 1:21 am, Ismail Dönmez wrote: Ping? I'm waiting for your reply to Giovanni's question. I can't see his reply in my mailer :-/ I will check web archives, thanks. Regards, ismail -- Perfect is the enemy of good

Re: [PyQt] Can't load UI files under Turkish locale

2007-08-09 Thread Ismail Dönmez
Ping? On Thursday 02 August 2007 14:08:57 Ismail Dönmez wrote: Hi all, uic/properties.py line 220 says : getattr(widget, set%s%s % (propname[0].upper(), propname[1:]))( The propname[0].upper() part is problematic for Turkish locale, because uppercase of i is not I in Turkish locale

[PyQt] Can't load UI files under Turkish locale

2007-08-02 Thread Ismail Dönmez
Hi all, uic/properties.py line 220 says : getattr(widget, set%s%s % (propname[0].upper(), propname[1:]))( The propname[0].upper() part is problematic for Turkish locale, because uppercase of i is not I in Turkish locale but its i-with-a-dot-above (İ) . So trying to load a UI file results in

Re: [PyQt] Re: Qt-4.3.0 hangs

2007-07-29 Thread Ismail Dönmez
On Sunday 29 July 2007 15:34:51 Jeremy Sanders wrote: Okay, here is a test python program which appears to demonstrate a hang on Ubuntu Feisty with Qt 4.3.0: import sys from PyQt4.QtCore import * from PyQt4.QtGui import * def fileOpenDialog(): fd = QFileDialog(window, 'foo')

Re: [PyQt] Re: Crash with shortcircuit signals

2007-07-10 Thread Ismail Dönmez
On Wednesday 11 July 2007 00:00:38 Phil Thompson wrote: [...] Hmm, works for me (even if I up the loop count to 3000). Can anybody else reproduce it? Are you on a 32 or 64 bit system? Can reproduce here on 32bit , sip 20070625, PyQt4 20070625, Qt 4.3.0 [~] python test.py 0 -1480848532

Re: [PyQt] Fwd: compile errors

2007-07-01 Thread Ismail Dönmez
On Monday 02 July 2007 01:38:22 Thomas Kocourek wrote: Let's try the correct mailing list 8-) Try the following patch from Fedora: http://cvs.fedora.redhat.com/viewcvs/*checkout*/rpms/PyKDE/devel/PyKDE-3.16.0-python25.patch /ismail -- Forwarded message -- From: Thomas

Re: [PyQt] PyKDE doesn't compile with latest sip PyQt

2007-06-26 Thread Ismail Dönmez
On Monday 25 June 2007 15:22:46 Phil Thompson wrote: On Monday 25 June 2007 9:33 am, Ismail Dönmez wrote: Hi Phil, On Sunday 24 June 2007 12:43:03 Phil Thompson wrote: I think if you use -j2 instead of -i it will compile (and in a reasonable time). I'll update the patch (or SIP

Re: [PyQt] PyKDE doesn't compile with latest sip PyQt

2007-06-25 Thread Ismail Dönmez
Hi Phil, On Sunday 24 June 2007 12:43:03 Phil Thompson wrote: I think if you use -j2 instead of -i it will compile (and in a reasonable time). I'll update the patch (or SIP). Should I add back ulonglong headers back or you will change sip? Regards, ismail -- Perfect is the enemy of good

Re: [PyQt] PyKDE doesn't compile with latest sip PyQt

2007-06-23 Thread Ismail Dönmez
On Saturday 23 June 2007 18:58:24 Phil Thompson wrote: On Wednesday 20 June 2007 6:15 pm, Ismail Dönmez wrote: Hi all, I got the following installed sip-20070619 PyQt-20070613 gcc 4.2.0 Configuring PyKDE 3.16.0 with configure.py -k /usr/kde/3.5 make results in : g++ -c

[PyQt] PyKDE doesn't compile with latest sip PyQt

2007-06-20 Thread Ismail Dönmez
Hi all, I got the following installed sip-20070619 PyQt-20070613 gcc 4.2.0 Configuring PyKDE 3.16.0 with configure.py -k /usr/kde/3.5 make results in : g++ -c -Wno-deprecated-declarations -pipe -fPIC -mtune=i686 -O2 -pipe -fomit-frame-pointer -Wall -W -D_REENTRANT -DQT_NO_DEBUG

Re: [PyQt] [Errno 4] Interrupted system call

2007-05-28 Thread Ismail Dönmez
On Monday 28 May 2007 18:54:47 Jeremy Moskovich wrote: Hi, I'm having consistent problems using the python subprocess module in PyQT applications. os.read() os.wait() calls seem to be interrupted intermittently, in a manner similar to the following stack trace: File

Re: [PyQt] Which Linux distros have PyQt4 preinstalled?

2007-05-10 Thread Ismail Dönmez
On Thursday 10 May 2007 16:14:12 Mark Summerfield wrote: Hi, I just found out that Kubuntu 7.04 Feisty Fawn includes PyQt4 preinstalled (version 4.1). Does anyone know if it is also preinstalled on plain Ubuntu, or on the forthcoming Fedora 7, or indeed on any other Linux distro? Pardus

Re: [PyQt] Which Linux distros have PyQt4 preinstalled?

2007-05-10 Thread Ismail Dönmez
On Thursday 10 May 2007 17:42:21 Mark Summerfield wrote: On Thu 10-May-07, Ismail Dönmez wrote: On Thursday 10 May 2007 16:14:12 Mark Summerfield wrote: Hi, I just found out that Kubuntu 7.04 Feisty Fawn includes PyQt4 preinstalled (version 4.1). Does anyone know if it is also

Re: [PyQt] ANN: PyQt v4.2, PyQt v3.17.1, SIP v4.6 Released

2007-04-11 Thread Ismail Dönmez
Hi, On Wednesday 11 April 2007 00:32:12 Phil Thompson wrote: The latest versions of PyQt4, PyQt3 and SIP have been released and are available from the usual places. PyQt v4.2 allows you to write Qt Designer widget plugins in Python. It also allows you to dynamically define new Qt slots,

Re: [PyKDE] tr()

2007-01-18 Thread Ismail Dönmez
18 Oca 2007 Per 10:08 tarihinde, Tony Cappellini şunları yazmıştı: I'm using pyqt/QT4 for the first time. In this menuing example below, there is a call to a function called tr(), but I don't understand what it does or why it's needed. Additionally, I must be looking in the wrong part of the

[PyKDE] PyQt4 and Qt 4.2 snapshot

2006-08-31 Thread İsmail Dönmez
Hi, I am getting a weird error with PyQt4 4.0 and Qt 4.2 snapshot: [~/PyQt-x11-gpl-4.0] python configure.py -q /usr/bin/qmake-qt4 Determining the layout of your Qt installation... Checking to see if the QtGui module should be built... An internal error occured. Please report all the output from

Re: [PyKDE] DCOP From Cron

2006-06-20 Thread İsmail Dönmez
Salı 20 Haziran 2006 17:19 tarihinde, Richard Heck şunları yazmıştı: I'm writing a simple application to rotate wallpaper every so often, and I want to run it as a cron job. The basic structure is pretty simple, and it works fine if I run it in a shell under KDE. But when I run it as a cron

Re: [PyKDE] QString in PyQt4 - Request for Comments

2005-10-18 Thread İsmail Dönmez
On Tuesday 18 October 2005 20:24, Phil Thompson wrote: I'm wondering whether QString should be dropped in PyQt4 in order to make it more Pythonic. At the moment Python strings and unicode strings are automatically converted to QStrings when passed as arguments - so there would be no change

Re: [PyKDE] QString in PyQt4 - Request for Comments

2005-10-18 Thread İsmail Dönmez
On Tuesday 18 October 2005 20:45, you wrote: İsmail Dönmez wrote: I very much like QString's api like endsWith instead of endswith. Its small but in the end all those small things matter :) Not to pick a fight or anything, but how is this an advantage? Is it the case that you don't do

Re: [PyKDE] PyKDE KDE 3.5 again

2005-10-17 Thread İsmail Dönmez
On Monday 17 October 2005 02:22, Jim Bublitz wrote: On Sunday 16 October 2005 03:33, İsmail Dönmez wrote: Hi Jim, Looks like your fix mentioned in http://www.mail-archive.com/pykde%40mats.imk.fraunhofer.de/msg05769.html didn't make it to PyKDE-snapshot20051013. Did you just forget

[PyKDE] PyKDE KDE 3.5 again

2005-10-16 Thread İsmail Dönmez
Hi Jim, Looks like your fix mentioned in http://www.mail-archive.com/pykde%40mats.imk.fraunhofer.de/msg05769.html didn't make it to PyKDE-snapshot20051013. Did you just forget or is there any problem with it? Regards, ismail ___ PyKDE mailing list

Re: [PyKDE] Need help on a weird QThread problem

2005-10-05 Thread İsmail Dönmez
FWIW I switched to Python threading module and everything is ok now. On Friday 30 September 2005 17:27, İsmail Dönmez wrote: Hi all, I implemented a QThread based function to run some external command in my application. Its works like this : main widget: command = QThreadClass

[PyKDE] Need help on a weird QThread problem

2005-09-30 Thread İsmail Dönmez
Hi all, I implemented a QThread based function to run some external command in my application. Its works like this : main widget: command = QThreadClass() command.start() in QThreadClass: def run(self): # Run some external command but when the main application exits I get this: Error

[PyKDE] PyKDE KDE 3.5

2005-09-26 Thread İsmail Dönmez
Hi, Whenever I compile PyKDE snapshot against KDE 3.5, I have to apply attached patch. I don't know how to fix this in sip file generation instead so I hope someone else knows :-) P.S: Patch fixes the compile error saying CursorShape is not declared in this scope which comes from fixx11h.h

Re: [PyKDE] PyKDE KDE 3.5

2005-09-26 Thread İsmail Dönmez
On Monday 26 September 2005 10:33, Jim Bublitz wrote: On Sunday 25 September 2005 23:55, İsmail Dönmez wrote: Hi, Whenever I compile PyKDE snapshot against KDE 3.5, I have to apply attached patch. I don't know how to fix this in sip file generation instead so I hope someone else knows

Re: [PyKDE] KPDF KPart

2005-09-21 Thread İsmail Dönmez
Çarşamba 21 Eylül 2005 22:05 tarihinde, Rajeev J Sebastian şunları yazmıştı: On Wednesday 21 September 2005 6:32 pm, Jim Bublitz wrote: On Wednesday 21 September 2005 10:50, David Boddie wrote: It's important to use KParts.MainWindow instead of KMainWindow for your application -

Re: [PyKDE] ANN: SIP v4.3.1 Released

2005-09-10 Thread İsmail Dönmez
Cumartesi 10 Eylül 2005 19:48 tarihinde, Phil Thompson şunları yazmıştı: SIP v4.3.1 has been released and can be found at the usual place. This is just a bug fix release. One fix is to the code generator so you should rebuild PyQt, PyKDE etc. Something is broken with this SIP release :

Re: [PyKDE] Is it possible to fake multiple inheritance with PyQt ?

2005-09-09 Thread İsmail Dönmez
Cuma 09 Eylül 2005 14:11 tarihinde, Eric Jardim şunları yazmıştı: 2005/9/8, İsmail Dönmez [EMAIL PROTECTED]: You are not faking MI, with this. You are actualy doing it. Yeah but its not working as say it does in C++ The difference of C++ MI and Python MI, is that one is statically

Re: [PyKDE] Is it possible to fake multiple inheritance with PyQt ?

2005-09-09 Thread İsmail Dönmez
Cuma 09 Eylül 2005 03:43 tarihinde şunları yazmıştınız: I am pretty sure I saw somewhere in PyQt's wiki a recipe for emiting signals from a non-QObject. Ok found it : http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/361527 Regards, ismail ___

[PyKDE] Is it possible to fake multiple inheritance with PyQt ?

2005-09-08 Thread İsmail Dönmez
Hi all, I need to emit some signals from a class inheriting from QThread so I need to inherit from QObject too but PyQt has no support for multiple inheritance so I tried following code to fake it : === from qt import * class MyQObject(QObject): def

Re: [PyKDE] Is it possible to fake multiple inheritance with PyQt ?

2005-09-08 Thread İsmail Dönmez
Cuma 09 Eylül 2005 00:22 tarihinde, Mustafa Sakalsiz şunları yazmıştı: Hi, You don't always need to make subclasses of QObject to emit signals. You may use another QObject instance to emit signals. An example: http://www.opendocs.org/pyqt/index.lxp?lxpwrap=x1807%2ehtm or you can use

Re: [PyKDE] Is it possible to fake multiple inheritance with PyQt ?

2005-09-08 Thread İsmail Dönmez
Cuma 09 Eylül 2005 01:52 tarihinde, Eric Jardim şunları yazmıştı: 2005/9/8, İsmail Dönmez [EMAIL PROTECTED]: Hi all, I need to emit some signals from a class inheriting from QThread so I need to inherit from QObject too but PyQt has no support for multiple inheritance so I tried

[PyKDE] Simple KHtml program crashing at exit

2005-08-10 Thread İsmail Dönmez
) def languageChange(self): pass But at exit program crashes with a reference to KInstance::config I tried adding KCmdLineArgs to the app thinking that would be the problem but that didn't result in any change. So I wonder if anyone has any idea about this problem ? Regards, ismail