4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "GuiDialogView.h"
17 #include "ControlTexinfo.h"
18 #include "ui_TexinfoUi.h"
21 #include <QCloseEvent>
31 class GuiTexinfoDialog : public QDialog, public Ui::TexinfoUi {
34 GuiTexinfoDialog(GuiTexinfo * form);
36 virtual void update();
38 virtual void change_adaptor();
39 virtual void rescanClicked();
40 virtual void viewClicked();
41 virtual void enableViewPB();
43 virtual void closeEvent(QCloseEvent * e);
51 : public QController<ControlTexinfo, GuiView<GuiTexinfoDialog> > {
54 friend class GuiTexinfoDialog;
59 virtual void apply() {}
60 /// update (do we need this?)
61 virtual void update_contents() {}
63 virtual void build_dialog();
65 void updateStyles(ControlTexinfo::texFileSuffix);
71 ControlTexinfo::texFileSuffix activeStyle;
73 typedef std::vector<std::string> ContentsType;
74 std::map<ControlTexinfo::texFileSuffix, ContentsType> texdata_;
77 } // namespace frontend