]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QTexinfo.h
Lots and lots of little trivial bits.
[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 class QTexinfoDialog;
24
25 ///
26 class QTexinfo
27         : public Qt2CB<ControlTexinfo, Qt2DB<QTexinfoDialog> >
28 {
29 public:
30         ///
31         friend class QTexinfoDialog;
32         ///
33         QTexinfo();
34 private:
35         /// Apply changes
36         virtual void apply() { };
37         /// update (do we need this?)
38         virtual void update_contents() {};
39         /// build the dialog
40         virtual void build_dialog();
41         ///
42         void updateStyles(ControlTexinfo::texFileSuffix);
43         ///
44         void updateStyles();
45         ///
46         bool warningPosted;
47         ///
48         ControlTexinfo::texFileSuffix activeStyle;
49         ///
50         std::vector<string> cls_;
51         ///
52         std::vector<string> sty_;
53         ///
54         std::vector<string> bst_;
55 };
56
57 #endif // QTEXINFO_H