2002-10-07 16:41:10 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
|
|
|
|
* \file QWrap.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
2003-09-07 01:45:40 +00:00
|
|
|
|
* \author J<EFBFBD>rgen Spitzm<EFBFBD>ller
|
2002-10-07 16:41:10 +00:00
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2002-10-07 16:41:10 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef QWRAP_H
|
|
|
|
|
#define QWRAP_H
|
|
|
|
|
|
2003-03-05 23:19:45 +00:00
|
|
|
|
#include "QDialogView.h"
|
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
|
namespace lyx {
|
|
|
|
|
namespace frontend {
|
2002-10-07 16:41:10 +00:00
|
|
|
|
|
|
|
|
|
class ControlWrap;
|
|
|
|
|
class QWrapDialog;
|
|
|
|
|
|
|
|
|
|
|
2003-03-05 23:19:45 +00:00
|
|
|
|
class QWrap : public QController<ControlWrap, QView<QWrapDialog> > {
|
2002-10-07 16:41:10 +00:00
|
|
|
|
public:
|
|
|
|
|
friend class QWrapDialog;
|
|
|
|
|
|
2003-03-05 23:19:45 +00:00
|
|
|
|
QWrap(Dialog &);
|
2002-10-07 16:41:10 +00:00
|
|
|
|
private:
|
|
|
|
|
/// Apply changes
|
|
|
|
|
virtual void apply();
|
|
|
|
|
/// update
|
|
|
|
|
virtual void update_contents();
|
|
|
|
|
/// build the dialog
|
|
|
|
|
virtual void build_dialog();
|
|
|
|
|
};
|
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
|
} // namespace frontend
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
2002-10-07 16:41:10 +00:00
|
|
|
|
#endif // QWRAP_H
|