lyx_mirror/src/frontends/qt/GuiPrintNomencl.h

52 lines
1.2 KiB
C++

// -*- 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
#include "InsetParamsWidget.h"
#include "ui_PrintNomenclUi.h"
namespace lyx {
class InsetCommandParams;
namespace frontend {
class GuiPrintNomencl : public InsetParamsWidget, public Ui::PrintNomenclUi
{
Q_OBJECT
public:
GuiPrintNomencl(QWidget * parent = 0);
private Q_SLOTS:
void on_setWidthCO_activated(int);
private:
/// \name InsetParamsWidget inherited methods
//@{
InsetCode insetCode() const override { return NOMENCL_PRINT_CODE; }
FuncCode creationCode() const override { return LFUN_NOMENCL_PRINT; }
QString dialogTitle() const override { return qt_("Nomenclature List Settings"); }
void paramsToDialog(Inset const *) override;
void paramsToDialog(InsetCommandParams const &);
docstring dialogToParams() const override;
bool checkWidgets(bool readonly) const override;
//@}
};
} // namespace frontend
} // namespace lyx
#endif // GUIPRINTNOMENCL_H