summaryrefslogtreecommitdiffstats
path: root/newimagegui.h
diff options
Diffstat (limited to 'newimagegui.h')
-rw-r--r--newimagegui.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/newimagegui.h b/newimagegui.h
new file mode 100644
index 0000000..bc43668
--- /dev/null
+++ b/newimagegui.h
@@ -0,0 +1,26 @@
+#ifndef NEWIMAGEGUI_H
+#define NEWIMAGEGUI_H
+
+#include <QGroupBox>
+class QLineEdit;
+class QPushButton;
+
+class NewImageGui : public QGroupBox
+{
+ Q_OBJECT
+public:
+ NewImageGui();
+private:
+ QLineEdit *m_dvdName;
+ QLineEdit *m_imagePath;
+ QPushButton *m_importImageButton;
+private slots:
+ void validatePath(const QString &path);
+ void validateName(const QString &name);
+ void browse();
+ void importImage();
+signals:
+ void newImage(const QString &path, const QString &name);
+};
+
+#endif // NEWIMAGEGUI_H