|
|
It would be pretty useful to have easy z-ordering like the flash API.
I guess if the widget children are stored as a list, Qwidget could have
operations to reorder it's children.
Cheers,
Ben
-----Original Message-----
From: Ian Reinhart Geiser [mailto:geiseri@xxxxxxxxxxxxxxxx]
Sent: Saturday, December 17, 2005 1:50 AM
To: qt-interest@xxxxxxxxxxxxx
Subject: Re: Z order management of QWidgets
On Friday 16 December 2005 06:10 pm, Chris Thompson wrote:
> On Friday 16 December 2005 16:05, Ian Reinhart Geiser wrote:
> > Greetings
> > In my quest to abuse and otherwise break every possible part of
Qt
> > I can I have a situation where I need to manage the Z order of a few
QWidgets.
> > So far the best I can find is to play with raise, lower and stack
under.
> > Does any one have any strategies to do this a bit better?
>
> Have you looked at QWidgetStack? This could be what you mean by
> 'stack under'.
I tried that, but it seems that the QWidget stack will actually hide the
widget vs put it under the top one. Basicly I have a situation where
the user can move a set of widgets around like QCanvas did. Now with
QWidget's having transparency, I thought maybe using those would be less
of a nightmare than the QCanvas API.
Cheers
-ian reinhart geiser
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|