]> git.lyx.org Git - features.git/blob - src/frontends/gtk/GPrint.h
Replace LString.h with support/std_string.h,
[features.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 "support/std_string.h"
16 #include "GViewBase.h"
17
18 class ControlPrint;
19
20 class GPrint : public GViewCB<ControlPrint, GViewGladeB>
21 {
22 public:
23         GPrint(Dialog & parent, string title = "Print Document");
24 private:
25         virtual void apply();
26         virtual void update();
27         virtual void doBuild();
28         void updateUI();
29         void onBrowse();
30         void onTargetEdit(Gtk::Entry const * who);
31         void onFromToEdit();
32
33         Gtk::RadioButton * printer_;
34         Gtk::RadioButton * file_;
35         Gtk::RadioButton * all_;
36         Gtk::RadioButton * fromTo_;
37         Gtk::CheckButton * odd_;
38         Gtk::CheckButton * even_;
39         Gtk::CheckButton * reverse_;
40         Gtk::SpinButton * number_;
41         Gtk::CheckButton * sorted_;
42         Gtk::Entry * printerEntry_;
43         Gtk::Entry * fileEntry_;
44         Gtk::Entry * fromEntry_;
45         Gtk::Entry * toEntry_;
46 };
47
48 #endif
49