This commit is contained in:
zhuzichu
2023-08-17 17:14:31 +08:00
parent 26669f76e0
commit 06c9b4e382
5 changed files with 83 additions and 9 deletions

View File

@ -103,14 +103,25 @@ public:
*/
Q_INVOKABLE QString toLocalPath(const QUrl& url);
Q_INVOKABLE QString getFileNameByUrl(const QUrl& url);
/**
* @brief deleteItem 销毁Item对象
* @param p
*/
Q_INVOKABLE void deleteItem(QObject *p);
/**
* @brief getFileNameByUrl
* @param url
* @return
*/
Q_INVOKABLE QString getFileNameByUrl(const QUrl& url);
/**
* @brief getVirtualGeometry
* @return
*/
Q_INVOKABLE QRect getVirtualGeometry();
};