]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QTexinfo.h
partial fonts fix. Like Juergen said we really need our own dialog.
[lyx.git] / src / frontends / qt2 / QTexinfo.h
1 // -*- C++ -*-
2 /**
3  * \file QTexinfo.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef QTEXINFO_H
13 #define QTEXINFO_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "Qt2Base.h"
20
21 #include "ControlTexinfo.h"
22
23 #include <vector>
24
25 class QTexinfoDialog;
26
27 ///
28 class QTexinfo
29         : public Qt2CB<ControlTexinfo, Qt2DB<QTexinfoDialog> >
30 {
31 public:
32         ///
33         friend class QTexinfoDialog;
34         ///
35         QTexinfo();
36 private:
37         /// Apply changes
38         virtual void apply() {}
39         /// update (do we need this?)
40         virtual void update_contents() {}
41         /// build the dialog
42         virtual void build_dialog();
43         ///
44         void updateStyles(ControlTexinfo::texFileSuffix);
45         ///
46         void updateStyles();
47         ///
48         bool warningPosted;
49         ///
50         ControlTexinfo::texFileSuffix activeStyle;
51         ///
52         std::vector<string> cls_;
53         ///
54         std::vector<string> sty_;
55         ///
56         std::vector<string> bst_;
57 };
58
59 #endif // QTEXINFO_H