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