#include <QtViewFactory.h>
Inheritance diagram for QtViewFactory:
ViewFactory
which creates a view that uses Qt Drawing.
Definition at line 28 of file QtViewFactory.h.
Public Member Functions | |
virtual FontBase * | createFont () const |
Creates a default FontBase object. | |
virtual ViewBase * | createView (PlotterBase *plotter) const |
Creates a view for the plotter. | |
QtViewFactory () | |
The default constructor. | |
Static Public Member Functions | |
static ViewFactory * | instance () |
The public interface for getting to the concrete default view factory. | |
Static Protected Attributes | |
static ViewFactory * | m_instance = 0 |
An instance of the default view factory. | |
Private Member Functions | |
QtViewFactory & | operator= (const QtViewFactory &) |
The disallowed assignment operator. | |
QtViewFactory (const QtViewFactory &) | |
The disallowed copy constructor. |
QtViewFactory | ( | ) |
The default constructor.
Definition at line 25 of file QtViewFactory.cxx.
Referenced by QtViewFactory::instance().
QtViewFactory | ( | const QtViewFactory & | ) | [private] |
The disallowed copy constructor.
FontBase * createFont | ( | ) | const [virtual] |
Creates a default FontBase object.
Implements ViewFactory.
Definition at line 50 of file QtViewFactory.cxx.
ViewBase * createView | ( | PlotterBase * | plotter | ) | const [virtual] |
Creates a view for the plotter.
Implements ViewFactory.
Definition at line 41 of file QtViewFactory.cxx.
ViewFactory * instance | ( | ) | [static] |
The public interface for getting to the concrete default view factory.
Reimplemented from ViewFactory.
Definition at line 30 of file QtViewFactory.cxx.
References ViewFactory::m_instance, and QtViewFactory::QtViewFactory().
Referenced by CanvasView::addFromPasteboard(), CanvasView::addFuncDisplay(), CanvasView::addTextDisplay(), CanvasView::addTextDisplayAt(), CanvasView::copyFromPasteboard(), CanvasView::initFromFile(), CanvasView::restoreFromSelectCopy(), and CanvasView::wrapPlotter().
QtViewFactory& operator= | ( | const QtViewFactory & | ) | [private] |
The disallowed assignment operator.
ViewFactory * m_instance = 0 [static, protected, inherited] |
An instance of the default view factory.
It should be created at the application initialization time for the default concrete view factory.
Definition at line 42 of file ViewFactory.h.
Referenced by ViewFactory::instance(), QtViewFactory::instance(), and ViewFactory::ViewFactory().