2006-03-05 17:24:44 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2007-08-31 05:53:55 +00:00
|
|
|
* \file GuiWrap.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.
|
|
|
|
*
|
2008-11-14 15:58:50 +00:00
|
|
|
* \author Jürgen Spitzmüller
|
2006-03-05 17:24:44 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
2007-08-31 22:16:11 +00:00
|
|
|
#ifndef GUIWRAP_H
|
|
|
|
#define GUIWRAP_H
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
#include "GuiDialog.h"
|
2007-08-11 15:48:15 +00:00
|
|
|
#include "ui_WrapUi.h"
|
2008-05-06 14:53:54 +00:00
|
|
|
|
2007-10-05 20:16:05 +00:00
|
|
|
#include "insets/InsetWrap.h"
|
2007-04-24 14:59:51 +00:00
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
2007-10-09 19:34:27 +00:00
|
|
|
class GuiWrap : public GuiDialog, public Ui::WrapUi
|
2007-08-31 22:16:11 +00:00
|
|
|
{
|
2007-04-24 14:59:51 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
public:
|
2007-11-23 09:44:02 +00:00
|
|
|
GuiWrap(GuiView & lv);
|
2007-09-05 20:33:29 +00:00
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void change_adaptor();
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
private:
|
2008-05-06 14:53:54 +00:00
|
|
|
/// Dialog inherited methods
|
|
|
|
//@{
|
2007-09-05 20:33:29 +00:00
|
|
|
void applyView();
|
2008-05-06 14:53:54 +00:00
|
|
|
void updateContents() {}
|
2007-10-05 20:16:05 +00:00
|
|
|
bool initialiseParams(std::string const & data);
|
|
|
|
void clearParams();
|
|
|
|
void dispatchParams();
|
|
|
|
bool isBufferDependent() const { return true; }
|
2008-05-06 14:53:54 +00:00
|
|
|
//@}
|
|
|
|
|
|
|
|
///
|
|
|
|
void paramsToDialog(InsetWrapParams const & params);
|
2007-10-05 20:16:05 +00:00
|
|
|
|
|
|
|
///
|
|
|
|
InsetWrapParams params_;
|
2006-03-05 17:24:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2007-08-31 22:16:11 +00:00
|
|
|
#endif // GUIWRAP_H
|