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 "QDialogView.h"
17 #include "ControlTexinfo.h"
18 #include "ui/TexinfoUi.h"
21 #include <QCloseEvent>
31 class QTexinfoDialog : public QDialog, public Ui::QTexinfoUi {
34 QTexinfoDialog(QTexinfo * 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, QView<QTexinfoDialog> > {
54 friend class QTexinfoDialog;
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