2001-06-14 08:20:41 +00:00
|
|
|
// -*- C++ -*-
|
2001-02-14 19:43:56 +00:00
|
|
|
/**
|
2001-08-19 13:25:15 +00:00
|
|
|
* \file QParagraph.h
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-02-14 19:43:56 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author Edwin Leuven
|
|
|
|
* \author John Levon
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2001-02-14 19:43:56 +00:00
|
|
|
*/
|
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
#ifndef QPARAGRAPH_H
|
|
|
|
#define QPARAGRAPH_H
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2003-03-13 13:56:25 +00:00
|
|
|
#include "QDialogView.h"
|
2003-10-06 15:43:21 +00:00
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2002-07-17 15:51:23 +00:00
|
|
|
class ControlParagraph;
|
2001-08-19 13:25:15 +00:00
|
|
|
class QParagraphDialog;
|
2002-08-12 14:28:43 +00:00
|
|
|
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QParagraph
|
2003-03-13 13:56:25 +00:00
|
|
|
: public QController<ControlParagraph, QView<QParagraphDialog> >
|
2002-07-17 15:51:23 +00:00
|
|
|
{
|
2002-10-20 01:48:28 +00:00
|
|
|
public:
|
2002-07-17 15:51:23 +00:00
|
|
|
friend class QParagraphDialog;
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2003-03-13 13:56:25 +00:00
|
|
|
QParagraph(Dialog &);
|
2002-03-21 21:21:28 +00:00
|
|
|
private:
|
2002-07-17 15:51:23 +00:00
|
|
|
/// Apply changes
|
|
|
|
virtual void apply();
|
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
2001-02-14 19:43:56 +00:00
|
|
|
};
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
#endif // QPARAGRAPH_H
|