2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2000 The LyX Team.
10 *======================================================*/
11 /* FormTabularCreate.h
12 * FormTabularCreate Interface Class
15 #ifndef FORMTABULARCREATE_H
16 #define FORMTABULARCREATE_H
18 #include <boost/smart_ptr.hpp>
24 #include "FormBaseDeprecated.h"
26 struct FD_form_tabular_create;
28 /** This class provides an XForms implementation of the FormTabularCreate
31 class FormTabularCreate : public FormBaseBD {
33 /// #FormTabularCreate x(LyXView ..., Dialogs ...);#
34 FormTabularCreate(LyXView *, Dialogs *);
37 /// Pointer to the actual instantiation of the ButtonController.
38 virtual xformsBC & bc();
39 /// Connect signals etc.
40 virtual void connect();
44 /// Update dialog before showing it
45 virtual void update();
46 /// Pointer to the actual instantiation of the xforms form
47 virtual FL_FORM * form() const;
52 FD_form_tabular_create * build_tabular_create();
54 /// Real GUI implementation.
55 boost::scoped_ptr<FD_form_tabular_create> dialog_;
56 /// The ButtonController
57 ButtonController<OkApplyCancelReadOnlyPolicy, xformsBC> bc_;
62 xformsBC & FormTabularCreate::bc()