]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormTabularCreate.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormTabularCreate.h
index 205dc180d1225d66cbb2e4efe8eb544c2704db93..d7e22008475cd0c4fc752fc85ff57be41a6b68b4 100644 (file)
@@ -1,58 +1,38 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
- *      
- *         Copyright 1995 Matthias Ettrich
- *          Copyright 1995-2000 The LyX Team.
+/**
+ * \file FormTabularCreate.h
+ * Copyright 1995 Matthias Ettrich
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *======================================================*/
-/* FormTabularCreate.h
- * FormTabularCreate Interface Class
+ * \author Jürgen Vigna
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMTABULARCREATE_H
 #define FORMTABULARCREATE_H
 
-#include "FormBase.h"
-
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
 
-class LyXView;
-class Dialogs;
-struct FD_form_tabular_create;
+class ControlTabularCreate;
+struct FD_tabular_create;
 
-/** This class provides an XForms implementation of the FormTabularCreate
+/** This class provides an XForms implementation of the TabularCreate
     Dialog.
  */
-class FormTabularCreate : public FormBaseBD {
+class FormTabularCreate :
+       public FormController<ControlTabularCreate, FormView<FD_tabular_create> > {
 public:
-       /// #FormTabularCreate x(LyXView ..., Dialogs ...);#
-       FormTabularCreate(LyXView *, Dialogs *);
        ///
-       ~FormTabularCreate();
-
+       FormTabularCreate(Dialog &);
 private:
-       /// Connect signals etc.
-       virtual void connect();
-
        /// Apply from dialog
        virtual void apply();
-       /// Update dialog before showing it
-       virtual void update();
-       /// Pointer to the actual instantiation of the xform's form
-       virtual FL_FORM * form() const;
        /// Build the dialog
        virtual void build();
-
-       ///
-       FD_form_tabular_create * build_tabular_create();
-       
-       /// Real GUI implementation.
-       FD_form_tabular_create * dialog_;
+       /// not needed
+       virtual void update() {};
 };
 
-#endif
+#endif // FORMTABULARCREATE