#include <TxqAttribDrawable.h>
Inheritance diagram for TxqAttribDrawable::

Public Slots | |
| void | canvasResize () |
| slot to set the resize canvas flag. More... | |
| void | zoomResize () |
| slot to set the zoom resize flag. More... | |
| void | zoomOff () |
| slot to set the zoom resize flag to off. More... | |
| void | clearPoints () |
| slot to clear the save point array. More... | |
Public Methods | |
| TxqAttribDrawable (TxAttributeSet *a) | |
| The constructor requires a TxAttributeSet. More... | |
| virtual | ~TxqAttribDrawable () |
| The destructor. More... | |
| void | paint (QPainter *g) |
| Paints the drawable. More... | |
| void | plotAttrib () |
| Public interface to plot the TxqAttribDrawable. More... | |
| void | setPixmap (QPixmap *p) |
| Set the pixmap to draw the data. More... | |
Protected Methods | |
| void | dump (QTextStream *ts) |
| Dump the object contents to the text stream ts. More... | |
Private Attributes | |
| QColor | color |
| The color of the object. More... | |
| TxAttributeSet* | attrib |
| The class attribute set. More... | |
| double | xPoint |
| The x point to draw. More... | |
| double | yPoint |
| The y point to draw. More... | |
| QArray<double> | xPointArray |
| The QPointArray to save X points. More... | |
| QArray<double> | yPointArray |
| The QPointArray to save Y points. More... | |
| QArray<QColor> | colorArray |
| The QArray of colors. More... | |
| unsigned int | pointIndex |
| The current point index. More... | |
| bool | savePoints |
| bool flag to determine if saving points. More... | |
| bool | resizePointIndex |
| bool flag if point array is set back to 0. More... | |
| bool | canvasResizeFlag |
| bool flag to set true if canvas is resized. More... | |
| bool | zoomFlag |
| bool flag set true if canvas is in a zoomed state. More... | |
| bool | firstZoomOff |
| bool flag for first zoom off. More... | |
| QPainter* | painter |
| The QPainter pointer. More... | |
| QPixmap* | pixmap |
| The pixmap. More... | |
This class can be used for animation.
Copyright 2001 by Tech-X Corporation
Definition at line 37 of file TxqAttribDrawable.h.
|
|
The constructor requires a TxAttributeSet.
|
|
|
The destructor.
Definition at line 52 of file TxqAttribDrawable.h. |
|
|
slot to set the resize canvas flag.
|
|
|
slot to clear the save point array.
|
|
|
Dump the object contents to the text stream ts.
Reimplemented from TxqDrawable. |
|
|
Paints the drawable.
Reimplemented from Txq2dDrawable. |
|
|
Public interface to plot the TxqAttribDrawable.
|
|
|
Set the pixmap to draw the data.
Definition at line 69 of file TxqAttribDrawable.h. |
|
|
slot to set the zoom resize flag to off.
|
|
|
slot to set the zoom resize flag.
|
|
|
The class attribute set.
Definition at line 113 of file TxqAttribDrawable.h. |
|
|
bool flag to set true if canvas is resized.
Definition at line 158 of file TxqAttribDrawable.h. |
|
|
The color of the object.
Reimplemented from TxqDrawable. Definition at line 108 of file TxqAttribDrawable.h. |
|
|
The QArray of colors.
Definition at line 138 of file TxqAttribDrawable.h. |
|
|
bool flag for first zoom off.
Definition at line 168 of file TxqAttribDrawable.h. |
|
|
The QPainter pointer.
Definition at line 173 of file TxqAttribDrawable.h. |
|
|
The pixmap.
Definition at line 178 of file TxqAttribDrawable.h. |
|
|
The current point index.
Definition at line 143 of file TxqAttribDrawable.h. |
|
|
bool flag if point array is set back to 0.
Definition at line 153 of file TxqAttribDrawable.h. |
|
|
bool flag to determine if saving points.
Definition at line 148 of file TxqAttribDrawable.h. |
|
|
The x point to draw.
Definition at line 118 of file TxqAttribDrawable.h. |
|
|
The QPointArray to save X points.
Definition at line 128 of file TxqAttribDrawable.h. |
|
|
The y point to draw.
Definition at line 123 of file TxqAttribDrawable.h. |
|
|
The QPointArray to save Y points.
Definition at line 133 of file TxqAttribDrawable.h. |
|
|
bool flag set true if canvas is in a zoomed state.
Definition at line 163 of file TxqAttribDrawable.h. |
Copyright Tech-X Corporation, all rights reserved.