blob: 3cfdf99cd1548663d22138fbc99fa9c5b33738d2 (
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
33
34
35
36
37
|
#ifndef FIELDSPAGE_H
#define FIELDSPAGE_H
#include <QListView>
#include "DictionaryOptionsDialog.h"
#include "FieldsView.h"
class Dictionary;
class QGroupBox;
class QVBoxLayout;
class FieldsPage : public QWidget
{
Q_OBJECT
public:
FieldsPage( DictionaryOptionsDialog* aParent );
private slots:
void moveItemsUpDown();
void addRow();
void removeRows();
void editField();
private:
void createFieldsList();
void createFieldsPreview();
private:
DictionaryOptionsDialog* m_parent;
QVBoxLayout* m_fieldsLt;
QGroupBox* m_previewGroup;
FieldsView* m_fieldsListView;
QListView* m_fieldsPreview;
};
#endif
|