#ifndef QSequentialPropertyHandle_h__
#define QSequentialPropertyHandle_h__

#include "QMetaContainer"
#include "IPropertyHandleImpl.h"

class QDETAILS_VIEW_API QPropertyHandleImpl_Sequential: public IPropertyHandleImpl
{
public:
	QPropertyHandleImpl_Sequential(QPropertyHandle* inHandle);

	const QMetaSequence& metaSequence() const;
	int itemCount();
	void appendItem(QVariant InVar);
	void moveItem(int InSrcIndex, int InDstIndex);
	void removeItem(int InIndex);

protected:
	QQuickItem* createValueEditor(QQuickItem* inParent)override;
	Type type() override { return Type::Sequential; };

private:
	QMetaSequence mMetaSequence;
};

#endif // QSequentialPropertyHandle_h__
