4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Kalle Dalheimer
10 * Full author contact details are available in file CREDITS.
16 #include "GuiDialogView.h"
17 #include "ControlCommand.h"
18 #include "ui_IndexUi.h"
27 class GuiIndexDialog : public QDialog, public Ui::IndexUi {
30 GuiIndexDialog(GuiIndex * form);
33 virtual void change_adaptor();
34 virtual void reject();
36 virtual void closeEvent(QCloseEvent * e);
42 class GuiIndex : public GuiView<GuiIndexDialog>
45 friend class GuiIndexDialog;
47 GuiIndex(Dialog &, docstring const & title, QString const & label);
49 ControlCommand & controller()
50 { return static_cast<ControlCommand &>(this->getController()); }
52 ControlCommand const & controller() const
53 { return static_cast<ControlCommand const &>(this->getController()); }
55 virtual bool isValid();
60 virtual void update_contents();
62 virtual void build_dialog();
68 } // namespace frontend