#include "qt_helpers.h"
#include "FuncRequest.h"
-#include <QCloseEvent>
#include <QLineEdit>
#include <QPushButton>
GuiBibitem::GuiBibitem(GuiView & lv)
- : GuiCommand(lv, "bibitem")
+ : GuiCommand(lv, "bibitem", qt_("Bibliography Entry Settings"))
{
setupUi(this);
- setViewTitle(_("Bibliography Entry Settings"));
connect(okPB, SIGNAL(clicked()), this, SLOT(slotOK()));
connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose()));
}
-void GuiBibitem::closeEvent(QCloseEvent *e)
-{
- slotClose();
- e->accept();
-}
-
-
void GuiBibitem::updateContents()
{
keyED->setText(toqstr(params_["key"]));