// -*- C++ -*- /** * \file GuiCharacter.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author Edwin Leuven * \author John Levon * * Full author contact details are available in file CREDITS. */ #ifndef GUICHARACTER_H #define GUICHARACTER_H #include "GuiDialog.h" #include "ControlCharacter.h" #include "ui_CharacterUi.h" #include "frontend_helpers.h" // for LanguagePair #include namespace lyx { namespace frontend { typedef std::pair FamilyPair; typedef std::pair SeriesPair; typedef std::pair ShapePair; typedef std::pair SizePair; typedef std::pair BarPair; typedef std::pair ColorPair; class GuiCharacterDialog : public GuiDialog, public Ui::CharacterUi { Q_OBJECT public: GuiCharacterDialog(LyXView & lv); protected Q_SLOTS: void change_adaptor(); private: void closeEvent(QCloseEvent * e); /// parent controller ControlCharacter & controller(); /// Apply changes void applyView(); /// update void updateContents(); std::vector family; std::vector series; std::vector shape; std::vector size; std::vector bar; std::vector color; std::vector language; }; } // namespace frontend } // namespace lyx #endif // GUICHARACTER_H