4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS
12 #ifndef QPREFSDIALOG_H
13 #define QPREFSDIALOG_H
18 #include "ui/QPrefsDialogBase.h"
23 class QPrefAsciiModule;
24 class QPrefDateModule;
25 class QPrefKeyboardModule;
26 class QPrefLatexModule;
27 class QPrefScreenFontsModule;
28 class QPrefColorsModule;
29 class QPrefDisplayModule;
30 class QPrefPathsModule;
31 class QPrefSpellcheckerModule;
32 class QPrefConvertersModule;
33 class QPrefFileformatsModule;
34 class QPrefLanguageModule;
35 class QPrefPrinterModule;
37 class QPrefIdentityModule;
39 class QPrefsDialog : public QPrefsDialogBase {
44 QPrefsDialog(QPrefs *);
48 void updateConverters();
53 void change_adaptor();
55 void switch_format(int);
60 void switch_converter(int);
62 void modify_converter();
63 void remove_converter();
69 void select_keymap1();
70 void select_keymap2();
72 void select_templatedir();
73 void select_tempdir();
74 void select_backupdir();
75 void select_workingdir();
76 void select_lyxpipe();
78 void select_roman(const QString&);
79 void select_sans(const QString&);
80 void select_typewriter(const QString&);
83 void closeEvent(QCloseEvent * e);
87 std::vector<LColor::color> colors_;
89 QPrefAsciiModule * asciiModule;
90 QPrefDateModule * dateModule;
91 QPrefKeyboardModule * keyboardModule;
92 QPrefLatexModule * latexModule;
93 QPrefScreenFontsModule * screenfontsModule;
94 QPrefColorsModule * colorsModule;
95 QPrefDisplayModule * displayModule;
96 QPrefPathsModule * pathsModule;
97 QPrefSpellcheckerModule * spellcheckerModule;
98 QPrefConvertersModule * convertersModule;
99 QPrefFileformatsModule * fileformatsModule;
100 QPrefLanguageModule * languageModule;
101 QPrefPrinterModule * printerModule;
102 QPrefUIModule * uiModule;
103 QPrefIdentityModule * identityModule;
108 #endif // PREFSDIALOG_H