mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
New element panel : add a "show only this dir" Qaction.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4355 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -69,6 +69,7 @@ class ElementCollectionItem : public QObject
|
||||
QList<ElementCollectionItem *> elementsChild() const;
|
||||
QList<ElementCollectionItem *> directoriesChild() const;
|
||||
int indexOfChild(ElementCollectionItem *child) const;
|
||||
void setBackgroundColor(Qt::GlobalColor color, bool show);
|
||||
|
||||
|
||||
virtual bool canRemoveContent();
|
||||
@@ -84,6 +85,8 @@ class ElementCollectionItem : public QObject
|
||||
ElementCollectionItem *m_parent_item;
|
||||
QList <ElementCollectionItem *> m_child_items;
|
||||
QString m_name;
|
||||
Qt::GlobalColor m_bg_color;
|
||||
bool m_show_bg_color = false;
|
||||
};
|
||||
|
||||
#endif // ELEMENTCOLLECTIONITEM_H
|
||||
|
||||
Reference in New Issue
Block a user