]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GPrint.h
gtk_patch_2003_10_28
[lyx.git] / src / frontends / gtk / GPrint.h
1 // -*- C++ -*-
2 /**
3  * \file GPrint.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Huang Ying
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GPRINT_H
13 #define GPRINT_H
14
15 #include "GViewBase.h"
16
17 class ControlPrint;
18
19 class GPrint : public GViewCB<ControlPrint, GViewGladeB>
20 {
21 public:
22         GPrint(Dialog & parent, std::string title = "Print Document");
23 private:
24         virtual void apply();
25         virtual void update();
26         virtual void doBuild();
27         void updateUI();
28         void onBrowse();
29         void onTargetEdit(Gtk::Entry const * who);
30         void onFromToEdit();
31
32         Gtk::RadioButton * printer_;
33         Gtk::RadioButton * file_;
34         Gtk::RadioButton * all_;
35         Gtk::RadioButton * fromTo_;
36         Gtk::CheckButton * odd_;
37         Gtk::CheckButton * even_;
38         Gtk::CheckButton * reverse_;
39         Gtk::SpinButton * number_;
40         Gtk::CheckButton * sorted_;
41         Gtk::Entry * printerEntry_;
42         Gtk::Entry * fileEntry_;
43         Gtk::Entry * fromEntry_;
44         Gtk::Entry * toEntry_;
45 };
46
47 #endif