mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-03 16:45:24 +08:00
Qt5.15.2 compatible
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
|
||||
#include <QObject>
|
||||
#include <QFile>
|
||||
#include <QColor>
|
||||
#include <QtQml/qqml.h>
|
||||
|
||||
/**
|
||||
@ -135,6 +136,13 @@ public:
|
||||
*/
|
||||
Q_INVOKABLE QUrl getUrlByFilePath(const QString& path);
|
||||
|
||||
/**
|
||||
* @brief colorAlpha
|
||||
* @param color
|
||||
* @param alpha
|
||||
* @return
|
||||
*/
|
||||
Q_INVOKABLE QColor colorAlpha(const QColor&,qreal alpha);
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user