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 "GViewBase.h"
22 /** This class provides a GTK+ implementation of the VSpace Dialog.
24 class GVSpace : public GViewCB<ControlVSpace, GViewGladeB> {
26 GVSpace(Dialog & parent);
29 virtual void doBuild();
30 virtual void update();
32 void PopulateComboBox(Gtk::ComboBox * combo,
33 std::vector<std::string> const & strings);
35 void onSpacingComboChanged();
37 Gtk::TreeModelColumn<Glib::ustring> stringcol_;
38 Gtk::TreeModel::ColumnRecord cols_;
40 Gtk::ComboBox * spacingcombo_;
41 Gtk::SpinButton * valuespin_;
42 Gtk::ComboBox * valueunitscombo_;
43 Gtk::CheckButton * protectcheck_;
46 } // namespace frontend