4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS.
13 #ifndef QCHARACTER_H_CONTROLLER
14 #define QCHARACTER_H_CONTROLLER
16 #include "QDialogView.h"
17 #include "ui_CharacterUi.h"
20 #include "controllers/frontend_helpers.h"
32 class QCharacterDialog : public QDialog, public Ui::QCharacterUi {
35 QCharacterDialog(QCharacter * form);
37 void closeEvent(QCloseEvent * e);
41 void change_adaptor();
45 class ControlCharacter;
48 : public QController<ControlCharacter, QView<QCharacterDialog> >
51 friend class QCharacterDialog;
58 virtual void update_contents();
60 virtual void build_dialog();
62 std::vector<FamilyPair> family;
63 std::vector<SeriesPair> series;
64 std::vector<ShapePair> shape;
65 std::vector<SizePair> size;
66 std::vector<BarPair> bar;
67 std::vector<ColorPair> color;
68 std::vector<LanguagePair> language;
71 } // namespace frontend
74 #endif // QCHARACTER_H