All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TextItem.h File Reference

Class that represents text. This object is of type QGraphicsTextItem. He is directly editable via user interaction. His transformation matrix is inverted, that is, the inverse of the matrix of the scene, so its coordinate system is screen (pixel), but its position in the scene remains in millimeters. This is also son of ItemObserver, so it can become observer of a model (Observable). "View" part of MVC component. More...

#include "../../core/pattern/mvc/ItemObserver.h"
#include "ObjectItem.h"
#include "../../core/Config.h"
#include "ParentItem.h"
#include <QGraphicsTextItem>
#include <QImage>
#include <QColor>
#include <QVariant>
#include <QPointF>
#include <QRectF>

Go to the source code of this file.

Classes

class  te::layout::TextItem
 Class that represents text. This object is of type QGraphicsTextItem. He is directly editable via user interaction. His transformation matrix is inverted, that is, the inverse of the matrix of the scene, so its coordinate system is screen (pixel), but its position in the scene remains in millimeters. Drawing starting point is llx, lly. He is also the son of ItemObserver, so it can become observer of a model (Observable). "View" part of MVC component. More...
 

Namespaces

 te
 URI C++ Library.
 
 te::layout
 This is the namespace for the Layout module.
 

Detailed Description

Class that represents text. This object is of type QGraphicsTextItem. He is directly editable via user interaction. His transformation matrix is inverted, that is, the inverse of the matrix of the scene, so its coordinate system is screen (pixel), but its position in the scene remains in millimeters. This is also son of ItemObserver, so it can become observer of a model (Observable). "View" part of MVC component.

Definition in file TextItem.h.