summaryrefslogtreecommitdiffstats
path: root/qt4/scanwidget.h
diff options
context:
space:
mode:
authorclee <[email protected]>2007-03-29 09:31:13 +0000
committerclee <[email protected]>2007-03-29 09:31:13 +0000
commitceb981ea2c7406fac18dee17382976428a12b374 (patch)
treed8f421576aff6d75e0e4e82e2a3833437af2233b /qt4/scanwidget.h
parent42b83d67aac7b196b636f8d3b77be5017676fa3b (diff)
Importing the first (very much not-yet-ready-for-primetime) version of the Qt4 GUI for HandBrake into trunk.
Note: This is NOT fit for release yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@462 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'qt4/scanwidget.h')
-rw-r--r--qt4/scanwidget.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/qt4/scanwidget.h b/qt4/scanwidget.h
new file mode 100644
index 000000000..717c3f221
--- /dev/null
+++ b/qt4/scanwidget.h
@@ -0,0 +1,39 @@
+#ifndef CHOOSEDVD_H
+#define CHOOSEDVD_H
+
+#include <QtGui>
+
+#include "ui_scanwidget.h"
+
+class ClickedField : public QObject
+{
+ Q_OBJECT
+public:
+ ClickedField(QRadioButton *b, QObject *parent = 0);
+protected:
+ bool eventFilter(QObject *, QEvent *);
+ QRadioButton *rb;
+};
+
+class ScanWidget : public QWidget, private Ui::ScanWidget
+{
+ Q_OBJECT
+public:
+ ScanWidget(QWidget *parent = 0);
+ QMap<QString, QString> *volumeList();
+
+signals:
+ void scanDVD(const QString path);
+ void scanningDone();
+
+public slots:
+ void goScan();
+ void updateVolumeList(QString);
+ void setProgress(int value, int maximum);
+ void setFolder();
+
+private:
+ QMap<QString, QString> *devices;
+};
+
+#endif // CHOOSEDRIVE_H