summaryrefslogtreecommitdiffstats
path: root/qt4/scanwidget.h
diff options
context:
space:
mode:
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