]> git.lyx.org Git - features.git/blob - src/frontends/qt2/QCharacter.h
Replace LString.h with support/std_string.h,
[features.git] / src / frontends / qt2 / QCharacter.h
1 // -*- C++ -*-
2 /**
3  * \file QCharacter.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 QCHARACTER_H
14 #define QCHARACTER_H
15
16
17 #include "QDialogView.h"
18 #include "controllers/character.h"
19 #include "controllers/frnt_lang.h"
20
21 #include "support/std_string.h"
22
23 #include <vector>
24
25
26 class ControlCharacter;
27 class QCharacterDialog;
28
29
30 class QCharacter
31         : public QController<ControlCharacter, QView<QCharacterDialog> >
32 {
33 public:
34         friend class QCharacterDialog;
35
36         QCharacter(Dialog &);
37 private:
38         /// Apply changes
39         virtual void apply();
40         /// update
41         virtual void update_contents();
42         /// build the dialog
43         virtual void build_dialog();
44
45         std::vector<frnt::FamilyPair> family;
46         std::vector<frnt::SeriesPair> series;
47         std::vector<frnt::ShapePair>  shape;
48         std::vector<frnt::SizePair>   size;
49         std::vector<frnt::BarPair>    bar;
50         std::vector<frnt::ColorPair>  color;
51         std::vector<frnt::LanguagePair> language;
52 };
53
54 #endif // QCHARACTER_H