summaryrefslogtreecommitdiffstatshomepage
path: root/Introduction.h
blob: af7f01aa039ef169f6ea27e0d29dd8fa2abc9a45 (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
35
#ifndef INTRODUCTION_H
#define INTRODUCTION_H

#include <QDialog>
#include <QLinkedList>
class QLineEdit;
class QDialogButtonBox;
class QGroupBox;
class QAbstractButton;
class CompositionButton;

class Introduction : public QDialog
{
	Q_OBJECT
public:
	Introduction(QWidget *parent = 0);
	~Introduction();
	QString title() const;

private:
	QString defaultName() const;
	QLinkedList<CompositionButton*> m_compositionButtons;
	QLineEdit *m_title;
	QPushButton *m_edit;
	QDialogButtonBox *m_editApply;
	QGroupBox *m_existingCompositionBox;

private slots:
	void edit();
	void applyDiscard(QAbstractButton *button);
	void loadExisting();
	void about();
};

#endif // INTRODUCTION_H