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.
16 #include "GuiDialog.h"
17 #include "ui_TexinfoUi.h"
23 class GuiTexInfo : public GuiDialog, public Ui::TexinfoUi
29 GuiTexInfo(GuiView & lv);
30 /// the file extensions. order matters in GuiTexInfo::fileType()
43 void updateView() override;
47 void change_adaptor();
56 /// Nothing to initialise in this case.
57 bool initialiseParams(std::string const &) override { return true; }
59 void clearParams() override {}
61 void dispatchParams() override {}
63 bool isBufferDependent() const override { return false; }
65 void apply() override {}
68 void updateStyles(TexFileType);
74 TexFileType activeStyle_;
76 /// show contents af a file
77 void viewFile(QString const & filename) const;
78 /// show all classoptions
79 //std::string classOptions(std::string const & filename) const;
81 QStringList texdata_[DummyLastType];
85 } // namespace frontend
88 #endif // GUITEXINFO_H