]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs2.C
port the minipage dialog to the new scheme. Various other small changes
[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::showParagraph()
80 {
81         pimpl_->paragraph.controller().show();
82 }
83
84
85 void Dialogs::updateParagraph()
86 {
87         pimpl_->paragraph.controller().changedParagraph();
88 }
89
90
91 void Dialogs::showPreamble()
92 {
93         // FIXME
94 }
95
96
97 void Dialogs::showPreferences()
98 {
99         pimpl_->prefs.controller().show();
100 }
101
102
103 void Dialogs::showPrint()
104 {
105         pimpl_->print.controller().show();
106 }
107
108
109 void Dialogs::showSearch()
110 {
111         pimpl_->search.controller().show();
112 }
113
114
115 void Dialogs::showSendto()
116 {
117         pimpl_->sendto.controller().show();
118 }
119
120
121 void Dialogs::showSpellchecker()
122 {
123         pimpl_->spellchecker.controller().show();
124 }
125
126
127 void Dialogs::showTabular(InsetTabular * it)
128 {
129         pimpl_->tabular.controller().showInset(it);
130 }
131
132
133 void Dialogs::updateTabular(InsetTabular * it)
134 {
135         pimpl_->tabular.controller().updateInset(it);
136 }
137
138
139 void Dialogs::showTabularCreate()
140 {
141         pimpl_->tabularcreate.controller().show();
142 }
143
144
145 void Dialogs::showTexinfo()
146 {
147         pimpl_->texinfo.controller().show();
148 }
149
150
151 #ifdef HAVE_LIBAIKSAURUS
152
153 void Dialogs::showThesaurus(string const & s)
154 {
155         pimpl_->thesaurus.controller().showEntry(s);
156 }
157
158 #else
159
160 void Dialogs::showThesaurus(string const &)
161 {}
162
163 #endif
164
165
166 void Dialogs::showVCLogFile()
167 {
168         pimpl_->vclogfile.controller().show();
169 }