Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

remove item from layout

QLayoutItem* item;
while ( ( item = layout->takeAt( 0 ) ) != NULL )
{
    delete item->widget();
    delete item;
}
delete m_view->layout();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #item #layout
ADD COMMENT
Topic
Name
1+5 =