Element query widget : widget restor is state according to the current query

This commit is contained in:
Claveau Joshua
2020-04-29 11:48:45 +02:00
parent bc1f10aa80
commit 9bb58fedea
5 changed files with 200 additions and 18 deletions

View File

@@ -187,6 +187,14 @@ void NomenclatureModel::query(const QString &query)
if (rm_) { emit endResetModel();}
}
/**
* @brief NomenclatureModel::queryString
* @return the current query used by this model
*/
QString NomenclatureModel::queryString() const {
return m_query;
}
QETProject *NomenclatureModel::project() const {
return m_project.data();
}