lyx_mirror/src/frontends/qt4/GuiNomenclature.h
Richard Heck 796bcb8c25 Implement GuiNomenclature::initialiseParams(), thus restoring the
ability to take the symbol from an explicit or implicit selection.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39651 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 14:14:04 +00:00

47 lines
984 B
C++

// -*- C++ -*-
/**
* \file GuiNomenclature.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
* \author Kalle Dalheimer
* \author O. U. Baran
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GUINOMENCLATURE_H
#define GUINOMENCLATURE_H
#include "ui_NomenclUi.h"
#include "InsetParamsWidget.h"
namespace lyx {
namespace frontend {
class GuiNomenclature : public InsetParamsWidget, public Ui::NomenclUi
{
Q_OBJECT
public:
GuiNomenclature(QWidget * parent = 0);
private:
/// \name InsetParamsWidget inherited methods
//@{
InsetCode insetCode() const { return NOMENCL_CODE; }
FuncCode creationCode() const { return LFUN_INSET_INSERT; }
void paramsToDialog(Inset const *);
docstring dialogToParams() const;
bool checkWidgets() const;
bool initialiseParams(std::string const &);
//@}
};
} // namespace frontend
} // namespace lyx
#endif // GUINOMENCLATURE_H