GuiPrintNomencl.{cpp,h}:
[lyx.git] / src / frontends / qt4 / GuiHyperlink.h
blob6c02ad23c9b916a72154673352c3f81363567260
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.
7 * \author John Levon
8 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS.
13 #ifndef GUIHYPERLINK_H
14 #define GUIHYPERLINK_H
16 #include "GuiDialog.h"
17 #include "ui_HyperlinkUi.h"
19 #include "insets/InsetCommandParams.h"
21 namespace lyx {
22 namespace frontend {
24 class GuiHyperlink : public GuiDialog, public Ui::HyperlinkUi
26 Q_OBJECT
28 public:
29 /// Constructor
30 GuiHyperlink(GuiView & lv);
32 public Q_SLOTS:
33 void changed_adaptor();
35 private:
36 ///
37 bool isValid();
38 /// apply dialog
39 void applyView();
40 /// update dialog
41 void updateContents() {}
42 ///
43 bool initialiseParams(std::string const & data);
44 ///
45 void paramsToDialog(InsetCommandParams const & icp);
46 /// clean-up on hide.
47 void clearParams() { params_.clear(); }
48 /// clean-up on hide.
49 void dispatchParams();
50 ///
51 bool isBufferDependent() const { return true; }
53 private:
54 ///
55 InsetCommandParams params_;
58 } // namespace frontend
59 } // namespace lyx
61 #endif // GUIHYPERLINK_H