18 #ifndef ELEMENTFACTORY_H 19 #define ELEMENTFACTORY_H 75 #endif // ELEMENTFACTORY_H
The ElementFactory class this class is a pattern factory and also a singleton factory. this class create new instance of herited class element like simple element or report element.
static void dropInstance()
Element * createElement(const ElementsLocation &, QGraphicsItem *=nullptr, int *=nullptr)
ElementFactory::createElement.
static ElementFactory * factory_
ElementFactory operator=(const ElementFactory &)
static ElementFactory * Instance()