// -*- C++ -*-
/**
* \file FormParagraph.h
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Jürgen Vigna, jug@sad.it
+ * \author Jürgen Vigna
+ *
+ * Full author contact details are available in file CREDITS.
*/
#ifndef FORM_PARAGRAPH_H
#define FORM_PARAGRAPH_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-#include "FormBase.h"
+#include "FormDialogView.h"
+#include "RadioButtonGroup.h"
struct FD_paragraph;
class ControlParagraph;
/** This class provides an XForms implementation of the FormParagraph dialog.
*/
class FormParagraph
- : public FormCB<ControlParagraph, FormDB<FD_paragraph> > {
+ : public FormController<ControlParagraph, FormView<FD_paragraph> > {
public:
///
- FormParagraph(ControlParagraph &, Dialogs &);
+ FormParagraph(Dialog &);
private:
/// Build the dialog
virtual void build();
/// Filter the inputs on callback from xforms
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
+
+ /// alignment radio buttons
+ RadioButtonGroup alignment_;
};
#endif