]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QGraphics.h
dont use pragma impementation and interface anymore
[lyx.git] / src / frontends / qt2 / QGraphics.h
1 // -*- C++ -*-
2 /**
3  * \file QGraphics.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  * \author Herbert Voss
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef QGRAPHICS_H
14 #define QGRAPHICS_H
15
16
17 #include "insets/insetgraphics.h"
18 #include "Qt2Base.h"
19
20 class ControlGraphics;
21 class QGraphicsDialog;
22
23 ///
24 class QGraphics
25         : public Qt2CB<ControlGraphics, Qt2DB<QGraphicsDialog> >
26 {
27 public:
28         ///
29         friend class QGraphicsDialog;
30         ///
31         QGraphics();
32 protected:
33         virtual bool isValid();
34 private:
35         /// Apply changes
36         virtual void apply();
37         /// update
38         virtual void update_contents();
39         /// build the dialog
40         virtual void build_dialog();
41         /// get bounding box from file
42         void getBB();
43
44         /// Store the LaTeX names for the rotation origins.
45         std::vector<string> origin_ltx;
46
47 };
48
49 #endif // QGRAPHICS_H