Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

QtViewWidget Class Reference

Inheritance diagram for QtViewWidget:

Inheritance graph
[legend]
Collaboration diagram for QtViewWidget:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 20 of file QtViewWidget.sip.

Public Member Functions

 QtViewWidget (QWidget */TransferThis/=0, const char *=0, unsigned=0)
 The standard QWidget constructor.
virtual ~QtViewWidget ()
 The required virtual destructor.
void setPlotter (PlotterBase *)
 Re-implements inherited member to test something for SIP.
virtual QSize sizeHint () const
virtual void draw (QPainter &)
 Reimplements the inherited function.
virtual void paintEvent (QPaintEvent *)
 Overrides virtual function of QWidget to do drawing.
virtual void update (const Observable *)
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 the plot view by locking the QApplication.
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 setDoubleBuffering (unsigned)
virtual void mousePressEvent (QMouseEvent *)
 overrides the inherited virtual function.
void setInspector (Inspector *)


Constructor & Destructor Documentation

QtViewWidget::QtViewWidget QWidget */TransferThis/  = 0,
const char *  = 0,
unsigned  = 0
 

The standard QWidget constructor.

See Qt documentation for details.

virtual QtViewWidget::~QtViewWidget  )  [virtual]
 

The required virtual destructor.


Member Function Documentation

virtual void QtViewWidget::draw QPainter  )  [virtual]
 

Reimplements the inherited function.

First calls base class to draw the contents and then draws the border if selected.

virtual void QtViewWidget::endPlot  )  [virtual]
 

Finalizes the plot view by unlocking the QApplication.

virtual void QtViewWidget::fillPickedPoint double  ,
double  ,
std::vector< double > & 
const [virtual]
 

virtual void QtViewWidget::initPlot double   )  [virtual]
 

Initializes the plot view by locking the QApplication.

virtual void QtViewWidget::mousePressEvent QMouseEvent  )  [virtual]
 

overrides the inherited virtual function.

If the event is a mouse event with control key down, then toggles the active DataRep. Otherwise, passes passes the event to QObject.

Reimplemented from QWidget.

virtual void QtViewWidget::paintEvent QPaintEvent  )  [virtual]
 

Overrides virtual function of QWidget to do drawing.

Reimplemented from QWidget.

virtual void QtViewWidget::setDoubleBuffering unsigned   )  [virtual]
 

virtual void QtViewWidget::setDrawRect float  ,
float  ,
float  ,
float 
[virtual]
 

Sets the drawing rectangle in the paint device space.

void QtViewWidget::setDrawRect const QRect  ) 
 

Sets the drawing rectangle in the paint device space.

void QtViewWidget::setInspector Inspector  ) 
 

void QtViewWidget::setPlotter PlotterBase  ) 
 

Re-implements inherited member to test something for SIP.

Attention:
Shouldn't really need to do this. But if it isn't here, then we have to get SIP to accept the ViewBase class. The problem with that is getting SIP to accept all the argument type of all the pure virtual functions. Until that is done, this implementation gives a way out.

virtual QSize QtViewWidget::sizeHint  )  const [virtual]
 

Reimplemented from QWidget.

int QtViewWidget::toViewX double   )  const
 

Converts the data space coordinate X to the view space coordinate X.

int QtViewWidget::toViewY double   )  const
 

Converts the data space coordinate Y to the view space coordinate Y.

virtual void QtViewWidget::update const Observable  )  [virtual]
 


The documentation for this class was generated from the following file:
Generated on Wed Sep 7 14:51:59 2005 for SiHippo by  doxygen 1.4.3