summaryrefslogtreecommitdiffstats
path: root/newimagegui.h
blob: bc43668f1edb57e9dbb619ecb6eba4e7da81d8c8 (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
#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