Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QtViewFactory Class Reference

#include <QtViewFactory.h>

Inheritance diagram for QtViewFactory:

Inheritance graph
[legend]
Collaboration diagram for QtViewFactory:

Collaboration graph
[legend]
List of all members.

Detailed Description

A ViewFactory which creates a view that uses Qt Drawing.

Definition at line 26 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::QtViewFactory  ) 
 

The default constructor.

Definition at line 23 of file QtViewFactory.cxx.

Referenced by instance().

QtViewFactory::QtViewFactory const QtViewFactory  )  [private]
 

The disallowed copy constructor.


Member Function Documentation

FontBase * QtViewFactory::createFont  )  const [virtual]
 

Creates a default FontBase object.

Implements ViewFactory.

Definition at line 48 of file QtViewFactory.cxx.

ViewBase * QtViewFactory::createView PlotterBase plotter  )  const [virtual]
 

Creates a view for the plotter.

Implements ViewFactory.

Definition at line 39 of file QtViewFactory.cxx.

ViewFactory * QtViewFactory::instance  )  [static]
 

The public interface for getting to the concrete default view factory.

Reimplemented from ViewFactory.

Definition at line 28 of file QtViewFactory.cxx.

References ViewFactory::m_instance, and QtViewFactory().

Referenced by CanvasView::addFromPasteboard(), CanvasView::addFuncDisplay(), CanvasView::addPlotDisplay(), CanvasView::addTextDisplay(), CanvasView::addTextDisplayAt(), CanvasView::copyFromPasteboard(), CanvasView::initFromFile(), and CanvasView::restoreFromSelectCopy().

QtViewFactory& QtViewFactory::operator= const QtViewFactory  )  [private]
 

The disallowed assignment operator.


Member Data Documentation

ViewFactory * 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 14 of file ViewFactory.cxx.

Referenced by ViewFactory::instance(), instance(), and ViewFactory::ViewFactory().


The documentation for this class was generated from the following files:
Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3