Enable/disable layer move buttons according to selection

This commit is contained in:
Dan Paulat 2023-10-15 22:23:39 -05:00
parent ec2663aee6
commit b45ec9dfa5
3 changed files with 77 additions and 1 deletions

View file

@ -43,6 +43,8 @@ public:
Qt::ItemFlags flags(const QModelIndex& index) const override;
Qt::DropActions supportedDropActions() const override;
bool IsMovable(int row) const;
QVariant data(const QModelIndex& index,
int role = Qt::DisplayRole) const override;
QVariant headerData(int section,