4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "GuiDialogView.h"
16 #include "ControlChanges.h"
17 #include "ui_ChangesUi.h"
26 class GuiChangesDialog : public QDialog, public Ui::ChangesUi {
30 GuiChangesDialog(GuiChanges * form);
34 virtual void nextPressed();
35 virtual void acceptPressed();
36 virtual void rejectPressed();
39 virtual void closeEvent(QCloseEvent * e);
46 class GuiChanges : public GuiView<GuiChangesDialog>
50 GuiChanges(GuiDialog &);
52 ControlChanges & controller()
53 { return static_cast<ControlChanges &>(this->getController()); }
55 ControlChanges const & controller() const
56 { return static_cast<ControlChanges const &>(this->getController()); }
65 friend class GuiChangesDialog;
67 virtual void apply() {};
69 virtual void update_contents();
71 virtual void build_dialog();
74 } // namespace frontend
77 #endif // GUICHANGES_H