2008-06-05 15:08:46 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file GuiInfo.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Abdelrazak Younes
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GUI_INFO_H
|
|
|
|
#define GUI_INFO_H
|
|
|
|
|
2010-02-15 23:17:45 +00:00
|
|
|
#include "InsetParamsWidget.h"
|
2008-06-05 15:08:46 +00:00
|
|
|
#include "ui_InfoUi.h"
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
2010-01-30 11:15:05 +00:00
|
|
|
class Inset;
|
|
|
|
|
2008-06-05 15:08:46 +00:00
|
|
|
namespace frontend {
|
|
|
|
|
2010-02-15 23:17:45 +00:00
|
|
|
class GuiInfo : public InsetParamsWidget, public Ui::InfoUi
|
2008-06-05 15:08:46 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2010-02-15 23:17:45 +00:00
|
|
|
GuiInfo(QWidget * parent = 0);
|
2008-06-05 15:08:46 +00:00
|
|
|
|
2008-06-06 08:45:58 +00:00
|
|
|
private:
|
2010-02-15 23:17:45 +00:00
|
|
|
/// \name InsetParamsWidget inherited methods
|
2010-01-30 11:15:05 +00:00
|
|
|
//@{
|
2010-02-18 07:56:38 +00:00
|
|
|
InsetCode insetCode() const { return INFO_CODE; }
|
|
|
|
FuncCode creationCode() const { return LFUN_INFO_INSERT; }
|
2010-01-30 11:15:05 +00:00
|
|
|
void paramsToDialog(Inset const *);
|
|
|
|
docstring dialogToParams() const;
|
|
|
|
//@}
|
2008-06-05 15:08:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
|
|
#endif // GUI_INFO_H
|