blob: f6d2b8e80ce6f7d1885f2100bb5db51c57e87fd0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef NEWIMAGEGUI_H
#define NEWIMAGEGUI_H
#include <QGroupBox>
#include <QMap>
class QLineEdit;
class QPushButton;
class QLabel;
class TitleLoader;
class NewImageGui : public QGroupBox
{
Q_OBJECT
public:
NewImageGui();
private:
QLineEdit *m_dvdName;
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 validateName(const QString &name);
void browse();
void importImage();
void loadedTitles(QMap<int, QString> titles);
signals:
void newImage(const QString &path, const QString &name, QMap<int, QString> titles);
};
#endif // NEWIMAGEGUI_H
|