forked from z1dev/zkanji
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dictionaryexportform.h
45 lines (35 loc) · 1 KB
/
dictionaryexportform.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
/*
** Copyright 2007-2013, 2017-2018 Sólyom Zoltán
** This file is part of zkanji, a free software released under the terms of the
** GNU General Public License version 3. See the file LICENSE for details.
**/
#ifndef DICTIONARYEXPORTFORM_H
#define DICTIONARYEXPORTFORM_H
#include "dialogwindow.h"
namespace Ui {
class DictionaryExportForm;
}
class Dictionary;
class CheckedGroupTreeModel;
class QPushButton;
class DictionaryExportForm : public DialogWindow
{
Q_OBJECT
public:
DictionaryExportForm(QWidget *parent = nullptr);
virtual ~DictionaryExportForm();
bool exec(Dictionary *dict);
public slots:
void exportClicked();
void modelDataChanged();
void on_dictCBox_currentIndexChanged(int ix);
void on_groupBox_toggled(bool on);
private:
void translateTexts();
Ui::DictionaryExportForm *ui;
QPushButton *exportbutton;
CheckedGroupTreeModel *kanjimodel;
CheckedGroupTreeModel *wordsmodel;
typedef DialogWindow base;
};
#endif // DICTIONARYEXPORTFORM_H