very simple but effective up and down arrows
This commit is contained in:
parent
c10e42cc2c
commit
016756df72
3 changed files with 38 additions and 31 deletions
|
@ -61,7 +61,8 @@ public:
|
|||
const QString &backgroundType, const QStringList &text);
|
||||
Q_INVOKABLE void removeItem(int index);
|
||||
Q_INVOKABLE bool move(int sourceIndex, int destIndex);
|
||||
Q_INVOKABLE bool move(int sourceIndex, int destIndex, bool simple);
|
||||
Q_INVOKABLE bool moveDown(int index);
|
||||
Q_INVOKABLE bool moveUp(int index);
|
||||
Q_INVOKABLE QVariantMap getItem(int index) const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue