]> git.lyx.org Git - features.git/blob - src/frontends/qt2/QDocumentDialog.h
Lots and lots of little trivial bits.
[features.git] / src / frontends / qt2 / QDocumentDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QDocumentDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Kalle Dalheimer
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef QDOCUMENTDIALOG_H
13 #define QDOCUMENTDIALOG_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "ui/QDocumentDialogBase.h"
20
21 class QDocument;
22
23 class QDocumentDialog : public QDocumentDialogBase
24 { Q_OBJECT
25
26 public:
27         QDocumentDialog(QDocument * form, QWidget * parent = 0, const char * name = 0, bool modal = FALSE, WFlags fl = 0);
28         ~QDocumentDialog();
29
30 public slots:
31 #if 0
32         void slotApply();
33         void slotBulletLaTeX(const QString&);
34         void slotAMSMath(bool);
35         void slotBulletDepth1();
36         void slotBulletDepth2();
37         void slotBulletDepth3();
38         void slotBulletDepth4();
39         void slotBulletDing1();
40         void slotBulletDing2();
41         void slotBulletDing3();
42         void slotBulletDing4();
43         void slotBulletMaths();
44         void slotBulletSize(int);
45         void slotBulletStandard();
46         void slotBulletSymbol(int);
47         void slotClass(int);
48         void slotClose();
49         void slotColumns(int);
50         void slotDefaultSkip(const QString&);
51         void slotDefaultSkip(int);
52         void slotEncoding(int);
53         void slotExtraOptions(const QString&);
54         void slotFloatPlacement(const QString&);
55         void slotFont(int);
56         void slotFontSize(int);
57         void slotFootskip(const QString&);
58         void slotHeadheight(const QString&);
59         void slotHeadsep(const QString&);
60         void slotHeight(const QString&);
61         void slotLanguage(int);
62         void slotMarginBottom(const QString&);
63         void slotMarginLeft(const QString&);
64         void slotMarginRight(const QString&);
65         void slotMarginTop(const QString&);
66         void slotOK();
67         void slotOrientation(int);
68         void slotPSDriver(int);
69         void slotPageStyle(int);
70         void slotPapersize(int);
71         void slotQuoteStyle(int);
72         void slotQuoteType(int);
73         void slotRestore();
74         void slotSectionNumberDepth(int);
75         void slotSeparation(int);
76         void slotSides(int);
77         void slotSpacing(const QString&);
78         void slotSpacing(int);
79         void slotSpecialPaperPackage(int);
80         void slotTOCDepth(int);
81         void slotUseGeometryPackage(bool);
82         void slotWidth(const QString&);
83 #endif
84
85 protected:
86         void closeEvent(QCloseEvent *);
87
88 private:
89         QDocument * form_;
90         QToolButton* bulletbuttons[36];
91 };
92
93 #endif // QDOCUMENTDIALOG_H