lyx_mirror/src/frontends/qt4/GuiHyperlink.h

45 lines
906 B
C
Raw Normal View History

// -*- C++ -*-
/**
* \file GuiHyperlink.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GUIHYPERLINK_H
#define GUIHYPERLINK_H
#include "InsetParamsWidget.h"
#include "ui_HyperlinkUi.h"
namespace lyx {
namespace frontend {
class GuiHyperlink : public InsetParamsWidget, public Ui::HyperlinkUi
{
Q_OBJECT
public:
///
GuiHyperlink(QWidget * parent = 0);
private:
/// \name InsetParamsWidget inherited methods
//@{
InsetCode insetCode() const { return HYPERLINK_CODE; }
FuncCode creationCode() const { return LFUN_INSET_INSERT; }
void paramsToDialog(Inset const *);
docstring dialogToParams() const;
bool checkWidgets() const;
//@}
};
} // namespace frontend
} // namespace lyx
#endif // GUIHYPERLINK_H