#include <QPushButton>
#include <QLineEdit>
-#include <QCloseEvent>
using namespace std;
GuiBox::GuiBox(GuiView & lv)
- : GuiDialog(lv, "box"), params_("")
+ : GuiDialog(lv, "box", qt_("Box Settings")), params_("")
{
setupUi(this);
- setViewTitle(_("Box Settings"));
// fill the box type choice
box_gui_tokens(ids_, gui_names_);
}
-void GuiBox::closeEvent(QCloseEvent * e)
-{
- slotClose();
- e->accept();
-}
-
-
void GuiBox::change_adaptor()
{
changed();