4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Andreas Klostermann
10 * Full author contact details are available in file CREDITS.
16 #include "GViewBase.h"
23 /** This class provides a GTK+ implementation of the Note Dialog.
25 class GRef : public GViewCB<ControlRef, GViewGladeB> {
27 GRef(Dialog & parent);
30 virtual void doBuild();
31 virtual void update();
32 virtual void update_labels();
34 void selection_changed ();
35 void buffer_changed();
36 void update_validity();
39 void refview_activated(const Gtk::TreeModel::Path&, Gtk::TreeViewColumn*);
40 // apply() won't act when this is true
42 std::string lastbuffer_;
43 Gtk::Entry * labelentry_;
44 Gtk::Entry * nameentry_;
45 Gtk::TreeView * refview_;
46 Glib::RefPtr<Gtk::ListStore> refListStore_;
47 Glib::RefPtr<Gtk::ListStore> bufferstore_;
48 Gtk::ComboBox * formatcombo_;
49 Gtk::ComboBox * buffercombo_;
50 Gtk::Button * jumptobutton_;
51 Gtk::Button * backbutton_;
52 Gtk::Button * cancelbutton_;
53 Gtk::Button * okbutton_;
54 Gtk::Button * applybutton_;
55 Gtk::Button * refreshbutton_;
59 } // namespace frontend