27 lines
682 B
C++
27 lines
682 B
C++
#ifndef QSequentialPropertyHandle_h__
|
|
#define QSequentialPropertyHandle_h__
|
|
|
|
#include "QMetaContainer"
|
|
#include "IPropertyHandleImpl.h"
|
|
|
|
class DIAGRAM_DESIGNER_PUBLIC 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__
|