QtViewFactory Class Reference

#include <QtViewFactory.h>

Inheritance diagram for QtViewFactory:

Inheritance graph
ViewFactory
[legend]
Collaboration diagram for QtViewFactory:

Collaboration graph
ViewFactory
[legend]
List of all members.

Detailed Description

A ViewFactory which creates a view that uses Qt Drawing.

Definition at line 28 of file QtViewFactory.h.

Public Member Functions

virtual FontBasecreateFont () const
 Creates a default FontBase object.
virtual ViewBasecreateView (PlotterBase *plotter) const
 Creates a view for the plotter.
 QtViewFactory ()
 The default constructor.

Static Public Member Functions

static ViewFactoryinstance ()
 The public interface for getting to the concrete default view factory.

Static Protected Attributes

static ViewFactorym_instance = 0
 An instance of the default view factory.

Private Member Functions

QtViewFactoryoperator= (const QtViewFactory &)
 The disallowed assignment operator.
 QtViewFactory (const QtViewFactory &)
 The disallowed copy constructor.


Constructor & Destructor Documentation

QtViewFactory (  ) 

The default constructor.

Definition at line 25 of file QtViewFactory.cxx.

Referenced by QtViewFactory::instance().

QtViewFactory ( const QtViewFactory  )  [private]

The disallowed copy constructor.


Member Function Documentation

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.


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated for HippoDraw Class Library by doxygen