#include "LyXRC.h" // to set the default length values
#include "Spacing.h"
#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>
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();
bool GuiVSpace::initialiseParams(string const & data)
{
- InsetVSpaceMailer::string2params(data, params_);
+ InsetVSpace::string2params(data, params_);
setButtonsValid(true);
-
return true;
}
void GuiVSpace::dispatchParams()
{
- dispatch(FuncRequest(getLfun(), InsetVSpaceMailer::params2string(params_)));
+ dispatch(FuncRequest(getLfun(), InsetVSpace::params2string(params_)));
}