GenericPanel and its subclasses now use the title and icon provided by collections.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1492 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-02-06 22:34:52 +00:00
parent 7661b2f47e
commit 9fb4eb7c2d
5 changed files with 90 additions and 25 deletions

View File

@@ -92,7 +92,7 @@ class ElementsPanel : public GenericPanel {
private:
QTreeWidgetItem *addProject (QETProject *);
QTreeWidgetItem *addCollection(ElementsCollection *, const QString & = QString(), const QIcon & = QIcon());
QTreeWidgetItem *addCollection(ElementsCollection *);
QTreeWidgetItem *updateTemplateItem (QTreeWidgetItem *, const TitleBlockTemplateLocation &, PanelOptions, bool = false);
QTreeWidgetItem *updateElementsCategoryItem(QTreeWidgetItem *, ElementsCategory *, PanelOptions, bool = false);
QTreeWidgetItem *updateElementItem (QTreeWidgetItem *, ElementDefinition *, PanelOptions, bool = false);