#include "FuncRequest.h"
#include "Language.h"
-#include <QCloseEvent>
using namespace std;
GuiCharacter::GuiCharacter(GuiView & lv)
- : GuiDialog(lv, "character"), font_(ignore_font),
+ : GuiDialog(lv, "character", qt_("Text Style")), font_(ignore_font),
toggleall_(false), reset_lang_(false)
{
setupUi(this);
- setViewTitle(_("Text Style"));
connect(okPB, SIGNAL(clicked()), this, SLOT(slotOK()));
connect(applyPB, SIGNAL(clicked()), this, SLOT(slotApply()));
}
-void GuiCharacter::closeEvent(QCloseEvent * e)
-{
- slotClose();
- GuiDialog::closeEvent(e);
-}
-
-
template<class A, class B>
static int findPos2nd(vector<pair<A, B> > const & vec, B const & val)
{