lyx_mirror/src/frontends/qt4/GuiHyperlink.h
2015-04-02 16:32:04 +02:00

46 lines
969 B
C++

// -*- 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(bool readonly) const;
bool initialiseParams(std::string const & data);
//@}
};
} // namespace frontend
} // namespace lyx
#endif // GUIHYPERLINK_H