Commit c4461a83 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Add visible to section



Change-Id: I7d4e3ef3fe843d28336c306afa6de0e3450eb733
Reviewed-by: default avatarTim Jenssen <tim.jenssen@digia.com>
parent a8fef930
...@@ -40,6 +40,7 @@ class ItemLibrarySection: public QObject { ...@@ -40,6 +40,7 @@ class ItemLibrarySection: public QObject {
Q_PROPERTY(QObject* sectionEntries READ sectionEntries NOTIFY sectionEntriesChanged FINAL) Q_PROPERTY(QObject* sectionEntries READ sectionEntries NOTIFY sectionEntriesChanged FINAL)
Q_PROPERTY(QString sectionName READ sectionName FINAL) Q_PROPERTY(QString sectionName READ sectionName FINAL)
Q_PROPERTY(QString visible READ isVisible NOTIFY visibilityChanged FINAL)
Q_PROPERTY(bool sectionExpanded READ sectionExpanded FINAL) Q_PROPERTY(bool sectionExpanded READ sectionExpanded FINAL)
Q_PROPERTY(QVariant sortingRole READ sortingRole FINAL) Q_PROPERTY(QVariant sortingRole READ sortingRole FINAL)
...@@ -60,6 +61,7 @@ public: ...@@ -60,6 +61,7 @@ public:
signals: signals:
void sectionEntriesChanged(); void sectionEntriesChanged();
void visibilityChanged();
private: private:
ItemLibrarySectionModel m_sectionEntries; ItemLibrarySectionModel m_sectionEntries;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment