C++ (Qt)tw->model()->blockSignals( true );tw->blockSignals( true );tw->clear();tw->blockSignals( false );tw->model()->blockSignals( false );