]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GVSpace.h
some tabular fixes for the problems reported by Helge
[lyx.git] / src / frontends / gtk / GVSpace.h
1 // -*- C++ -*-
2 /**
3  * \file GVSpace.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Spray
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GVSPACE_H
13 #define GVSPACE_H
14
15 #include "GViewBase.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlVSpace;
21
22 /** This class provides a GTK+ implementation of the VSpace Dialog.
23  */
24 class GVSpace : public GViewCB<ControlVSpace, GViewGladeB> {
25 public:
26         GVSpace(Dialog & parent);
27 private:
28         virtual void apply();
29         virtual void doBuild();
30         virtual void update();
31
32         void onSpacingComboChanged();
33
34         Gtk::ComboBox * spacingcombo_;
35         Gtk::SpinButton * valuespin_;
36         Gtk::ComboBoxText valueunitscombo_;
37         Gtk::CheckButton * protectcheck_;
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // GVSPACE_H