lyx_mirror/src/frontends/qt4/GuiInfo.h
Abdelrazak Younes 81cc98a500 InsetInfo: Some fixes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25154 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 08:45:58 +00:00

55 lines
977 B
C++

// -*- 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
#include "DialogView.h"
#include "ui_InfoUi.h"
namespace lyx {
namespace frontend {
class GuiInfo : public DialogView, public Ui::InfoUi
{
Q_OBJECT
public:
GuiInfo(GuiView & lv);
/// Dialog inherited methods
//@{
void applyView();
void updateView();
void dispatchParams() {}
void enableView(bool enable);
bool isBufferDependent() const { return true; }
//@}
private Q_SLOTS:
void on_newPB_clicked();
void on_closePB_clicked();
void on_typeCO_currentIndexChanged(int);
void on_nameLE_textChanged(QString const &);
private:
void paramsToDialog();
void dialogToParams();
QString type_;
QString name_;
};
} // namespace frontend
} // namespace lyx
#endif // GUI_INFO_H