scidavis  2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot).
  Fossies Dox: scidavis-2.3.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

PartMaker Class Referenceabstract

Factory for AbstractPart objects. More...

#include <interfaces.h>

Public Member Functions

virtual ~PartMaker ()
virtual AbstractPartmakePart ()=0
 The factory method. More...
virtual QAction * makeAction (QObject *parent)=0
 The action to be used for making new parts. More...

Detailed Description

Factory for AbstractPart objects.

Definition at line 48 of file interfaces.h.

Constructor & Destructor Documentation

◆ ~PartMaker()

virtual PartMaker::~PartMaker ( )

Definition at line 51 of file interfaces.h.

51 {}

Member Function Documentation

◆ makeAction()

virtual QAction* PartMaker::makeAction ( QObject *  parent)
pure virtual

The action to be used for making new parts.

The caller takes care of connecting the action. If the parent argument is zero, it also recieves ownership of the action. Implementations should only set things like name and icon.

◆ makePart()

virtual AbstractPart* PartMaker::makePart ( )
pure virtual

The factory method.

The documentation for this class was generated from the following file: