casa
5.7.0-16
|
#include <AnnotationText.h>
Public Member Functions | |
AnnotationText (QWidget *parent) | |
void | drawAnnotation (QPainter *painter) |
virtual | ~AnnotationText () |
virtual void | propertiesChanged () |
Public Member Functions inherited from casa::Annotation | |
Annotation (QWidget *parent=NULL) | |
void | setDimensionsPosition (int locationX, int locationY) |
Changes the size of the annotation. More... | |
void | setDimensions (int width, int height) |
void | move (int positionX, int positionY) |
Moves the top left corner of the annotation to (positionX, positionY);. More... | |
bool | registerMousePosition (int mouseX, int mouseY) |
Stores the passed in values as reference points so that they can be later used to calculate how much to move the annotation. More... | |
void | mousePositionMoved (int mouseX, int mouseY) |
(mouseX,mouseY) are the new position of the mouse. More... | |
void | draw (QPainter *painter) |
void | setSelected (bool selected) |
bool | isSelected () const |
bool | contains (int posX, int posY) const |
void | showEditor () |
virtual | ~Annotation () |
Public Member Functions inherited from casa::PropertyListener | |
PropertyListener () | |
virtual | ~PropertyListener () |
Private Attributes | |
QString | label |
QFont | fontFamily |
AnnotationEditorText * | annotationEditorText |
Additional Inherited Members | |
Protected Member Functions inherited from casa::Annotation | |
void | init () |
Protected Attributes inherited from casa::Annotation | |
AnnotationEditor | annotationEditor |
int | pixelX |
Top left corner of the annotation. More... | |
int | pixelY |
int | width |
int | height |
int | mouseDownX |
Stored reference point for later calculation move amounts. More... | |
int | mouseDownY |
Definition at line 17 of file AnnotationText.h.
casa::AnnotationText::AnnotationText | ( | QWidget * | parent | ) |
|
virtual |
|
virtual |
Implements casa::Annotation.
|
virtual |
Reimplemented from casa::Annotation.
|
private |
Definition at line 28 of file AnnotationText.h.
|
private |
Definition at line 27 of file AnnotationText.h.
|
private |
Definition at line 26 of file AnnotationText.h.