#ifndef HYDROGUI_ZLEVELSMODEL_H
#define HYDROGUI_ZLEVELSMODEL_H
+#include <HYDROGUI.h>
#include <HYDROData_Entity.h>
-
#include <QAbstractListModel>
#include <QPixmap>
* \class HYDROGUI_ZLevelsModel
* \brief The class representing custom list model for the Z levels
*/
-class HYDROGUI_ZLevelsModel : public QAbstractListModel
+class HYDRO_EXPORT HYDROGUI_ZLevelsModel : public QAbstractListModel
{
Q_OBJECT
protected:
bool isObjectVisible( int theIndex ) const;
+ bool isDragAndDropAllowed( const QList<int>& theItems, const int theDropItem ) const;
private:
+ friend class test_HYDROGUI_ZLevelsModel;
+
Object2VisibleList myObjects;
QPixmap myEmpty, myEye;
};