2002-03-11 22:47:41 +00:00
|
|
|
// -*- C++ -*-
|
2001-02-14 19:43:56 +00:00
|
|
|
/**
|
2001-08-19 13:25:15 +00:00
|
|
|
* \file QParagraphDialog.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 John Levon
|
|
|
|
* \author Edwin Leuven
|
|
|
|
*
|
|
|
|
* 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 QPARAGRAPHDIALOG_H
|
|
|
|
#define QPARAGRAPHDIALOG_H
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
#include "ui/QParagraphDialogBase.h"
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
class QParagraph;
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
class QParagraphDialog : public QParagraphDialogBase
|
2002-07-17 15:51:23 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
2001-06-05 17:05:51 +00:00
|
|
|
public:
|
2002-07-17 15:51:23 +00:00
|
|
|
QParagraphDialog(QParagraph * form);
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-06-05 17:05:51 +00:00
|
|
|
protected:
|
|
|
|
void closeEvent (QCloseEvent * e);
|
|
|
|
private:
|
2001-08-19 13:25:15 +00:00
|
|
|
QParagraph * form_;
|
2002-09-24 13:57:09 +00:00
|
|
|
|
2001-06-05 17:05:51 +00:00
|
|
|
protected slots:
|
2002-07-17 15:51:23 +00:00
|
|
|
void change_adaptor();
|
|
|
|
void enableAbove(int);
|
|
|
|
void enableBelow(int);
|
|
|
|
void enableLinespacingValue(int);
|
2001-02-14 19:43:56 +00:00
|
|
|
};
|
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
#endif // QPARAGRAPHDIALOG_H
|