#include <QRadioButton>
#include <QPushButton>
-#include <QCloseEvent>
using namespace std;
namespace frontend {
GuiERT::GuiERT(GuiView & lv)
- : GuiDialog(lv, "ert"), status_(InsetERT::Collapsed)
+ : GuiDialog(lv, "ert", qt_("TeX Code Settings")), status_(InsetERT::Collapsed)
{
setupUi(this);
- setViewTitle(_("TeX Code Settings"));
connect(okPB, SIGNAL(clicked()), this, SLOT(slotOK()));
connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose()));
}
-void GuiERT::closeEvent(QCloseEvent * e)
-{
- slotClose();
- e->accept();
-}
-
-
void GuiERT::change_adaptor()
{
changed();