2006-03-05 17:24:44 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2007-10-13 19:06:09 +00:00
|
|
|
* \file GuiHyperlink.h
|
2006-03-05 17:24:44 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author John Levon
|
2007-10-07 14:19:14 +00:00
|
|
|
* \author Angus Leeming
|
2006-03-05 17:24:44 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
2007-10-13 19:06:09 +00:00
|
|
|
#ifndef GUIHYPERLINK_H
|
|
|
|
#define GUIHYPERLINK_H
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
#include "GuiDialog.h"
|
2007-10-13 19:06:09 +00:00
|
|
|
#include "ui_HyperlinkUi.h"
|
2007-10-07 14:19:14 +00:00
|
|
|
#include "insets/InsetCommandParams.h"
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
2007-10-13 19:06:09 +00:00
|
|
|
class GuiHyperlink : public GuiCommand, public Ui::HyperlinkUi
|
2007-08-31 22:16:11 +00:00
|
|
|
{
|
2006-03-05 17:24:44 +00:00
|
|
|
Q_OBJECT
|
2007-09-05 20:33:29 +00:00
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
public:
|
2007-10-13 19:06:09 +00:00
|
|
|
GuiHyperlink(LyXView & lv);
|
2007-09-05 20:33:29 +00:00
|
|
|
|
2006-06-30 14:37:33 +00:00
|
|
|
public Q_SLOTS:
|
2006-03-05 17:24:44 +00:00
|
|
|
void changed_adaptor();
|
|
|
|
|
2007-08-31 22:16:11 +00:00
|
|
|
private:
|
2007-09-05 20:33:29 +00:00
|
|
|
void closeEvent(QCloseEvent *);
|
|
|
|
///
|
|
|
|
bool isValid();
|
2007-08-31 22:16:11 +00:00
|
|
|
/// apply dialog
|
2007-09-05 20:33:29 +00:00
|
|
|
void applyView();
|
2007-08-31 22:16:11 +00:00
|
|
|
/// update dialog
|
2007-09-11 18:33:42 +00:00
|
|
|
void updateContents();
|
2007-08-31 22:16:11 +00:00
|
|
|
};
|
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2007-10-13 19:06:09 +00:00
|
|
|
#endif // GUIHYPERLINK_H
|