XX CMake Package
Loading...
Searching...
No Matches
XXQmlView.h
Go to the documentation of this file.
1#ifndef XXQmlViewH
2#define XXQmlViewH
3
4#include "XXQuickExportDef.h"
5#include <QQuickView>
6
7namespace XX
8{
10
14
15 class XXQUICK_DECLSPEC QmlView : public QQuickView
16 {
17 Q_OBJECT
18
19 public:
20 QmlView(QWindow* parent = nullptr);
21
22 public:
23 void setQuickProperty(const QString& name, QObject* object);
24 void setQuickProperty(const QString& name, const QVariant& value);
25
26 private:
27 void tabletEvent(QTabletEvent* tabletEvent) override;
28 bool wantsTabletEvents(const QQuickItem* item);
29 };
30} // namespace XX
31
32#endif // NOT XXQmlViewH
#define XXQUICK_DECLSPEC
Definition XXQuickExportDef.h:11
void setQuickProperty(const QString &name, QObject *object)
void setQuickProperty(const QString &name, const QVariant &value)
QmlView(QWindow *parent=nullptr)
Definition XXPopulatedAbstract.h:11