When add a new project, load only items of project, instead of reload every items owned by the model

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4616 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-08-10 05:23:48 +00:00
parent bb944ea54d
commit 72b613f348
2 changed files with 29 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ class ElementsCollectionModel : public QStandardItemModel
QList <ElementCollectionItem *> items() const;
QList <ElementCollectionItem *> projectItems(QETProject *project) const;
void hideElement();
bool isHideElement() {return m_hide_element;}
QModelIndex indexFromLocation(const ElementsLocation &location);