making future proof refactor of image and video get system
This commit is contained in:
parent
8d07c7355d
commit
f1378cc1ff
8 changed files with 72 additions and 44 deletions
|
@ -31,7 +31,7 @@ public:
|
|||
|
||||
Q_INVOKABLE void newImage(const QUrl &filePath);
|
||||
Q_INVOKABLE void deleteImage(const int &row);
|
||||
Q_INVOKABLE QUrl getImage(const int &row);
|
||||
Q_INVOKABLE QVariantMap getImage(const int &row);
|
||||
|
||||
QVariant data(const QModelIndex &index, int role) const override;
|
||||
QHash<int, QByteArray> roleNames() const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue