- Main Page
- Classes
- Files
- Related Pages
- Examples

- Class List
- Class Hierarchy
- Class Members

# IAEX::CellFactory Class Reference

`#include <cellfactory.h>`

Inheritance diagram for IAEX::CellFactory:

List of all members.

## Public Member Functions
| CellFactory (Document *doc)
| The class constructor.
virtual | ~CellFactory ()
| The class destructor.
virtual Cell * | createCell (const QString &style, Cell *parent=0)

## Detailed Description

Interface for all cellfactories.

## Constructor & Destructor Documentation

IAEX::CellFactory::CellFactory | ( | Document * | doc | ) |

| The class constructor. Author: Ingemar Axelsson

IAEX::CellFactory::~CellFactory | ( |  | ) | `[virtual]`

| The class destructor. Author: Ingemar Axelsson

## Member Function Documentation

Cell * IAEX::CellFactory::createCell | ( | const QString & | style,
|  | Cell * | parent = `0`
| ) | `[virtual]`

| Author: Ingemar Axelsson and Anders Fernström Todo: Remove document dependency from Cellstructure. It is only used to point to a commandcenter (in this case the current document) and for the click event to get the current cursor. This can be done in some better way. Maybe by sending a signal to the document instead.(Ingemar Axelsson) Implements IAEX::Factory.

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

- C:/OpenModelica/OMNotebookQT4 v2/OMNotebookQT4/cellfactory.h
- C:/OpenModelica/OMNotebookQT4 v2/OMNotebookQT4/cellfactory.cpp