#include "FuncRequest.h"
#include "insets/InsetVSpace.h"
+#include "support/gettext.h"
#include "support/lstrings.h"
#include <QCheckBox>
-#include <QCloseEvent>
#include <QLineEdit>
#include <QPushButton>
#include <QValidator>
-using std::string;
-
+using namespace std;
namespace lyx {
namespace frontend {
GuiVSpace::GuiVSpace(GuiView & lv)
- : GuiDialog(lv, "vspace")
+ : GuiDialog(lv, "vspace", qt_("Vertical Space Settings"))
{
setupUi(this);
- setViewTitle(_("Vertical Space Settings"));
connect(okPB, SIGNAL(clicked()), this, SLOT(slotOK()));
connect(applyPB, SIGNAL(clicked()), this, SLOT(slotApply()));
}
-void GuiVSpace::closeEvent(QCloseEvent * e)
-{
- slotClose();
- e->accept();
-}
-
-
void GuiVSpace::change_adaptor()
{
changed();