Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qt
CanvasViewProxy.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef CanvasViewProxy_H
15
#define CanvasViewProxy_H
16
17
#include "
libqthippo.h
"
18
19
#include "qobject.h"
20
21
#include <string>
22
23
namespace
hippodraw {
24
25
class
CanvasView;
26
class
PlotterBase;
27
45
class
MDL_QTHIPPOPLOT_API
CanvasViewProxy
:
private
QObject
46
{
47
Q_OBJECT
48
49
private
:
50
53
CanvasView
*
m_canvas_view
;
54
57
CanvasViewProxy
(
const
CanvasViewProxy
& );
58
61
void
lock ();
62
65
void
unlock ();
66
67
public
:
68
71
CanvasViewProxy
(
CanvasView
* view );
72
75
virtual
~
CanvasViewProxy
();
76
79
void
addDisplay (
PlotterBase
* plotter );
80
83
void
clear ();
84
87
void
saveAsImage (
const
PlotterBase
*,
const
std::string & filename );
88
91
void
swapOrientation ();
92
93
signals:
94
97
void
addDisplaySignal (
PlotterBase
* plotter );
98
101
void
clearSignal ();
102
105
void
saveAsImageSignal (
const
PlotterBase
* plotter,
106
const
std::string & filename );
107
110
void
swapOrientationSignal ();
111
112
};
113
114
}
// namespace hippodraw
115
116
#endif // CanvasViewProxy_H
Generated for HippoDraw Class Library by