]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QCharacter.h
Compile fixes. Qt2 should now build (and fail immediately when you start it,
[lyx.git] / src / frontends / qt2 / QCharacter.h
1 // -*- C++ -*-
2 /**
3  * \file QCharacter.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Edwin Leuven, leuven@fee.uva.nl
8  * \author John Levon <moz@compsoc.man.ac.uk>
9  */
10
11 #ifndef QCHARACTER_H
12 #define QCHARACTER_H
13
14 #include <config.h>
15 #include <vector>
16
17 #include "LString.h"
18 #include "Qt2Base.h"
19 #include "controllers/character.h"
20 #include "controllers/frnt_lang.h"
21
22
23 class ControlCharacter;
24 class QCharacterDialog;
25 class Dialogs;
26
27 class QCharacter :
28         public Qt2CB<ControlCharacter, Qt2DB<QCharacterDialog> >
29 {
30         friend class QCharacterDialog;
31
32 public:
33         QCharacter(ControlCharacter &, Dialogs &);
34
35 private:
36         /// Apply changes
37         virtual void apply();
38         /// update
39         virtual void update_contents();
40         /// build the dialog
41         virtual void build_dialog();
42
43         std::vector<frnt::FamilyPair> family;
44         std::vector<frnt::SeriesPair> series;
45         std::vector<frnt::ShapePair>  shape;
46         std::vector<frnt::SizePair>   size;
47         std::vector<frnt::BarPair>    bar;
48         std::vector<frnt::ColorPair>  color;
49         std::vector<frnt::LanguagePair> language;
50 };
51
52 #endif // QCHARACTER_H