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"
18 #include "qt_helpers.h"
24 class GuiTexInfo : public GuiDialog, public Ui::TexinfoUi
30 GuiTexInfo(GuiView & lv);
31 /// the file extensions. order matters in GuiTexInfo::fileType()
32 enum TexFileType { ClsType = 0, StyType, BstType, DummyLastType };
40 void change_adaptor();
49 /// Nothing to initialise in this case.
50 bool initialiseParams(std::string const &) { return true; }
54 void dispatchParams() {}
56 bool isBufferDependent() const { return false; }
61 void updateStyles(TexFileType);
67 TexFileType activeStyle_;
69 /// show contents af a file
70 void viewFile(QString const & filename) const;
71 /// show all classoptions
72 //std::string classOptions(std::string const & filename) const;
74 QStringList texdata_[DummyLastType];
78 } // namespace frontend
81 #endif // GUITEXINFO_H