]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormWrap.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormWrap.h
index 14fb960c339ce840e01bd2e96c2cf3edda499768..86705f724b86586ca224fca9b7ce6b9882308ed8 100644 (file)
 #ifndef FORMWRAP_H
 #define FORMWRAP_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-#include "FormBase.h"
+#include "FormDialogView.h"
+#include "RadioButtonGroup.h"
 
 class ControlWrap;
 struct FD_wrap;
@@ -25,10 +23,10 @@ struct FD_wrap;
     Dialog.
  */
 class FormWrap
-       : public FormCB<ControlWrap, FormDB<FD_wrap> > {
+       : public FormController<ControlWrap, FormView<FD_wrap> > {
 public:
        ///
-       FormWrap();
+       FormWrap(Dialog &);
 private:
        /// Set the Params variable for the Controller.
        virtual void apply();
@@ -36,8 +34,9 @@ private:
        virtual void build();
        /// Update dialog before/whilst showing it.
        virtual void update();
-       /// Filter the inputs on callback from xforms
-       virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
+
+       /// placement
+       RadioButtonGroup placement_;
 };
 
 #endif // FORMWRAP_H