Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qt
QtViewFactory.cxx
Go to the documentation of this file.
1
12
#ifdef _MSC_VER
13
#include "msdevstudio/MSconfig.h"
14
#endif
15
16
#include "
QtViewFactory.h
"
17
18
#include "
QtFont.h
"
19
#include "
QtView.h
"
20
21
#include "
plotters/PlotterBase.h
"
22
23
namespace
hippodraw {
24
25
QtViewFactory::QtViewFactory
( )
26
:
ViewFactory
()
27
{
28
}
29
30
ViewFactory
*
QtViewFactory::instance
()
31
{
32
if
(
m_instance
== 0 ) {
33
m_instance
=
new
QtViewFactory
();
34
}
35
36
return
m_instance
;
37
}
38
39
ViewBase
*
40
QtViewFactory::
41
createView
(
PlotterBase
* plotter )
const
42
{
43
QtView
* view =
new
QtView
( plotter );
44
45
return
view;
46
}
47
48
FontBase
*
49
QtViewFactory::
50
createFont
()
const
51
{
52
return
new
QtFont
();
53
}
54
55
}
// namespace hippodraw
56
Generated for HippoDraw Class Library by