mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 10:30:53 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user