]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs2.C
Fix symbol insert.
[lyx.git] / src / frontends / qt2 / Dialogs2.C
1 /**
2  * \file qt2/Dialogs2.C
3  * Copyright 1995 Matthias Ettrich
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Allan Rae
8  * \author Angus Leeming
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #include <config.h>
14
15 #ifdef __GNUG__
16 #pragma implementation
17 #endif
18
19 #include "Dialogs_impl.h"
20
21
22 void Dialogs::showAboutlyx()
23 {
24         pimpl_->aboutlyx.controller().show();
25 }
26
27
28 void Dialogs::showBibitem(InsetCommand * ic)
29 {
30         pimpl_->bibitem.controller().showInset(ic);
31 }
32
33
34 void Dialogs::showBibtex(InsetCommand * ic)
35 {
36         pimpl_->bibtex.controller().showInset(ic);
37 }
38
39
40 void Dialogs::showCharacter()
41 {
42         pimpl_->character.controller().show();
43 }
44
45
46 void Dialogs::setUserFreeFont()
47 {
48         pimpl_->character.controller().apply();
49 }
50
51
52 void Dialogs::showCitation(InsetCommand * ic)
53 {
54         pimpl_->citation.controller().showInset(ic);
55 }
56
57
58 void Dialogs::createCitation(string const & s)
59 {
60         pimpl_->citation.controller().createInset(s);
61 }
62
63
64 void Dialogs::showDocument()
65 {
66         pimpl_->document.controller().show();
67 }
68
69
70 void Dialogs::showError(InsetError * ie)
71 {
72         pimpl_->error.controller().showInset(ie);
73 }
74
75
76 void Dialogs::showERT(InsetERT * ie)
77 {
78         pimpl_->ert.controller().showInset(ie);
79 }
80
81
82 void Dialogs::updateERT(InsetERT * ie)
83 {
84         pimpl_->ert.controller().showInset(ie);
85 }
86
87
88 void Dialogs::showExternal(InsetExternal * ie)
89 {
90         pimpl_->external.controller().showInset(ie);
91 }
92
93
94 void Dialogs::showFile(string const & f)
95 {
96         pimpl_->file.controller().showFile(f);
97 }
98
99
100 void Dialogs::showFloat(InsetFloat * ifl)
101 {
102         pimpl_->floats.controller().showInset(ifl);
103 }
104
105
106 void Dialogs::showForks()
107 {}
108
109
110 void Dialogs::showGraphics(InsetGraphics * ig)
111 {
112         pimpl_->graphics.controller().showInset(ig);
113 }
114
115
116 void Dialogs::showInclude(InsetInclude * ii)
117 {
118         pimpl_->include.controller().showInset(ii);
119 }
120
121
122 void Dialogs::showIndex(InsetCommand * ic)
123 {
124         pimpl_->index.controller().showInset(ic);
125 }
126
127
128 void Dialogs::createIndex()
129 {
130         pimpl_->index.controller().createInset(string());
131 }
132
133
134 void Dialogs::showListing(InsetCommand * ic)
135 {
136         pimpl_->listing.controller().showInset(ic);
137 }
138
139
140 void Dialogs::createListing(string const & s)
141 {
142         pimpl_->listing.controller().createInset(s);
143 }
144
145
146 void Dialogs::showLogFile()
147 {
148         pimpl_->logfile.controller().show();
149 }
150
151
152 void Dialogs::showMathPanel()
153 {
154         // FIXME FIXME FIXME
155         extern void createMathPanel();
156
157         createMathPanel();
158 }
159
160
161 void Dialogs::showMinipage(InsetMinipage * im)
162 {
163         pimpl_->minipage.controller().showInset(im);
164 }
165
166
167 void Dialogs::updateMinipage(InsetMinipage * im)
168 {
169         pimpl_->minipage.controller().showInset(im);
170 }
171
172
173 void Dialogs::showParagraph()
174 {
175         pimpl_->paragraph.controller().show();
176 }
177
178
179 void Dialogs::updateParagraph()
180 {
181         pimpl_->paragraph.controller().changedParagraph();
182 }
183
184
185 void Dialogs::showPreamble()
186 {
187         pimpl_->document.controller().showPreamble();
188 }
189
190
191 void Dialogs::showPreferences()
192 {}
193
194
195 void Dialogs::showPrint()
196 {
197         pimpl_->print.controller().show();
198 }
199
200
201 void Dialogs::showRef(InsetCommand * ic)
202 {
203         pimpl_->ref.controller().showInset(ic);
204 }
205
206
207 void Dialogs::createRef(string const & s)
208 {
209         pimpl_->ref.controller().createInset(s);
210 }
211
212
213 void Dialogs::showSearch()
214 {
215         pimpl_->search.controller().show();
216 }
217
218
219 void Dialogs::showSendto()
220 {
221         pimpl_->sendto.controller().show();
222 }
223
224
225 void Dialogs::showSpellchecker()
226 {
227         pimpl_->spellchecker.controller().show();
228 }
229
230
231 void Dialogs::showTabular(InsetTabular *)
232 {}
233
234
235 void Dialogs::updateTabular(InsetTabular *)
236 {}
237
238
239 void Dialogs::showTabularCreate()
240 {
241         pimpl_->tabularcreate.controller().show();
242 }
243
244
245 void Dialogs::showTexinfo()
246 {
247         pimpl_->texinfo.controller().show();
248 }
249
250
251 #ifdef HAVE_LIBAIKSAURUS
252
253 void Dialogs::showThesaurus(string const & s)
254 {
255         pimpl_->thesaurus.controller().showEntry(s);
256 }
257
258 #else
259
260 void Dialogs::showThesaurus(string const &)
261 {}
262
263 #endif
264
265
266 void Dialogs::showTOC(InsetCommand * ic)
267 {
268         pimpl_->toc.controller().showInset(ic);
269 }
270
271
272 void Dialogs::createTOC(string const & s)
273 {
274         pimpl_->toc.controller().createInset(s);
275 }
276
277
278 void Dialogs::showUrl(InsetCommand * ic)
279 {
280         pimpl_->url.controller().showInset(ic);
281 }
282
283
284 void Dialogs::createUrl(string const & s)
285 {
286         pimpl_->url.controller().createInset(s);
287 }
288
289
290 void Dialogs::showVCLogFile()
291 {
292         pimpl_->vclogfile.controller().show();
293 }
294
295
296 void Dialogs::showWrap(InsetWrap * iw)
297 {
298         pimpl_->wrap.controller().showInset(iw);
299 }