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