]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormIndex.h
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / xforms / FormIndex.h
index 4b7fa42b51af4699a4d1e7a9cc8628f8c008b453..6714b1d06ff06ef80fafb1f6e2fcd6ae67b55cb2 100644 (file)
 #pragma interface
 #endif
 
-#include "FormCommand.h"
+#include "FormInset.h"
 struct FD_form_index;
 
 /** This class provides an XForms implementation of the FormIndex Dialog.
  */
 class FormIndex : public FormCommand {
 public:
-       /**@name Constructors and Destructors */
-       //@{
        ///
        FormIndex(LyXView *, Dialogs *);
        ///
        ~FormIndex();
-       //@}
-
 private:
+       /// Connect signals etc. Set form's max size.
+       virtual void connect();
        /// Build the dialog
        virtual void build();
-       /// Not used but must be instantiated
-       virtual void input( long ) {}
        /// Update dialog before showing it
        virtual void update();
        /// Apply from dialog (modify or create inset)
        virtual void apply();
        /// Pointer to the actual instantiation of the xform's form
-       virtual FL_FORM * const form() const;
+       virtual FL_FORM * form() const;
        ///
        FD_form_index * build_index();
-       //@}
-
        /// Real GUI implementation.
        FD_form_index * dialog_;
 };