Skip to content
Snippets Groups Projects
Commit 070c1554 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

.

parent 4c3cc7aa
No related branches found
No related tags found
1 merge request!2359Use same tree view with delegate for datafiles, samples, and instruments. Also move some code between GUI/View directories. Restore Py wrappers lost in previous MR.
...@@ -37,7 +37,6 @@ public: ...@@ -37,7 +37,6 @@ public:
int rowCount(const QModelIndex& parent = {}) const override; int rowCount(const QModelIndex& parent = {}) const override;
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;
Qt::ItemFlags flags(const QModelIndex& index) const override; Qt::ItemFlags flags(const QModelIndex& index) const override;
DatafileItem* itemForIndex(const QModelIndex& index) const; DatafileItem* itemForIndex(const QModelIndex& index) const;
QModelIndex indexForItem(const DatafileItem* item) const; QModelIndex indexForItem(const DatafileItem* item) const;
const DatafileItem* topMostItem() const; //!< The topmost visible item. Can be null. const DatafileItem* topMostItem() const; //!< The topmost visible item. Can be null.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment