]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormIndex.h
More pref work from Angus
[lyx.git] / src / frontends / xforms / FormIndex.h
index 2c2a3ac135ed89754c4463fd2b6a3ca35c63de63..6714b1d06ff06ef80fafb1f6e2fcd6ae67b55cb2 100644 (file)
@@ -16,7 +16,7 @@
 #pragma interface
 #endif
 
-#include "FormCommand.h"
+#include "FormInset.h"
 struct FD_form_index;
 
 /** This class provides an XForms implementation of the FormIndex Dialog.
@@ -28,6 +28,8 @@ public:
        ///
        ~FormIndex();
 private:
+       /// Connect signals etc. Set form's max size.
+       virtual void connect();
        /// Build the dialog
        virtual void build();
        /// Update dialog before showing it
@@ -35,13 +37,9 @@ private:
        /// 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();
-       /// 
-       int minh;
-       ///
-       int minw;
        /// Real GUI implementation.
        FD_form_index * dialog_;
 };