removeEntry
void VCGantt::removeEntry() { QModelIndexList selectedIndexes = ganttViewCommon->selectionModel()->selectedIndexes(); QModelIndex index = selectedIndexes.value(0); if (!index.isValid()) return; qDebug() << "remove:" << index.row(); ganttModel->removeRow(index.row(), index.parent()); }
QQ 3087438119