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

Qt-interest Archive, October 2007
Variable Size Toolbar


Message 1 in thread

Can I somehow manage to get a toolbar of variable size?
I want to put one widget into this toolbar and painting in it depending on its 
size.

regards

Attachment:

Attachment: pgpNnLzKKxdwf.pgp
Description: PGP signature


Message 2 in thread

On mandag den 8. Oktober 2007, Ronny Brendel wrote:
> Can I somehow manage to get a toolbar of variable size?
> I want to put one widget into this toolbar and painting in it depending on
> its size.

When the widget changes size, you have to call adjustSize() and 
updateGeometry(). This works in toolbars too.

Bo.

-- 
 [ signature omitted ]