lyx_mirror/src/frontends/qt4/GuiNomenclature.h
2016-08-26 11:35:12 +02:00

48 lines
1.0 KiB
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; }
QString dialogTitle() const { return qt_("Nomenclature Settings"); }
void paramsToDialog(Inset const *);
docstring dialogToParams() const;
bool checkWidgets(bool readonly) const;
bool initialiseParams(std::string const &);
//@}
};
} // namespace frontend
} // namespace lyx
#endif // GUINOMENCLATURE_H