[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Designer Customer Widget
From:       David Boddie <david () boddie ! org ! uk>
Date:       2013-05-10 23:27:42
Message-ID: 20130511012742.84c53a2452db3a75f76205a6 () boddie ! org ! uk
[Download RAW message or body]

On Wed, 08 May 2013 15:20:26 -0500, Stephen Funkhouser wrote:

[...]

> Is it possible to get Qt Designer to save custom properties of the 
> inherited QTreeWidgetItems objects?

I guess it's more of a Qt Designer question than a PyQt question but you
would need to find out if a C++ custom widget suffers from the same
problem to be sure.

It's been a long time since I looked at Designer. It may be that it only
only saves certain properties out to .ui files, but there may also be a
problem with how it examines custom properties and how those are registered
using PyQt. The only vague recollection I have, apart from realising that
Qt relies on information that is usually provided by plugins at compile time,
is the thought that custom property types seemed difficult to do with PyQt.
Custom properties themselves should be OK - I think.

It might be a long shot, but have you looked at the PyQt examples to see if
any do something similar to what you are doing?

David
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic