void GeoTreeView::loadFEMConditions() { TreeItem* item = static_cast<GeoTreeModel*>(model())->getItem( this->selectionModel()->currentIndex()); emit loadFEMCondFileRequested(item->data(0).toString().toStdString()); }
void MshView::loadDIRECTSourceTerms() { QModelIndex const index = this->selectionModel()->currentIndex(); emit loadFEMCondFileRequested(index.data(0).toString().toStdString()); }