mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-19 20:24:45 +00:00
46 lines
969 B
C++
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
|