xmlElementCollection : collection can add new item.

elementsCollectionModel : Up to date the content when a new item is added to the embedded collection of a project.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4312 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-01-08 17:01:51 +00:00
parent fc8b4b974d
commit 7fdcb0060c
12 changed files with 438 additions and 25 deletions

View File

@@ -53,6 +53,12 @@ class XmlProjectElementCollectionItem : public ElementCollectionItem
virtual bool isElement() const;
QString collectionPath() const;
QString embeddedPath() const;
virtual QString collectionName() const;
XmlProjectElementCollectionItem *lastItemForPath(const QString &path, QString &next_item);
int rowForInsertItem(const QString &collection_name);
void insertNewItem(const QString &collection_name);
private:
void populate();