{
myList->clear();
mySelection.Clear();
+ emit selectionChanged();
}
void HYDROGUI_ObjListBox::setSelectedObjects( const HYDROData_SequenceOfObjects& theObjects )
void HYDROGUI_ObjListBox::OnInclude()
{
Append( HYDROGUI_Tool::GetSelectedObjects( module() ) );
+ emit selectionChanged();
}
void HYDROGUI_ObjListBox::OnExclude()
QList<QListWidgetItem*> aSelection = myList->selectedItems();
foreach( QListWidgetItem* anItem, aSelection )
delete anItem;
+ emit selectionChanged();
}
void HYDROGUI_ObjListBox::Append( const HYDROData_SequenceOfObjects& theObjects )