lyx_mirror/src/frontends/qt4/GuiPrintNomencl.h
Richard Heck 79811671e9 Revert r35933. There are insets not based upon InsetCommand, such as
VSpace, that use InsetParamsWidget, so we cannot have code that requires
InsetCommandParams there.

Stephen Witt reported a similar crash with the info dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35952 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-31 18:56:32 +00:00

51 lines
1.0 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 { return NOMENCL_PRINT_CODE; }
FuncCode creationCode() const { return LFUN_INSET_INSERT; }
void paramsToDialog(Inset const *);
void paramsToDialog(InsetCommandParams const &);
docstring dialogToParams() const;
bool checkWidgets() const;
//@}
};
} // namespace frontend
} // namespace lyx
#endif // GUIPRINTNOMENCL_H