3 * \file InsetParamsDialog.h
\r
4 * This file is part of LyX, the document processor.
\r
5 * Licence details can be found in the file COPYING.
\r
7 * \author Abdelrazak Younes
\r
9 * Full author contact details are available in file CREDITS.
\r
12 #ifndef INSET_PARAMS_DIALOG_H
\r
13 #define INSET_PARAMS_DIALOG_H
\r
15 #include "DialogView.h"
\r
16 #include "ui_InsetParamsUi.h"
\r
18 #include "qt_i18n.h"
\r
24 namespace frontend {
\r
26 class InsetParamsWidget;
\r
28 class InsetParamsDialog : public DialogView, public Ui::InsetParamsUi
\r
32 InsetParamsDialog(GuiView & lv, InsetParamsWidget * widget);
\r
33 ~InsetParamsDialog();
\r
36 void setInsetParamsWidget(InsetParamsWidget * widget);
\r
39 void onWidget_changed();
\r
41 void on_restorePB_clicked();
\r
42 void on_okPB_clicked();
\r
43 void on_applyPB_clicked();
\r
44 void on_closePB_clicked();
\r
45 void on_synchronizedViewCB_stateChanged(int state);
\r
48 /// \name DialogView inherited methods
\r
51 void dispatchParams() {}
\r
52 bool isBufferDependent() const { return true; }
\r
53 bool canApply() const { return true; }
\r
58 docstring checkWidgets(bool synchronized_view);
\r
64 } // namespace frontend
\r
67 #endif // INSET_PARAMS_DIALOG_H
\r