]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs2.C
Hold on to your hats.
[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
16 #include "Dialogs_impl.h"
17
18
19 void Dialogs::showAboutlyx()
20 {
21         pimpl_->aboutlyx.controller().show();
22 }
23
24
25 void Dialogs::showMergeChanges()
26 {
27         pimpl_->changes.controller().show();
28 }
29
30
31 void Dialogs::showCharacter()
32 {
33         pimpl_->character.controller().show();
34 }
35
36
37 void Dialogs::setUserFreeFont()
38 {
39         pimpl_->character.controller().apply();
40 }
41
42
43 void Dialogs::showDocument()
44 {
45         pimpl_->document.controller().show();
46 }
47
48
49 void Dialogs::showExternal(InsetExternal * ie)
50 {
51         pimpl_->external.controller().showInset(ie);
52 }
53
54
55 void Dialogs::showFile(string const & f)
56 {
57         pimpl_->file.controller().showFile(f);
58 }
59
60
61 void Dialogs::showFloat(InsetFloat * ifl)
62 {
63         pimpl_->floats.controller().showInset(ifl);
64 }
65
66
67 void Dialogs::showForks()
68 {}
69
70
71 void Dialogs::showGraphics(InsetGraphics * ig)
72 {
73         pimpl_->graphics.controller().showInset(ig);
74 }
75
76
77 void Dialogs::showInclude(InsetInclude * ii)
78 {
79         pimpl_->include.controller().showInset(ii);
80 }
81
82
83 void Dialogs::showLogFile()
84 {
85         pimpl_->logfile.controller().show();
86 }
87
88
89 void Dialogs::showMathPanel()
90 {
91         // FIXME FIXME FIXME
92         extern void createMathPanel();
93
94         createMathPanel();
95 }
96
97
98 void Dialogs::showMinipage(InsetMinipage * im)
99 {
100         pimpl_->minipage.controller().showInset(im);
101 }
102
103
104 void Dialogs::updateMinipage(InsetMinipage * im)
105 {
106         pimpl_->minipage.controller().showInset(im);
107 }
108
109
110 void Dialogs::showParagraph()
111 {
112         pimpl_->paragraph.controller().show();
113 }
114
115
116 void Dialogs::updateParagraph()
117 {
118         pimpl_->paragraph.controller().changedParagraph();
119 }
120
121
122 void Dialogs::showPreamble()
123 {
124         // FIXME
125 }
126
127
128 void Dialogs::showPreferences()
129 {
130         pimpl_->prefs.controller().show();
131 }
132
133
134 void Dialogs::showPrint()
135 {
136         pimpl_->print.controller().show();
137 }
138
139
140 void Dialogs::showSearch()
141 {
142         pimpl_->search.controller().show();
143 }
144
145
146 void Dialogs::showSendto()
147 {
148         pimpl_->sendto.controller().show();
149 }
150
151
152 void Dialogs::showSpellchecker()
153 {
154         pimpl_->spellchecker.controller().show();
155 }
156
157
158 void Dialogs::showTabular(InsetTabular * it)
159 {
160         pimpl_->tabular.controller().showInset(it);
161 }
162
163
164 void Dialogs::updateTabular(InsetTabular * it)
165 {
166         pimpl_->tabular.controller().updateInset(it);
167 }
168
169
170 void Dialogs::showTabularCreate()
171 {
172         pimpl_->tabularcreate.controller().show();
173 }
174
175
176 void Dialogs::showTexinfo()
177 {
178         pimpl_->texinfo.controller().show();
179 }
180
181
182 #ifdef HAVE_LIBAIKSAURUS
183
184 void Dialogs::showThesaurus(string const & s)
185 {
186         pimpl_->thesaurus.controller().showEntry(s);
187 }
188
189 #else
190
191 void Dialogs::showThesaurus(string const &)
192 {}
193
194 #endif
195
196
197 void Dialogs::showVCLogFile()
198 {
199         pimpl_->vclogfile.controller().show();
200 }
201
202
203 void Dialogs::showWrap(InsetWrap * iw)
204 {
205         pimpl_->wrap.controller().showInset(iw);
206 }