]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs2.C
Port the tabular dialog to the new scheme based on class Dialog.
[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::showLogFile()
59 {
60         pimpl_->logfile.controller().show();
61 }
62
63
64 void Dialogs::showMathPanel()
65 {
66         // FIXME FIXME FIXME
67         extern void createMathPanel();
68
69         createMathPanel();
70 }
71
72
73 void Dialogs::showParagraph()
74 {
75         pimpl_->paragraph.controller().show();
76 }
77
78
79 void Dialogs::updateParagraph()
80 {
81         pimpl_->paragraph.controller().changedParagraph();
82 }
83
84
85 void Dialogs::showPreamble()
86 {
87         // FIXME
88 }
89
90
91 void Dialogs::showPreferences()
92 {
93         pimpl_->prefs.controller().show();
94 }
95
96
97 void Dialogs::showPrint()
98 {
99         pimpl_->print.controller().show();
100 }
101
102
103 void Dialogs::showSearch()
104 {
105         pimpl_->search.controller().show();
106 }
107
108
109 void Dialogs::showSendto()
110 {
111         pimpl_->sendto.controller().show();
112 }
113
114
115 void Dialogs::showSpellchecker()
116 {
117         pimpl_->spellchecker.controller().show();
118 }
119
120
121 void Dialogs::showTabularCreate()
122 {
123         pimpl_->tabularcreate.controller().show();
124 }
125
126
127 void Dialogs::showTexinfo()
128 {
129         pimpl_->texinfo.controller().show();
130 }
131
132
133 #ifdef HAVE_LIBAIKSAURUS
134
135 void Dialogs::showThesaurus(string const & s)
136 {
137         pimpl_->thesaurus.controller().showEntry(s);
138 }
139
140 #else
141
142 void Dialogs::showThesaurus(string const &)
143 {}
144
145 #endif
146
147
148 void Dialogs::showVCLogFile()
149 {
150         pimpl_->vclogfile.controller().show();
151 }