3 * \file ControlDialog.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
11 * ControlDialog is to be used as a parent class for dialogs that are not
12 * views onto parameters of insets. (An ugly description I know, but I hope
13 * the meaning is clear! Can anyone do any better?) Examples would be the
14 * Document and Paragraph dialogs.
17 #ifndef CONTROLDIALOG_H
18 #define CONTROLDIALOG_H
23 /** Base class to control connection/disconnection of signals with the LyX
24 kernel for dialogs NOT used with insets.
25 The Base class will be either ControlConnectBI or ControlConnectBD.
28 class ControlDialog : public Base {
31 ControlDialog(LyXView &, Dialogs &);
34 * Publicly accessible so that it can be invoked by the Dialogs class.
39 /// Update the dialog.
40 virtual void update();
44 virtual void clearParams() {}
45 /// set the params before show or update
46 virtual void setParams() {}
48 /// is the dialog built ?
52 #endif // CONTROLDIALOG_H