mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
facb7e89de
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9254 a592a061-630c-0410-9148-cb99ea01b6c8
53 lines
1.1 KiB
C++
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
|