]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs_impl.h
Some Qt graphics dialog improvements. Yet more work needed :/
[lyx.git] / src / frontends / qt2 / Dialogs_impl.h
1 // -*- C++ -*-
2 /**
3  * \file Dialogs_impl.h
4  * Copyright 1995-2002 The LyX Team.
5  * See the file COPYING.
6  * \author Angus Leeming <leeming@lyx.org>
7  */
8
9 #ifndef DIALOGS_IMPL_H
10 #define DIALOGS_IMP_H
11
12 #ifdef __GNUG__
13 #pragma interface
14 #endif
15
16 #include "Dialogs.h"
17 #include "controllers/GUI.h"
18
19 #include "ControlAboutlyx.h"
20 #include "ControlBibitem.h"
21 #include "ControlBibtex.h"
22 #include "ControlCharacter.h"
23 #include "ControlCitation.h"
24 #include "ControlError.h"
25 #include "ControlERT.h"
26 #include "ControlExternal.h"
27 #include "ControlFloat.h"
28 #include "ControlForks.h"
29 #include "ControlGraphics.h"
30 #include "insets/insetgraphicsParams.h"
31 #include "ControlInclude.h"
32 #include "ControlIndex.h"
33 #include "ControlLog.h"
34 #include "ControlMinipage.h"
35 #include "ControlParagraph.h"
36 #include "ControlPreamble.h"
37 #include "ControlPrint.h"
38 #include "ControlRef.h"
39 #include "ControlSearch.h"
40 #include "ControlSendto.h"
41 #include "ControlShowFile.h"
42 #include "ControlSpellchecker.h"
43 #include "ControlTabularCreate.h"
44 #include "ControlTexinfo.h"
45 #include "ControlToc.h"
46 #include "ControlUrl.h"
47 #include "ControlVCLog.h"
48
49 #include "QAbout.h"
50 #include "QAboutDialog.h"
51 #include "QBibitem.h"
52 #include "QBibitemDialog.h"
53 #include "QBibtex.h"
54 #include "QBibtexDialog.h"
55 #include "QCharacter.h"
56 #include "QCharacterDialog.h"
57 #include "QCitation.h"
58 #include "QCitationDialog.h"
59 //#include "QDocument.h"
60 #include "QError.h"
61 #include "QErrorDialog.h"
62 #include "QERT.h"
63 #include "QERTDialog.h"
64 #include "QExternal.h"
65 #include "QExternalDialog.h"
66 #include "QFloat.h"
67 #include "QFloatDialog.h"
68 //#include "QForks.h"
69 // Here would be an appropriate point to lecture on the evils
70 // of the Qt headers, those most fucked up of disgusting ratholes.
71 // But I won't.
72 #undef signals
73 #include "QGraphics.h"
74 #include "QGraphicsDialog.h"
75 #include "QInclude.h"
76 #include "QIncludeDialog.h"
77 #include "QIndex.h"
78 #include "QIndexDialog.h"
79 #include "QLog.h"
80 #include "QLogDialog.h"
81 #include "QMinipage.h"
82 #include "QMinipageDialog.h"
83 #include "QParagraph.h"
84 #include "QParagraphDialog.h"
85 #include "QPreamble.h"
86 #include "QPreambleDialog.h"
87 //#include "QPreferences.h"
88 #include "QPrint.h"
89 #include "QPrintDialog.h"
90 #include "QRef.h"
91 #include "QRefDialog.h"
92 #include "QSearch.h"
93 #include "QSearchDialog.h"
94 //#include "QSendto.h"
95 #include "QShowFile.h"
96 #include "QShowFileDialog.h"
97 #include "QSpellchecker.h"
98 #include "QSpellcheckerDialog.h"
99 //#include "QTabular.h"
100 #include "QTabularCreate.h"
101 #include "QTabularCreateDialog.h"
102 #include "QTexinfo.h"
103 #include "QTexinfoDialog.h"
104
105 #ifdef HAVE_LIBAIKSAURUS
106 #include "ControlThesaurus.h"
107 #include "QThesaurus.h"
108 #include "QThesaurusDialog.h"
109 #endif
110
111 #include "QToc.h"
112 #include "QTocDialog.h"
113 #include "QURL.h"
114 #include "QURLDialog.h"
115 #include "QVCLog.h"
116 #include "QVCLogDialog.h"
117
118 #include "Qt2BC.h"
119
120
121
122 typedef GUI<ControlAboutlyx, QAbout, OkCancelPolicy, Qt2BC>
123 AboutlyxDialog;
124
125 typedef GUI<ControlBibitem, QBibitem, OkCancelReadOnlyPolicy, Qt2BC>
126 BibitemDialog;
127
128 typedef GUI<ControlBibtex, QBibtex, OkCancelReadOnlyPolicy, Qt2BC>
129 BibtexDialog;
130
131 typedef GUI<ControlCharacter, QCharacter, OkApplyCancelReadOnlyPolicy, Qt2BC>
132 CharacterDialog;
133
134 typedef GUI<ControlCitation, QCitation, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
135 CitationDialog;
136
137 typedef GUI<ControlError, QError, OkCancelPolicy, Qt2BC>
138 ErrorDialog;
139
140 typedef GUI<ControlERT, QERT, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
141 ERTDialog;
142
143 typedef GUI<ControlExternal, QExternal, OkApplyCancelReadOnlyPolicy, Qt2BC>
144 ExternalDialog;
145
146 typedef GUI<ControlShowFile, QShowFile, OkCancelPolicy, Qt2BC>
147 FileDialog;
148
149 typedef GUI<ControlFloat, QFloat, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
150 FloatDialog;
151
152 typedef GUI<ControlGraphics, QGraphics, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
153 GraphicsDialog;
154
155 typedef GUI<ControlInclude, QInclude, OkCancelReadOnlyPolicy, Qt2BC>
156 IncludeDialog;
157
158 typedef GUI<ControlIndex, QIndex, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
159 IndexDialog;
160
161 typedef GUI<ControlLog, QLog, OkCancelPolicy, Qt2BC>
162 LogFileDialog;
163
164 typedef GUI<ControlMinipage, QMinipage, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
165 MinipageDialog;
166
167 typedef GUI<ControlParagraph, QParagraph, OkApplyCancelReadOnlyPolicy, Qt2BC>
168 ParagraphDialog;
169
170 typedef GUI<ControlPreamble, QPreamble, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
171 PreambleDialog;
172
173 typedef GUI<ControlPrint, QPrint, OkApplyCancelPolicy, Qt2BC>
174 PrintDialog;
175
176 typedef GUI<ControlRef, QRef, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
177 RefDialog;
178
179 typedef GUI<ControlSearch, QSearch, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
180 SearchDialog;
181
182 typedef GUI<ControlSpellchecker, QSpellchecker, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
183 SpellcheckerDialog;
184
185 typedef GUI<ControlTabularCreate, QTabularCreate, OkApplyCancelReadOnlyPolicy, Qt2BC>
186 TabularCreateDialog;
187
188 typedef GUI<ControlTexinfo, QTexinfo, OkCancelPolicy, Qt2BC>
189 TexinfoDialog;
190
191 #ifdef HAVE_LIBAIKSAURUS
192 typedef GUI<ControlThesaurus, QThesaurus, OkApplyCancelReadOnlyPolicy, Qt2BC>
193 ThesaurusDialog;
194 #endif
195
196 typedef GUI<ControlToc, QToc, OkCancelPolicy, Qt2BC>
197 TocDialog;
198
199 typedef GUI<ControlUrl, QURL, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
200 UrlDialog;
201
202 typedef GUI<ControlVCLog, QVCLog, OkCancelPolicy, Qt2BC>
203 VCLogFileDialog;
204
205
206 struct Dialogs::Impl {
207         Impl(LyXView & lv, Dialogs & d);
208
209         AboutlyxDialog      aboutlyx;
210         BibitemDialog       bibitem;
211         BibtexDialog        bibtex;
212         CharacterDialog     character;
213         CitationDialog      citation;
214         ErrorDialog         error;
215         ERTDialog           ert;
216         ExternalDialog      external;
217         FileDialog          file;
218         FloatDialog         floats;
219         GraphicsDialog      graphics;
220         IncludeDialog       include;
221         IndexDialog         index;
222         LogFileDialog       logfile;
223         MinipageDialog      minipage;
224         ParagraphDialog     paragraph;
225         PreambleDialog      preamble;
226         PrintDialog         print;
227         RefDialog           ref;
228         SearchDialog        search;
229         SpellcheckerDialog  spellchecker;
230         TabularCreateDialog tabularcreate;
231         TexinfoDialog       texinfo;
232
233 #ifdef HAVE_LIBAIKSAURUS
234         ThesaurusDialog     thesaurus;
235 #endif
236
237         TocDialog           toc;
238         UrlDialog           url;
239         VCLogFileDialog     vclogfile;
240 };
241
242 #endif // DIALOGS_IMPL_H