2006-03-05 17:24:44 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
|
|
|
|
* \file QWrap.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author J<EFBFBD>rgen Spitzm<EFBFBD>ller
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef QWRAP_H
|
|
|
|
|
#define QWRAP_H
|
|
|
|
|
|
|
|
|
|
#include "QDialogView.h"
|
2007-02-13 18:27:46 +00:00
|
|
|
|
#include "QWrapDialog.h"
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
namespace frontend {
|
|
|
|
|
|
|
|
|
|
class ControlWrap;
|
|
|
|
|
|
|
|
|
|
class QWrap : public QController<ControlWrap, QView<QWrapDialog> > {
|
|
|
|
|
public:
|
|
|
|
|
friend class QWrapDialog;
|
|
|
|
|
|
|
|
|
|
QWrap(Dialog &);
|
|
|
|
|
private:
|
|
|
|
|
/// Apply changes
|
|
|
|
|
virtual void apply();
|
|
|
|
|
/// update
|
|
|
|
|
virtual void update_contents();
|
|
|
|
|
/// build the dialog
|
|
|
|
|
virtual void build_dialog();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
|
|
|
|
#endif // QWRAP_H
|