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"
29 struct FD_form_tabular_create;
31 /** This class provides an XForms implementation of the FormTabularCreate
34 class FormTabularCreate : public FormBaseBD {
36 /// #FormTabularCreate x(LyXView ..., Dialogs ...);#
37 FormTabularCreate(LyXView *, Dialogs *);
40 /// Pointer to the actual instantiation of the ButtonController.
41 virtual xformsBC & bc();
42 /// Connect signals etc.
43 virtual void connect();
47 /// Update dialog before showing it
48 virtual void update();
49 /// Pointer to the actual instantiation of the xforms form
50 virtual FL_FORM * form() const;
55 FD_form_tabular_create * build_tabular_create();
57 /// Real GUI implementation.
58 boost::scoped_ptr<FD_form_tabular_create> dialog_;
59 /// The ButtonController
60 ButtonController<OkApplyCancelReadOnlyPolicy, xformsBC> bc_;
65 xformsBC & FormTabularCreate::bc()