#include "insets/InsetTabular.h"
-#include <QCloseEvent>
#include <QCheckBox>
#include <QPushButton>
#include <QRadioButton>
#include <QLineEdit>
-using std::string;
-
+using namespace std;
namespace lyx {
namespace frontend {
GuiTabular::GuiTabular(GuiView & lv)
- : GuiDialog(lv, "tabular")
+ : GuiDialog(lv, "tabular", qt_("Table Settings"))
{
active_cell_ = Tabular::npos;
setupUi(this);
- setViewTitle(_("Table Settings"));
widthED->setValidator(unsignedLengthValidator(widthED));
topspaceED->setValidator(new LengthValidator(topspaceED));
}
-void GuiTabular::closeEvent(QCloseEvent * e)
-{
- slotClose();
- GuiDialog::closeEvent(e);
-}
-
-
void GuiTabular::booktabsChanged(bool)
{
changed();