lyx_mirror/src/frontends/qt4/GuiNomencl.h
André Pönitz 78767f76fe cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26292 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-03 18:30:05 +00:00

63 lines
1.1 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 "GuiDialog.h"
#include "ui_NomenclUi.h"
#include "insets/InsetCommandParams.h"
namespace lyx {
namespace frontend {
class GuiNomenclature : public GuiDialog, public Ui::NomenclUi
{
Q_OBJECT
public:
GuiNomenclature(GuiView & lv);
private Q_SLOTS:
void change_adaptor();
void reject();
private:
///
bool isValid();
/// Apply changes
void applyView();
/// update
void updateContents() {}
///
bool initialiseParams(std::string const & data);
///
void paramsToDialog(InsetCommandParams const & icp);
/// clean-up on hide.
void clearParams() { params_.clear(); }
/// clean-up on hide.
void dispatchParams();
///
bool isBufferDependent() const { return true; }
private:
///
InsetCommandParams params_;
};
} // namespace frontend
} // namespace lyx
#endif // GUINOMENCLATURE_H