]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs2.C
Port the Merge Changes dialog to the Dialog 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::showCharacter()
19 {
20         pimpl_->character.controller().show();
21 }
22
23
24 void Dialogs::setUserFreeFont()
25 {
26         pimpl_->character.controller().apply();
27 }
28
29
30 void Dialogs::showDocument()
31 {
32         pimpl_->document.controller().show();
33 }
34
35
36 void Dialogs::showFile(string const & f)
37 {
38         pimpl_->file.controller().showFile(f);
39 }
40
41
42 void Dialogs::showForks()
43 {}
44
45
46 void Dialogs::showLogFile()
47 {
48         pimpl_->logfile.controller().show();
49 }
50
51
52 void Dialogs::showMathPanel()
53 {
54         // FIXME FIXME FIXME
55         extern void createMathPanel();
56
57         createMathPanel();
58 }
59
60
61 void Dialogs::showParagraph()
62 {
63         pimpl_->paragraph.controller().show();
64 }
65
66
67 void Dialogs::updateParagraph()
68 {
69         pimpl_->paragraph.controller().changedParagraph();
70 }
71
72
73 void Dialogs::showPreamble()
74 {
75         // FIXME
76 }
77
78
79 void Dialogs::showPreferences()
80 {
81         pimpl_->prefs.controller().show();
82 }
83
84
85 void Dialogs::showPrint()
86 {
87         pimpl_->print.controller().show();
88 }
89
90
91 void Dialogs::showSearch()
92 {
93         pimpl_->search.controller().show();
94 }
95
96
97 void Dialogs::showSendto()
98 {
99         pimpl_->sendto.controller().show();
100 }
101
102
103 void Dialogs::showSpellchecker()
104 {
105         pimpl_->spellchecker.controller().show();
106 }
107
108
109 void Dialogs::showTexinfo()
110 {
111         pimpl_->texinfo.controller().show();
112 }
113
114
115 #ifdef HAVE_LIBAIKSAURUS
116
117 void Dialogs::showThesaurus(string const & s)
118 {
119         pimpl_->thesaurus.controller().showEntry(s);
120 }
121
122 #else
123
124 void Dialogs::showThesaurus(string const &)
125 {}
126
127 #endif
128
129
130 void Dialogs::showVCLogFile()
131 {
132         pimpl_->vclogfile.controller().show();
133 }