20 #ifndef QMLAPPLICATION_H 21 #define QMLAPPLICATION_H 33 class QmlApplication :
public QObject
36 Q_PROPERTY(Qt::WindowModality dialogModality READ dialogModality);
37 Q_PROPERTY(QPoint mousePos READ mousePos);
38 Q_PROPERTY(QColor toolTipBaseColor READ toolTipBaseColor NOTIFY paletteChanged)
39 Q_PROPERTY(QColor toolTipTextColor READ toolTipTextColor NOTIFY paletteChanged)
40 Q_PROPERTY(QString OS READ OS CONSTANT)
41 Q_PROPERTY(QRect mainWinRect READ mainWinRect);
42 Q_PROPERTY(
bool hasFiltersOnClipboard READ hasFiltersOnClipboard NOTIFY filtersCopied)
46 static QmlApplication& singleton();
47 static Qt::WindowModality dialogModality();
48 static QPoint mousePos();
49 static QColor toolTipBaseColor();
50 static QColor toolTipTextColor();
52 static QRect mainWinRect();
53 static bool hasFiltersOnClipboard();
54 Q_INVOKABLE
static void copyFilters();
55 Q_INVOKABLE
static void pasteFilters();
58 void paletteChanged();
60 void filtersPasted(Mlt::Producer*);
63 explicit QmlApplication();
64 QmlApplication(QmlApplication
const&);
65 void operator=(QmlApplication
const&);
68 #endif // QMLAPPLICATION_H Definition: encodedock.h:35