very simple but effective up and down arrows

This commit is contained in:
Chris Cochrun 2022-09-19 15:13:36 -05:00
parent c10e42cc2c
commit 016756df72
3 changed files with 38 additions and 31 deletions

View file

@ -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: