mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-09 07:59:59 +02:00
Element query widget : widget restor is state according to the current query
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user