]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs2.C
Move the external dialog to the new scheme.
[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::showFile(string const & f)
50 {
51         pimpl_->file.controller().showFile(f);
52 }
53
54
55 void Dialogs::showFloat(InsetFloat * ifl)
56 {
57         pimpl_->floats.controller().showInset(ifl);
58 }
59
60
61 void Dialogs::showForks()
62 {}
63
64
65 void Dialogs::showGraphics(InsetGraphics * ig)
66 {
67         pimpl_->graphics.controller().showInset(ig);
68 }
69
70
71 void Dialogs::showInclude(InsetInclude * ii)
72 {
73         pimpl_->include.controller().showInset(ii);
74 }
75
76
77 void Dialogs::showLogFile()
78 {
79         pimpl_->logfile.controller().show();
80 }
81
82
83 void Dialogs::showMathPanel()
84 {
85         // FIXME FIXME FIXME
86         extern void createMathPanel();
87
88         createMathPanel();
89 }
90
91
92 void Dialogs::showMinipage(InsetMinipage * im)
93 {
94         pimpl_->minipage.controller().showInset(im);
95 }
96
97
98 void Dialogs::updateMinipage(InsetMinipage * im)
99 {
100         pimpl_->minipage.controller().showInset(im);
101 }
102
103
104 void Dialogs::showParagraph()
105 {
106         pimpl_->paragraph.controller().show();
107 }
108
109
110 void Dialogs::updateParagraph()
111 {
112         pimpl_->paragraph.controller().changedParagraph();
113 }
114
115
116 void Dialogs::showPreamble()
117 {
118         // FIXME
119 }
120
121
122 void Dialogs::showPreferences()
123 {
124         pimpl_->prefs.controller().show();
125 }
126
127
128 void Dialogs::showPrint()
129 {
130         pimpl_->print.controller().show();
131 }
132
133
134 void Dialogs::showSearch()
135 {
136         pimpl_->search.controller().show();
137 }
138
139
140 void Dialogs::showSendto()
141 {
142         pimpl_->sendto.controller().show();
143 }
144
145
146 void Dialogs::showSpellchecker()
147 {
148         pimpl_->spellchecker.controller().show();
149 }
150
151
152 void Dialogs::showTabular(InsetTabular * it)
153 {
154         pimpl_->tabular.controller().showInset(it);
155 }
156
157
158 void Dialogs::updateTabular(InsetTabular * it)
159 {
160         pimpl_->tabular.controller().updateInset(it);
161 }
162
163
164 void Dialogs::showTabularCreate()
165 {
166         pimpl_->tabularcreate.controller().show();
167 }
168
169
170 void Dialogs::showTexinfo()
171 {
172         pimpl_->texinfo.controller().show();
173 }
174
175
176 #ifdef HAVE_LIBAIKSAURUS
177
178 void Dialogs::showThesaurus(string const & s)
179 {
180         pimpl_->thesaurus.controller().showEntry(s);
181 }
182
183 #else
184
185 void Dialogs::showThesaurus(string const &)
186 {}
187
188 #endif
189
190
191 void Dialogs::showVCLogFile()
192 {
193         pimpl_->vclogfile.controller().show();
194 }
195
196
197 void Dialogs::showWrap(InsetWrap * iw)
198 {
199         pimpl_->wrap.controller().showInset(iw);
200 }