]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QParagraphDialog.h
Add paragraph dialog to qt2 frontend. First commit, I am sure it can be done better...
[lyx.git] / src / frontends / qt2 / QParagraphDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QParagraphDialog.h
4  * Copyright 2001 LyX Team
5  * see the file COPYING
6  *
7  * \author John Levon, moz@compsoc.man.ac.uk
8  * \author Edwin Leuven, leuven@fee.uva.nl
9  */
10
11 #ifndef QPARAGRAPHDIALOG_H
12 #define QPARAGRAPHDIALOG_H
13
14 #include <config.h>
15
16 #include "QParagraph.h"
17 #include "ui/QParagraphDialogBase.h"
18
19 #include <qevent.h>
20
21 class QParagraphDialog : public QParagraphDialogBase
22 {
23         Q_OBJECT
24 public:
25         QParagraphDialog(QParagraph * form);
26
27 protected:
28         void closeEvent (QCloseEvent * e);
29 private:
30         QParagraph * form_;
31         
32 protected slots:
33         void change_adaptor();
34         void enableAbove(int);
35         void enableBelow(int);
36         void enableLinespacingValue(int);
37 };
38
39 #endif // QPARAGRAPHDIALOG_H