]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiCharacter.h
b9e7eedc021dd4ce204ccdf22b4b89d0844b48ac
[lyx.git] / src / frontends / qt4 / GuiCharacter.h
1 // -*- C++ -*-
2 /**
3  * \file GuiCharacter.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  * \author John Levon
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef GUICHARACTER_H
14 #define GUICHARACTER_H
15
16 #include "GuiDialog.h"
17 #include "ControlCharacter.h"
18 #include "ui_CharacterUi.h"
19
20 #include <vector>
21
22 namespace lyx {
23 namespace frontend {
24
25 class GuiCharacterDialog : public GuiDialog, public Ui::CharacterUi
26 {
27         Q_OBJECT
28
29 public:
30         GuiCharacterDialog(LyXView & lv);
31
32 protected Q_SLOTS:
33         void change_adaptor();
34
35 private:
36         void closeEvent(QCloseEvent * e);
37         /// parent controller
38         ControlCharacter & controller();
39         /// Apply changes
40         void applyView();
41         /// update
42         void updateContents();
43
44         std::vector<FamilyPair> family;
45         std::vector<SeriesPair> series;
46         std::vector<ShapePair>  shape;
47         std::vector<SizePair>   size;
48         std::vector<BarPair>    bar;
49         std::vector<ColorPair>  color;
50         std::vector<LanguagePair> language;
51 };
52
53 } // namespace frontend
54 } // namespace lyx
55
56 #endif // GUICHARACTER_H