int diagramwindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QMainWindow::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: on_selectButton_clicked(); break; case 1: on_associationButton_clicked(); break; case 2: on_generalizationButton_clicked(); break; case 3: on_compositionButton_clicked(); break; case 4: on_classButton_clicked(); break; case 5: on_usecaseButton_clicked(); break; case 6: on_GUButton_clicked(); break; case 7: on_actionGroup_triggered(); break; case 8: on_actionUngruop_triggered(); break; case 9: on_actionEdit_Name_triggered(); break; default: ; } _id -= 10; } return _id; }
void FragmentTable::itemDoubleClicked(QTreeWidgetItem* item, int) { m_fileName = item->data(0, s_fileRole).toString(); on_selectButton_clicked(true); }