mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
compile fix. inclomplete transactioN???
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20078 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c9ea6e6eef
commit
5c8f9bc525
@ -12,50 +12,31 @@
|
|||||||
#ifndef GUIERT_H
|
#ifndef GUIERT_H
|
||||||
#define GUIERT_H
|
#define GUIERT_H
|
||||||
|
|
||||||
#include "GuiDialogView.h"
|
#include "GuiDialog.h"
|
||||||
#include "ControlERT.h"
|
#include "ControlERT.h"
|
||||||
#include "ui_ERTUi.h"
|
#include "ui_ERTUi.h"
|
||||||
|
|
||||||
#include <QDialog>
|
|
||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
namespace frontend {
|
namespace frontend {
|
||||||
|
|
||||||
class GuiERT;
|
class GuiERTDialog : public GuiDialog, public Ui::ERTUi
|
||||||
|
|
||||||
class GuiERTDialog : public QDialog, public Ui::ERTUi
|
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
|
||||||
GuiERTDialog(GuiERT * form);
|
|
||||||
protected Q_SLOTS:
|
|
||||||
virtual void change_adaptor();
|
|
||||||
protected:
|
|
||||||
virtual void closeEvent(QCloseEvent * e);
|
|
||||||
private:
|
|
||||||
GuiERT * form_;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
class GuiERT : public GuiView<GuiERTDialog>
|
|
||||||
{
|
|
||||||
public:
|
public:
|
||||||
/// constructor
|
GuiERTDialog(LyXView & lv);
|
||||||
GuiERT(GuiDialog &);
|
|
||||||
/// parent controller
|
private Q_SLOTS:
|
||||||
ControlERT & controller()
|
void change_adaptor();
|
||||||
{ return static_cast<ControlERT &>(this->getController()); }
|
|
||||||
/// parent controller
|
|
||||||
ControlERT const & controller() const
|
|
||||||
{ return static_cast<ControlERT const &>(this->getController()); }
|
|
||||||
private:
|
private:
|
||||||
friend class GuiERTDialog;
|
void closeEvent(QCloseEvent * e);
|
||||||
|
/// parent controller
|
||||||
|
ControlERT & controller() const;
|
||||||
/// Apply changes
|
/// Apply changes
|
||||||
virtual void applyView();
|
void applyView();
|
||||||
/// update
|
/// update
|
||||||
virtual void update_contents();
|
void update_contents();
|
||||||
/// build the dialog
|
|
||||||
virtual void build_dialog();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace frontend
|
} // namespace frontend
|
||||||
|
Loading…
x
Reference in New Issue
Block a user