diff options
author | Treeki <treeki@gmail.com> | 2012-09-12 14:57:44 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-12 14:57:44 +0200 |
commit | 3189ca5efc5826405bf2e9c7d9949ad5ea9a8a10 (patch) | |
tree | d10e8cd4e462db28dd3c2f995905c4df57a20fed /lsscenemodel.h | |
parent | be8b56a7f0a8f6ba5456a099b61d032fd8aa2f61 (diff) | |
download | LayoutStudio-3189ca5efc5826405bf2e9c7d9949ad5ea9a8a10.tar.gz LayoutStudio-3189ca5efc5826405bf2e9c7d9949ad5ea9a8a10.zip |
initial un-exporter version
Diffstat (limited to 'lsscenemodel.h')
-rw-r--r-- | lsscenemodel.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/lsscenemodel.h b/lsscenemodel.h deleted file mode 100644 index e089e46..0000000 --- a/lsscenemodel.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef LSSCENEMODEL_H -#define LSSCENEMODEL_H - -#include <QAbstractItemModel> -#include <QIcon> -#include "lyt/layout.h" - -class LSSceneModel : public QAbstractItemModel { - Q_OBJECT -public: - explicit LSSceneModel(LYTLayout *layout, bool exposeVisibility, QObject *parent = 0); - ~LSSceneModel(); - - LYTLayout *layout() const { return m_layout; } - - QModelIndex index(int row, int column, const QModelIndex &parent) const; - QModelIndex parent(const QModelIndex &child) const; - int rowCount(const QModelIndex &parent) const; - int columnCount(const QModelIndex &parent) const; - QVariant data(const QModelIndex &index, int role) const; - bool setData(const QModelIndex &index, const QVariant &value, int role); - - Qt::ItemFlags flags(const QModelIndex &index) const; - Qt::DropActions supportedDropActions() const; - - bool insertRows(int row, int count, const QModelIndex &parent); - bool removeRows(int row, int count, const QModelIndex &parent); - -private: - LYTLayout *m_layout; - - QIcon m_paneIcons[LYTPane::PaneTypeCount]; - - QPersistentModelIndex *m_movingPaneParent; - int m_movingPaneRow, m_movingPaneCount; - - bool m_exposesVisibility; - -signals: - void paneVisibilityChanged(); - -public slots: - -}; - -#endif // LSSCENEMODEL_H |