lyx_mirror/src/frontends/qt4/GuiInfo.h
Abdelrazak Younes ccea2a5cd9 Move inset lookup to Dialog class as this is generic enough to be reused by other dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25147 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 16:03:08 +00:00

48 lines
789 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 {
class InsetInfo;
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_closePB_clicked();
};
} // namespace frontend
} // namespace lyx
#endif // GUI_INFO_H