2006-11-04 17:55:36 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2008-04-20 08:19:26 +00:00
|
|
|
* \file GuiNomenclature.h
|
2006-11-04 17:55:36 +00:00
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2008-04-20 08:19:26 +00:00
|
|
|
#ifndef GUINOMENCLATURE_H
|
|
|
|
#define GUINOMENCLATURE_H
|
2006-11-04 17:55:36 +00:00
|
|
|
|
2007-08-11 15:48:15 +00:00
|
|
|
#include "ui_NomenclUi.h"
|
2007-04-25 10:57:54 +00:00
|
|
|
|
2010-10-27 20:01:49 +00:00
|
|
|
#include "InsetParamsWidget.h"
|
2008-04-20 09:24:14 +00:00
|
|
|
|
2006-11-04 17:55:36 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
2010-10-27 20:01:49 +00:00
|
|
|
class GuiNomenclature : public InsetParamsWidget, public Ui::NomenclUi
|
2007-09-03 05:59:32 +00:00
|
|
|
{
|
2007-04-25 10:57:54 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
2006-11-04 17:55:36 +00:00
|
|
|
public:
|
2010-10-27 20:01:49 +00:00
|
|
|
GuiNomenclature(QWidget * parent = 0);
|
2008-04-20 09:24:14 +00:00
|
|
|
|
|
|
|
private:
|
2010-10-27 20:01:49 +00:00
|
|
|
/// \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;
|
|
|
|
//@}
|
2006-11-04 17:55:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2008-04-20 08:19:26 +00:00
|
|
|
#endif // GUINOMENCLATURE_H
|