]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormFloat.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormFloat.h
index e07b4e2eaea8fa7004535d697fae9ddea558536f..1ec85d237a956af04ee47e6f7f21e147cc2fa0e7 100644 (file)
@@ -1,36 +1,30 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
- *      
- *          Copyright 2001 The LyX Team.
+/**
+ * \file FormFloat.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *======================================================
+ * \author Lars Gullik Bjønnes
  *
- * \file FormFloat.h
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMFLOAT_H
 #define FORMFLOAT_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "FormBase.h"
+#include "FormDialogView.h"
+#include "RadioButtonGroup.h"
 
 class ControlFloat;
-struct FD_form_float;
+struct FD_float;
 
 /** This class provides an XForms implementation of the Float
     Dialog.
  */
-class FormFloat : public FormCB<ControlFloat, FormDB<FD_form_float> > {
+class FormFloat : public FormController<ControlFloat, FormView<FD_float> > {
 public:
        ///
-       FormFloat(ControlFloat &);
-
+       FormFloat(Dialog &);
 private:
        /// Set the Params variable for the Controller.
        virtual void apply();
@@ -41,8 +35,8 @@ private:
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 
-       /// Fdesign generated method
-       FD_form_float * build_float();
+       /// placement
+       RadioButtonGroup placement_;
 };
 
 #endif // FORMFLOAT_H