2009-05-22 17:17:45 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file GuiPrintNomencl.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Jürgen Spitzmüller
|
|
|
|
* \author Uwe Stöhr
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GUIPRINTNOMENCL_H
|
|
|
|
#define GUIPRINTNOMENCL_H
|
|
|
|
|
2010-10-30 20:14:57 +00:00
|
|
|
#include "InsetParamsWidget.h"
|
2009-05-22 17:17:45 +00:00
|
|
|
#include "ui_PrintNomenclUi.h"
|
|
|
|
|
|
|
|
namespace lyx {
|
2010-10-31 18:56:32 +00:00
|
|
|
|
|
|
|
class InsetCommandParams;
|
|
|
|
|
2009-05-22 17:17:45 +00:00
|
|
|
namespace frontend {
|
|
|
|
|
2010-10-30 20:14:57 +00:00
|
|
|
class GuiPrintNomencl : public InsetParamsWidget, public Ui::PrintNomenclUi
|
2009-05-22 17:17:45 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2010-10-30 20:14:57 +00:00
|
|
|
GuiPrintNomencl(QWidget * parent = 0);
|
2009-05-22 17:17:45 +00:00
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void on_setWidthCO_activated(int);
|
|
|
|
|
|
|
|
private:
|
2010-10-30 20:14:57 +00:00
|
|
|
/// \name InsetParamsWidget inherited methods
|
|
|
|
//@{
|
|
|
|
InsetCode insetCode() const { return NOMENCL_PRINT_CODE; }
|
|
|
|
FuncCode creationCode() const { return LFUN_INSET_INSERT; }
|
|
|
|
void paramsToDialog(Inset const *);
|
|
|
|
void paramsToDialog(InsetCommandParams const &);
|
|
|
|
docstring dialogToParams() const;
|
2015-04-02 14:32:04 +00:00
|
|
|
bool checkWidgets(bool readonly) const;
|
2010-10-30 20:14:57 +00:00
|
|
|
//@}
|
2009-05-22 17:17:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
|
|
#endif // GUIPRINTNOMENCL_H
|