summaryrefslogtreecommitdiffstats
path: root/newimagegui.h
diff options
context:
space:
mode:
Diffstat (limited to 'newimagegui.h')
-rw-r--r--newimagegui.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/newimagegui.h b/newimagegui.h
index bc43668..f6d2b8e 100644
--- a/newimagegui.h
+++ b/newimagegui.h
@@ -2,8 +2,11 @@
#define NEWIMAGEGUI_H
#include <QGroupBox>
+#include <QMap>
class QLineEdit;
class QPushButton;
+class QLabel;
+class TitleLoader;
class NewImageGui : public QGroupBox
{
@@ -12,15 +15,20 @@ public:
NewImageGui();
private:
QLineEdit *m_dvdName;
- QLineEdit *m_imagePath;
+ QLabel *m_status;
QPushButton *m_importImageButton;
+ QPushButton *m_browseButton;
+ TitleLoader *m_titleLoader;
+ QString m_path;
+ QMap<int, QString> m_titles;
+ void initialState();
private slots:
- void validatePath(const QString &path);
void validateName(const QString &name);
void browse();
void importImage();
+ void loadedTitles(QMap<int, QString> titles);
signals:
- void newImage(const QString &path, const QString &name);
+ void newImage(const QString &path, const QString &name, QMap<int, QString> titles);
};
#endif // NEWIMAGEGUI_H