]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GPrint.h
The Gtk patch.
[lyx.git] / src / frontends / gtk / GPrint.h
1 // -*- C++ -*-
2 /*
3  * /file GPrint.h
4  */
5
6 #ifndef GPRINT_H
7 #define GPRINT_H
8
9 #include "LString.h"
10 #include "GViewBase.h"
11
12 class ControlPrint;
13
14 class GPrint : public GViewCB<ControlPrint, GViewGladeB>
15 {
16 public:
17         GPrint(Dialog & parent, string title = "Print Document");
18 private:
19         virtual void apply();
20         virtual void update();
21         virtual void doBuild();
22         void updateUI();
23         void onBrowse();
24         void onTargetEdit(Gtk::Entry const * who);
25         void onFromToEdit();
26
27         Gtk::RadioButton * printer_;
28         Gtk::RadioButton * file_;
29         Gtk::RadioButton * all_;
30         Gtk::RadioButton * fromTo_;
31         Gtk::CheckButton * odd_;
32         Gtk::CheckButton * even_;
33         Gtk::CheckButton * reverse_;
34         Gtk::SpinButton * number_;
35         Gtk::CheckButton * sorted_;
36         Gtk::Entry * printerEntry_;
37         Gtk::Entry * fileEntry_;
38         Gtk::Entry * fromEntry_;
39         Gtk::Entry * toEntry_;
40 };
41
42 #endif
43