18 #ifndef QMLAPPLICATION_H 19 #define QMLAPPLICATION_H 31 class QmlApplication :
public QObject
34 Q_PROPERTY(Qt::WindowModality dialogModality READ dialogModality);
35 Q_PROPERTY(QPoint mousePos READ mousePos);
36 Q_PROPERTY(QColor toolTipBaseColor READ toolTipBaseColor NOTIFY paletteChanged)
37 Q_PROPERTY(QColor toolTipTextColor READ toolTipTextColor NOTIFY paletteChanged)
38 Q_PROPERTY(QString OS READ OS CONSTANT)
39 Q_PROPERTY(QRect mainWinRect READ mainWinRect);
40 Q_PROPERTY(
bool hasFiltersOnClipboard READ hasFiltersOnClipboard NOTIFY filtersCopied)
44 static QmlApplication& singleton();
45 static Qt::WindowModality dialogModality();
46 static QPoint mousePos();
47 static QColor toolTipBaseColor();
48 static QColor toolTipTextColor();
50 static QRect mainWinRect();
51 static bool hasFiltersOnClipboard();
52 Q_INVOKABLE
static void copyFilters();
53 Q_INVOKABLE
static void pasteFilters();
54 Q_INVOKABLE
static QString timecode(
int frames);
55 Q_INVOKABLE
static int audioChannels();
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