Re: [PyQt] connectSlotsByName and signals emitted by dialogs?

2008-08-08 Thread Matti Airas
On to, 2008-08-07 at 16:50 +0100, Phil Thompson wrote: connectSlotsByName() (according to the documentation) connects the children of its argument, and not the argument (ie. the dialog) itself. It does sound like a limitation, but unless there is a bug in the documentation, it is the

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

2008-08-08 Thread Mark Summerfield
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 import *. However, I'm not sure the clash is intended, so I'm reporting

Re: [PyQt] simple newb question

2008-08-08 Thread Phil Thompson
On Thu, 07 Aug 2008 21:04:14 -0400, Neal Becker [EMAIL PROTECTED] wrote: import sys from PyQt4.QtCore import * from PyQt4.QtGui import * app = QApplication (sys.argv) ret = QMessageBox.question (None, My App, You have mail) print ret Why doesn't this display any icon? The docs say that

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

2008-08-08 Thread Phil Thompson
On Fri, 8 Aug 2008 08:02:55 +0100, 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

[PyQt] Some PyQt tutorial screencasts

2008-08-08 Thread Kushal Das
Hi all, I am trying to create some PyQt tutorials for newbies. You can find them here[1], download links are coming soon. Comments are welcome :) [1] http://tv.dgplug.org/devel-inside.html Kushal -- Fedora Ambassador, India http://kushaldas.in http://dgplug.org (Linux User Group of Durgapur)

[PyQt] newbie questions...

2008-08-08 Thread Chris Withers
Hey All, Apologies for the newbie questions, I'm still trying to decide what gui toolkit I want to use and so would like to give Qt4 a go. Everything I do is in python, so that leads me to PyQt4 ;-) I'm currently doing entirely open soruce development on Windows. However, I wouldn't like to

Re: [PyQt] newbie questions...

2008-08-08 Thread Phil Thompson
On Fri, 08 Aug 2008 10:16:53 +0100, Chris Withers [EMAIL PROTECTED] wrote: Hey All, Apologies for the newbie questions, I'm still trying to decide what gui toolkit I want to use and so would like to give Qt4 a go. Everything I do is in python, so that leads me to PyQt4 ;-) I'm currently

Re: [PyQt] newbie questions...

2008-08-08 Thread Andreas Pakulat
On 08.08.08 10:16:53, Chris Withers wrote: Hey All, Apologies for the newbie questions, I'm still trying to decide what gui toolkit I want to use and so would like to give Qt4 a go. Everything I do is in python, so that leads me to PyQt4 ;-) I'm currently doing entirely open soruce

[PyQt] Re: simple newb question

2008-08-08 Thread Neal Becker
Phil Thompson wrote: On Thu, 07 Aug 2008 21:04:14 -0400, Neal Becker [EMAIL PROTECTED] wrote: import sys from PyQt4.QtCore import * from PyQt4.QtGui import * app = QApplication (sys.argv) ret = QMessageBox.question (None, My App, You have mail) print ret Why doesn't this display any

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] PyQt shadowing virtual slots?

2008-08-08 Thread Arve Knudsen
I encountered a strange problem when wrapping a custom QDialog subclass. This subclass implements accept and connects it to QDialogButtonBox::accepted, but this would not get invoked and I could not for the life of me understand why. Eventually I discovered that the reason was that I did not

Re: [PyQt] PyQt shadowing virtual slots?

2008-08-08 Thread Phil Thompson
On Fri, 8 Aug 2008 16:25:06 +0200, Arve Knudsen [EMAIL PROTECTED] wrote: I encountered a strange problem when wrapping a custom QDialog subclass. This subclass implements accept and connects it to QDialogButtonBox::accepted, but this would not get invoked and I could not for the life of me

Re: [PyQt] using a Macro to define %MappedType

2008-08-08 Thread Phil Thompson
On Fri, 08 Aug 2008 17:36:04 +0100, Damien Fagnou [EMAIL PROTECTED] wrote: Hi , we have hierachy of object binded with boost that need to be able to be passed to a qt class bound with sip class myWidget : public QGLWidget { void setMyObject( boost::shared_ptrMyClassA A );

[PyQt] Installation problem on OSX

2008-08-08 Thread Pim Schellart
Hello everyone, I am new to the list so please correct me if I ask my question in the wrong way. Recently I installed the latest version of Qt (4.4.1) and the latest version of PqQt4 (4.4.2). My python installation is from the scisoft package (ESO software bundle) version 2.5.1. Installation of

[PyQt] ANN: new snapshot of the Django plugin released

2008-08-08 Thread Detlev Offenbach
Hi, this is to inform you about the immediate availability of a new snapshot of the enhanced Django plugins. This snapshots adds support for these Django actions from within eric4. -- show difference of settings (diffsettings) -- cleanup the database (cleanup) -- validate all models

[PyQt] Strange bug in PyQt

2008-08-08 Thread Roberto Alsina
I don't know how to explain it, si I have to use pictures. Here's how my app looks when things go bad: http://flickr.com/photos/ralsina/2744179213/ Here's the good: http://flickr.com/photos/ralsina/2744178603/ What's the difference in the code? This: In the good version, I create the star

Re: [PyQt] Strange bug in PyQt

2008-08-08 Thread Andreas Pakulat
On 08.08.08 16:36:35, Roberto Alsina wrote: I don't know how to explain it, si I have to use pictures. Are you talking about the cut-off menu items? Or what? Which parts of the pictures should we look into/ In the good version, I create the star icon for each item:

Re: [PyQt] Problems with Sonnet Highlighter

2008-08-08 Thread Simon Edwards
Hi, Albert Cervera i Areny wrote: I wanted to give Sonnet Highlighter a try and I find that it simply doesn't work for me (debian unstable packages), it gives: Traceback (most recent call last): File test-sonnet.py, line 10, in module Sonnet.Highlighter( edit ) TypeError: argument 1 of

Re: [PyQt] Strange bug in PyQt

2008-08-08 Thread Roberto Alsina
On Friday 08 August 2008 18:43:12 Andreas Pakulat wrote: On 08.08.08 16:36:35, Roberto Alsina wrote: I don't know how to explain it, si I have to use pictures. Are you talking about the cut-off menu items? Or what? Which parts of the pictures should we look into/ Cutoff menu items, varying

[PyQt] ANN: PyQt v4.4.3 and SIP v4.7.7 Released

2008-08-08 Thread Phil Thompson
PyQt v4.4.3 and SIP v4.7.7 have been released and are available from the usual places. These are mainly bug-fix releases - see the NEWS files for the details, or the Changelogs for the detailed details. The Windows GPL installer has also been updated. Phil