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