3 * \file ControlDialog.h
4 * Copyright 2002 the LyX Team
5 * Read the file COPYING
7 * \author Angus Leeming <a.leeming@ic.ac.uk>
9 * ControlDialog is to be used as a parent class for dialogs that are not
10 * views onto parameters of insets. (An ugly description I know, but I hope
11 * the meaning is clear! Can anyone do any better?) Examples would be the
12 * Document and Paragraph dialogs.
15 #ifndef CONTROLDIALOG_H
16 #define CONTROLDIALOG_H
21 /** Base class to control connection/disconnection of signals with the LyX
22 kernel for dialogs NOT used with insets.
23 The Base class will be either ControlConnectBI or ControlConnectBD.
26 class ControlDialog : public Base
30 ControlDialog(LyXView &, Dialogs &);
37 /// Update the dialog.
38 virtual void update();
41 virtual void clearParams() {}
42 /// set the params before show or update
43 virtual void setParams() {}
46 /// is the dialog built ?
50 #endif // CONTROLDIALOG_H