add slider bridge
This commit is contained in:
18
doric-Qt/example/doric/utils/DoricSliderBridge.h
Normal file
18
doric-Qt/example/doric/utils/DoricSliderBridge.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef DORICSLIDERBRIDGE_H
|
||||
#define DORICSLIDERBRIDGE_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QVariant>
|
||||
|
||||
#include "DoricExport.h"
|
||||
|
||||
class DORIC_EXPORT DoricSliderBridge : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DoricSliderBridge(QObject *parent = nullptr);
|
||||
|
||||
Q_INVOKABLE
|
||||
void onPageSlided(QString pointer);
|
||||
};
|
||||
|
||||
#endif // DORICSLIDERBRIDGE_H
|
Reference in New Issue
Block a user