extend QSELECT / QSEL to work with QML items; revision of property dialog; small revisions;

This commit is contained in:
polos 2017-02-16 17:24:08 +01:00
parent 2b777c6e8c
commit 2f67ce73b4
23 changed files with 139 additions and 74 deletions

View file

@ -3,6 +3,7 @@
#include <QtQml>
#include <QQuickPaintedItem>
#include <eql_fun.h>
#ifdef Q_OS_WIN
#define LIB_EXPORT __declspec(dllexport)
@ -48,7 +49,10 @@ class PaintedItem : public QQuickPaintedItem {
public:
PaintedItem(QQuickItem* parent = 0) : QQuickPaintedItem(parent) {}
void paint(QPainter*);
void paint(QPainter* painter) {
eql_fun("qml:paint",
Q_ARG(QQuickPaintedItem*, this),
Q_ARG(QPainter*, painter)); }
};
QT_END_NAMESPACE