mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
2a31934f38
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8766 a592a061-630c-0410-9148-cb99ea01b6c8
43 lines
851 B
C++
43 lines
851 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file FormText.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Angus Leeming
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef FORMTEXT_H
|
|
#define FORMTEXT_H
|
|
|
|
#include "FormDialogView.h"
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class ControlCommand;
|
|
struct FD_text;
|
|
|
|
class FormText : public FormController<ControlCommand, FormView<FD_text> > {
|
|
public:
|
|
///
|
|
FormText(Dialog &, std::string const & title, std::string const & label);
|
|
private:
|
|
/// Set the Params variable for the Controller.
|
|
virtual void apply();
|
|
/// Build the dialog.
|
|
virtual void build();
|
|
/// Update dialog before/whilst showing it.
|
|
virtual void update();
|
|
|
|
///
|
|
std::string const label_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // FORMTEXT_H
|