mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 23:49:37 +00:00
43 lines
835 B
C++
43 lines
835 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file GuiERT.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author John Levon
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef GUIERT_H
|
|
#define GUIERT_H
|
|
|
|
#include "InsetParamsWidget.h"
|
|
#include "ui_ERTUi.h"
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class GuiERT : public InsetParamsWidget, public Ui::ERTUi
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
GuiERT(QWidget * parent = 0);
|
|
|
|
private:
|
|
/// \name InsetParamsWidget inherited methods
|
|
//@{
|
|
InsetCode insetCode() const { return ERT_CODE; }
|
|
FuncCode creationCode() const { return LFUN_INSET_INSERT; }
|
|
void paramsToDialog(Inset const *);
|
|
docstring dialogToParams() const;
|
|
bool checkWidgets(bool readonly) const;
|
|
//@}
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GUIERT_H
|