]> git.lyx.org Git - lyx.git/blob - src/frontends/qt/GuiHyperlink.h
Improve some debug messages
[lyx.git] / src / frontends / qt / GuiHyperlink.h
1 // -*- C++ -*-
2 /**
3  * \file GuiHyperlink.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  * \author Angus Leeming
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef GUIHYPERLINK_H
14 #define GUIHYPERLINK_H
15
16 #include "InsetParamsWidget.h"
17 #include "ui_HyperlinkUi.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class GuiHyperlink : public InsetParamsWidget, public Ui::HyperlinkUi
23 {
24         Q_OBJECT
25
26 public:
27         ///
28         GuiHyperlink(QWidget * parent = 0);
29
30 private:
31         /// \name InsetParamsWidget inherited methods
32         //@{
33         InsetCode insetCode() const override { return HYPERLINK_CODE; }
34         FuncCode creationCode() const override { return LFUN_INSET_INSERT; }
35         QString dialogTitle() const override { return qt_("Hyperlink Settings"); }
36         void paramsToDialog(Inset const *) override;
37         docstring dialogToParams() const override;
38         bool checkWidgets(bool readonly) const override;
39         bool initialiseParams(std::string const & data) override;
40         //@}
41 };
42
43 } // namespace frontend
44 } // namespace lyx
45
46 #endif // GUIHYPERLINK_H