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 "ControlTexinfo.h"
17 #include "GViewBase.h"
25 : public GViewCB<ControlTexinfo, GViewGladeB> {
31 virtual void apply() {}
33 virtual void doBuild();
35 virtual void update() {}
39 ControlTexinfo::texFileSuffix activeStyle;
41 Gtk::TreeView * itemsview_;
42 Gtk::ComboBox * typecombo_;
43 Gtk::TreeModelColumn<Glib::ustring> listCol_;
44 Gtk::TreeModelColumn<unsigned int> listColIndex_;
45 Gtk::TreeModel::ColumnRecord listCols_;
46 Glib::RefPtr<Gtk::ListStore> itemsstore_;
47 Glib::RefPtr<Gtk::ListStore> typestore_;
48 Glib::RefPtr<Gtk::TreeSelection> listSel_;
50 Gtk::CheckButton * fullpathcheck_;
52 void onTypeComboChanged();
53 void onItemActivate(Gtk::TreeModel::Path const & path, Gtk::TreeViewColumn * col);
56 typedef std::vector<std::string> ContentsType;
57 std::map<ControlTexinfo::texFileSuffix, ContentsType> texdata_;
60 } // namespace frontend