mirror of
https://github.com/jaredtao/TaoQuick.git
synced 2025-02-06 21:48:24 +08:00
21 lines
349 B
C++
21 lines
349 B
C++
#pragma once
|
|
|
|
#include <QQuickView>
|
|
|
|
class TaoView : public QQuickView
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit TaoView(QWindow *parent = nullptr);
|
|
~TaoView();
|
|
|
|
Q_INVOKABLE void initAppInfo();
|
|
|
|
void moveToScreenCenter();
|
|
protected:
|
|
#if WIN32
|
|
bool nativeEvent(const QByteArray &eventType, void *message, long *result) override;
|
|
#endif
|
|
};
|
|
|