blob: 81af9dadccd394160a040f12aaeb006ecf91a868 (
plain)
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
|
#ifndef NEWDIALOG_H
#define NEWDIALOG_H
#include <QDialog>
#include <QAbstractButton>
namespace Ui {
class MetadataDialog;
}
class MetadataDialog : public QDialog
{
Q_OBJECT
public:
explicit MetadataDialog(QWidget *parent = 0);
~MetadataDialog();
bool isValid() const;
void setMetadata(const QString& title, const QString& author);
QString title() const;
QString author() const;
private slots:
void on_titleEdit_textChanged();
void on_authorEdit_textChanged();
private:
Ui::MetadataDialog *_ui;
};
#endif // NEWDIALOG_H
|