diff options
Diffstat (limited to 'utils/wpseditor/gui/src/qwpseditorwindow.h')
-rw-r--r-- | utils/wpseditor/gui/src/qwpseditorwindow.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/utils/wpseditor/gui/src/qwpseditorwindow.h b/utils/wpseditor/gui/src/qwpseditorwindow.h new file mode 100644 index 0000000000..019eb63808 --- /dev/null +++ b/utils/wpseditor/gui/src/qwpseditorwindow.h | |||
@@ -0,0 +1,45 @@ | |||
1 | #ifndef MAINWINDOWIMPL_H | ||
2 | #define MAINWINDOWIMPL_H | ||
3 | // | ||
4 | #include <QMainWindow> | ||
5 | #include <QActionGroup> | ||
6 | #include <QSignalMapper> | ||
7 | #include "ui_mainwindow.h" | ||
8 | #include "wpsstate.h" | ||
9 | #include "qwpsdrawer.h" | ||
10 | #include "qwpsstate.h" | ||
11 | #include "qtrackstate.h" | ||
12 | // | ||
13 | class QWpsEditorWindow : public QMainWindow, public Ui::MainWindow { | ||
14 | Q_OBJECT | ||
15 | QWpsState wpsState; | ||
16 | QTrackState trackState; | ||
17 | QPointer<QWpsDrawer> drawer; | ||
18 | |||
19 | QHash<int, QAction*> actAudios; | ||
20 | QActionGroup *actGroupAudios; | ||
21 | QSignalMapper *signalMapper; | ||
22 | |||
23 | protected: | ||
24 | void connectActions(); | ||
25 | public: | ||
26 | QWpsEditorWindow( QWidget * parent = 0, Qt::WFlags f = 0 ); | ||
27 | void logMsg(QString s); | ||
28 | private slots: | ||
29 | void slotOpenWps(); | ||
30 | void slotVerboseLevel(); | ||
31 | void slotWpsStateChanged(wpsstate); | ||
32 | void slotTrackStateChanged(trackstate); | ||
33 | |||
34 | void slotUpdatePlainWps(); | ||
35 | void slotPlainDocModChanged(bool m); | ||
36 | |||
37 | signals: | ||
38 | void signalAudioStatusChanged(int); | ||
39 | |||
40 | }; | ||
41 | #endif | ||
42 | |||
43 | |||
44 | |||
45 | |||