forked from goldendict/goldendict
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dictinfo.hh
37 lines (31 loc) · 653 Bytes
/
dictinfo.hh
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
#ifndef DICTINFO_HH
#define DICTINFO_HH
#include <QDialog>
#include "ui_dictinfo.h"
#include "dictionary.hh"
#include "config.hh"
class DictInfo: public QDialog
{
Q_OBJECT
public:
enum Actions
{
REJECTED,
ACCEPTED,
OPEN_FOLDER,
EDIT_DICTIONARY,
SHOW_HEADWORDS
};
DictInfo( Config::Class &cfg_, QWidget * parent = 0 );
void showInfo( sptr< Dictionary::Class > dict );
private:
Ui::DictInfo ui;
Config::Class &cfg;
private slots:
void savePos( int );
void on_editDictionary_clicked();
void on_openFolder_clicked();
void on_OKButton_clicked();
void on_headwordsButton_clicked();
};
#endif // DICTINFO_HH