lyx_mirror/src/frontends/gtk/GFloat.h
John Spray facb7e89de GTK Float dialog and Note dialog. Today is rhyming dialog day!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9254 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-15 16:02:57 +00:00

53 lines
1.1 KiB
C++

// -*- C++ -*-
/**
* \file GFloat.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Spray
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GFLOAT_H
#define GFLOAT_H
#include "GViewBase.h"
namespace lyx {
namespace frontend {
class ControlFloat;
/** This class provides a GTK+ implementation of the ERT Dialog.
*/
class GFloat : public GViewCB<ControlFloat, GViewGladeB> {
public:
GFloat(Dialog & parent);
private:
virtual void apply();
virtual void doBuild();
virtual void update();
void updateSensitivity();
// apply() won't act when this is true
bool applylock_;
Gtk::RadioButton * defaultradio_;
Gtk::RadioButton * heredefinitelyradio_;
Gtk::RadioButton * alternativeradio_;
Gtk::CheckButton * topcheck_;
Gtk::CheckButton * bottomcheck_;
Gtk::CheckButton * pageoffloatscheck_;
Gtk::CheckButton * hereifpossiblecheck_;
Gtk::CheckButton * ignorerulescheck_;
Gtk::CheckButton * spancolumnscheck_;
Gtk::CheckButton * rotatesidewayscheck_;
};
} // namespace frontend
} // namespace lyx
#endif // GFLOAT_H