lyx_mirror/src/frontends/gtk/GPrint.h
Lars Gullik Bjønnes 66e8220540 WS changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9008 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 13:18:29 +00:00

53 lines
1.1 KiB
C++

// -*- C++ -*-
/**
* \file GPrint.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Huang Ying
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GPRINT_H
#define GPRINT_H
#include "GViewBase.h"
namespace lyx {
namespace frontend {
class ControlPrint;
class GPrint : public GViewCB<ControlPrint, GViewGladeB> {
public:
GPrint(Dialog & parent, std::string const & title = "Print Document");
private:
virtual void apply();
virtual void update();
virtual void doBuild();
void updateUI();
void onBrowse();
void onTargetEdit(Gtk::Entry const * who);
void onFromToEdit();
Gtk::RadioButton * printer_;
Gtk::RadioButton * file_;
Gtk::RadioButton * all_;
Gtk::RadioButton * fromTo_;
Gtk::CheckButton * odd_;
Gtk::CheckButton * even_;
Gtk::CheckButton * reverse_;
Gtk::SpinButton * number_;
Gtk::CheckButton * sorted_;
Gtk::Entry * printerEntry_;
Gtk::Entry * fileEntry_;
Gtk::Entry * fromEntry_;
Gtk::Entry * toEntry_;
};
} // namespace frontend
} // namespace lyx
#endif