-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPrefDialog.h
executable file
·48 lines (39 loc) · 912 Bytes
/
PrefDialog.h
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
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef __PREFDIALOG_H__
#define __PREFDIALOG_H__
#include <QDateEdit>
#include <QDialog>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QVBoxLayout>
#include <QSignalMapper>
#include <QTextStream>
class PrefDialog : public QDialog
{
Q_OBJECT
public:
PrefDialog(QWidget * parent = 0, QString extra_text="");
public slots:
void open_search(QString who);
void ok_clicked();
protected:
QLabel * _title;
QLineEdit * _title_edit;
QLabel * _author;
QLineEdit * _author_edit;
QLabel * _date;
QDateEdit * _date_edit;
QLabel * _viewer;
QLineEdit * _viewer_edit;
QLabel * _converter;
QLineEdit * _converter_edit;
QSignalMapper * _mapper;
QPushButton * _search_viewer;
QPushButton * _search_converter;
QPushButton * _open;
QPushButton * _ok;
QPushButton * _cancel;
QVBoxLayout * _topdown;
QTextStream _stdout;
};
#endif // __PREFDIALOG_H__