Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, March 2002
Custom Widget Plugins for Qt designer


Message 1 in thread


<<< text/html: EXCLUDED >>>


Message 2 in thread

"Gould, Simon" <GouldS@logica.com> writes:

| On our Qt project we have created a lot of Custom widgets. To help with the
| development process I am trying to make these work as plugins for Qt
| designer. Everything was going fine until I noticed that only integer types
| seem to work with the Q_PROPERTY macro. Anyone have any idea why this isn`t
| working? specifically double properties I am trying to set don`t show in
| the widgets property window in designer.

Hi Simon.
You must be doing something wrong in your code. If you look into
$QTDIR/tools/designer/examples/filechooser, then you can see an example
using both a QString and an enumeration. This example works fine for me.

Cheers
Jesper.

-- 
 [ signature omitted ]