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
|
2001-02-14 19:43:56 +00:00
|
|
|
* Copyright 2001 LyX Team
|
|
|
|
* see the file COPYING
|
|
|
|
*
|
|
|
|
* \author John Levon, moz@compsoc.man.ac.uk
|
|
|
|
* \author Edwin Leuven, leuven@fee.uva.nl
|
|
|
|
*/
|
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
#ifndef QPARAGRAPHDIALOG_H
|
|
|
|
#define QPARAGRAPHDIALOG_H
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2001-06-05 17:05:51 +00:00
|
|
|
#include <config.h>
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2002-07-17 15:51:23 +00:00
|
|
|
#include "QParagraph.h"
|
2001-08-19 13:25:15 +00:00
|
|
|
#include "ui/QParagraphDialogBase.h"
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2002-07-17 15:51:23 +00:00
|
|
|
#include <qevent.h>
|
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-07-17 15:51:23 +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
|