

Definition at line 20 of file QtView.sip.
Public Member Functions | |
| QtView (PlotterBase *) | |
| The constructor. | |
| virtual | ~QtView () |
| The required virtual destructor. | |
| virtual void | draw (QPainter &) |
| Re-Implements the inherited function from QCanvasPoygonalItem. | |
| virtual void | drawShape (QPainter &) |
| Overrides pure virtual function of QCanvasPolygonalItem. | |
| virtual void | update (const Observable *) |
| Responds to Obvervable update message. | |
| virtual void | setShowCrossHairs (bool) |
| Sets display status of cross-hairs. | |
| void | setDrawRect (const QRect &) |
| Sets the drawing rectangle in the paint device space. | |
| virtual void | setDrawRect (float, float, float, float) |
| Sets the drawing rectangle in the paint device space. | |
| virtual void | initPlot (double) |
| Initializes a view before drawing. | |
| virtual void | endPlot () |
| Finalizes the plot view by unlocking the QApplication. | |
| int | toViewX (double) const |
| Converts the data space coordinate X to the view space coordinate X. | |
| int | toViewY (double) const |
| Converts the data space coordinate Y to the view space coordinate Y. | |
| virtual void | fillPickedPoint (double, double, std::vector< double > &) const |
| virtual void | setPageWidth (int) |
| Set the page width. | |
|
|
The constructor.
|
|
|
The required virtual destructor.
|
|
|
Re-Implements the inherited function from QCanvasPoygonalItem. First calls base class to draw the contents. If selected, then also draws the border and sends update message to m_inspector. |
|
|
Overrides pure virtual function of QCanvasPolygonalItem.
Reimplemented from QCanvasRectangle. |
|
|
Finalizes the plot view by unlocking the QApplication.
Implements ViewBase. |
|
||||||||||||||||
|
|
|
|
Initializes a view before drawing. The view should check it size. The parameter aspect, if greater than 0.0, sets the aspect ratio of the view, i.e. the ratio of the width to the height. Implements ViewBase. |
|
||||||||||||||||||||
|
Sets the drawing rectangle in the paint device space.
Implements ViewBase. |
|
|
Sets the drawing rectangle in the paint device space.
|
|
|
Set the page width. It is used for setting the dimensions of the draw rectangle |
|
|
Sets display status of cross-hairs.
Sets the display of cross-hairs at the previous defined position on if flag is
|
|
|
Converts the data space coordinate X to the view space coordinate X.
|
|
|
Converts the data space coordinate Y to the view space coordinate Y.
|
|
|
Responds to Obvervable update message. If display is not null, responds to Obvervable update message by informing the QCanvas that its rectangluar has changed. Implements ViewBase. |
1.4.3