[PyQt] How do you declare enum / flag based pyqtProperties in PyQT just like Q_ENUMS / Q_FLAGS macroes?

2011-02-22 Thread Yasin Uludag
Hey! I'm developing a propertygrid and I'd like to support flags and enums. Though I couldn't find the information on how to declare pyqtProperties as enums / flags so I can later use *enumerator * () of the QMetaProperty.. (yo

Re: [PyQt] how to mark dates in QCalenderwidget with RED color

2011-02-22 Thread alhad deshpande
Thanx for your help Peter [?] On Tue, Feb 22, 2011 at 12:50 AM, Hans-Peter Jansen wrote: > On Monday 21 February 2011, 19:53:32 ad3d wrote: > > hi guys, > > > > i am trying to use QCalenderWidget in my program & to show public > > holidays i want to mark some dates RED same like saturday &

Re: [PyQt] Problem with sip.h redefining the 'ANY' symbol

2011-02-22 Thread Phil Thompson
On Thu, 17 Feb 2011 12:36:25 -0800, Nate Reid wrote: > In some bindings I'm working with, one of the header files that is > included after sip.h has an enum who one of its values is called 'ANY'. > However, when sip is run, it includes its headers first and then redefines > ANY before the wrapped

Re: [PyQt] Overloading new-style signal

2011-02-22 Thread Phil Thompson
On Sat, 19 Feb 2011 17:56:35 +0100, Knacktus wrote: > Hi guys, > > I don't get overloading of new-style signals to work. I can't spot the > mistake ... my eyes don't see anything anymore ;-). > > Any help is highly appreciated. > > Cheers, > > Jan > > Here's an example: > > > import PyQt4.

[PyQt] [DIP] Dip-builder Error

2011-02-22 Thread Kermit
Hi, i've this error when i try to launch "Create Application Script" " unhandled AttributeError 'TableColumn' object has not attribut '_bind_to' it's in table_column.py, line 60 : if self._bind_to == '': raise:.. Kermit __