DrawAbleString Class Reference

#include <DrawAbleString.h>

List of all members.

Public Member Functions

 DrawAbleString (StringTreeNode *ref_, float density)
 ~DrawAbleString (void)
void setPosition (float x, float y)
void setSize (float x, float y)
StringTreeNodegetStringReference ()
void setGraphicsRef (QGraphicsTextItem *ref_)
QString getName ()

Private Attributes

float absoluteDensity
float sizeRel [2]
StringTreeNodeelemRef
QGraphicsTextItem * graphicsRef


Detailed Description

Structural class currently not in use. Serves to encapsulate all graphical items currently displayed, as a quick reference

Constructor & Destructor Documentation

DrawAbleString::DrawAbleString ( StringTreeNode ref_,
float  density 
)

Constructs a new DrawAbleString, where ref_ is the reference to the target tree node, and density the relative density of the searched term throughout the text

DrawAbleString::~DrawAbleString ( void   ) 


Member Function Documentation

QString DrawAbleString::getName (  ) 

Returns the contained string

StringTreeNode * DrawAbleString::getStringReference (  ) 

Returns a reference to the referenced tree node

void DrawAbleString::setGraphicsRef ( QGraphicsTextItem *  ref_  ) 

Assigns a GraphicsTextItem to the current container

void DrawAbleString::setPosition ( float  x,
float  y 
)

Sets the current screen position of the string relative coordinates

void DrawAbleString::setSize ( float  x,
float  y 
)

Sets the size of the current string in relative coordinates, where x is the width, and y is the height


Member Data Documentation

QGraphicsTextItem* DrawAbleString::graphicsRef [private]

float DrawAbleString::sizeRel[2] [private]


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

Generated on Tue Jun 8 15:23:24 2010 for WordTree by  doxygen 1.5.7.1