2006-11-04 17:55:36 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2007-08-31 05:53:55 +00:00
|
|
|
* \file GuiNomencl.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.
|
|
|
|
*/
|
|
|
|
|
2007-08-31 22:16:11 +00:00
|
|
|
#ifndef GUINOMENCL_H
|
|
|
|
#define GUINOMENCL_H
|
2006-11-04 17:55:36 +00:00
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
#include "GuiDialog.h"
|
2007-08-11 15:48:15 +00:00
|
|
|
#include "ui_NomenclUi.h"
|
2007-04-25 10:57:54 +00:00
|
|
|
|
2006-11-04 17:55:36 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
2007-10-07 14:41:49 +00:00
|
|
|
class GuiNomenclature : public GuiCommand, 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:
|
2007-11-23 09:44:02 +00:00
|
|
|
GuiNomenclature(GuiView & lv);
|
2007-09-05 20:33:29 +00:00
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void change_adaptor();
|
|
|
|
void reject();
|
2006-11-04 17:55:36 +00:00
|
|
|
|
|
|
|
private:
|
2007-09-05 20:33:29 +00:00
|
|
|
///
|
|
|
|
void closeEvent(QCloseEvent * e);
|
|
|
|
///
|
|
|
|
bool isValid();
|
2006-11-04 17:55:36 +00:00
|
|
|
/// Apply changes
|
2007-09-05 20:33:29 +00:00
|
|
|
void applyView();
|
2006-11-04 17:55:36 +00:00
|
|
|
/// update
|
2007-09-11 18:33:42 +00:00
|
|
|
void updateContents();
|
2006-11-04 17:55:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2007-08-31 22:16:11 +00:00
|
|
|
#endif // GUINOMENCL_H
|