qt-interest@trolltech.com
[Top] [All Lists]

Re: delete a widget

Subject: Re: delete a widget
From: "R. van der Landen"
Date: Wed, 23 Mar 2005 21:31:23 +0100
>From the documentation:

void QLayout::removeItem ( QLayoutItem * item )
Removes the layout item item from the layout. It is the caller's 
responsibility to delete the item.

Notice that item can be a layout (since QLayout inherits QLayoutItem).

See also remove() and addItem().


Hope that helps!

"Oral DALAY" <oraldalay@xxxxxxxxx> wrote in message 
news:d1rare$s2c$1@xxxxxxxxxxxxxxxxxxxxx
> Hi
> I posted a question about a scrollview with my signature but my problem 
> actually is not about scrollviews.
>
> The main problem :
>   I created a default scrollview with default image on my QGridLayout up 
> to now no problem occured, the problem is how can I delete this scrollview 
> widget and add a new one on my QGridLayout during runtime?
>
> Thanks.. 

--
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>