diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2009-09-26 02:56:22 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2009-09-26 02:56:22 -0400 |
commit | 2a36c859bb5052f47b0122a2e78378a46b9031c5 (patch) | |
tree | 62d09c38f3592947ba747bb58248fa16e8f55b11 /mainwindow.h | |
parent | Layout magic (diff) | |
download | AnyRip-2a36c859bb5052f47b0122a2e78378a46b9031c5.tar.xz AnyRip-2a36c859bb5052f47b0122a2e78378a46b9031c5.zip |
Gui beginnings.
Diffstat (limited to 'mainwindow.h')
-rw-r--r-- | mainwindow.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h new file mode 100644 index 0000000..cc78ddd --- /dev/null +++ b/mainwindow.h @@ -0,0 +1,31 @@ +#ifndef MAINWINDOW_H +#define MAINWINDOW_H + +#include <QWidget> +#include "dvddrive.h" +class QVBoxLayout; +class QPushButton; +class Video; +class VideoQueue; +class Job; + +class MainWindow : public QWidget +{ + Q_OBJECT +public: + MainWindow(); +private: + QVBoxLayout *m_videoGuis; + QVBoxLayout *m_jobGuis; + QPushButton *m_currentlyInserted; + VideoQueue *m_queue; + void addVideo(Video *video); +private slots: + void dvdAdded(); + void dvdRemoved(); + void newVideoFromDVD(); + void runningJob(Job *job); + void completedJob(bool success); +}; + +#endif // MAINWINDOW_H |