Version: 6.3.1
Public Slots | Public Member Functions | Protected Slots | Protected Attributes

Plot2d_Plot2d Class Reference

#include <Plot2d_ViewFrame.h>

Inheritance diagram for Plot2d_Plot2d:
Inheritance graph

Public Slots

virtual void polish ()

Public Member Functions

 Plot2d_Plot2d (QWidget *)
virtual ~Plot2d_Plot2d ()
void setLogScale (int, bool)
void replot ()
QwtLegend * getLegend ()
QSize sizeHint () const
QSize minimumSizeHint () const
void defaultPicker ()
void setPickerMousePattern (int, int=Qt::NoButton)
bool polished () const
QwtPlotGrid * grid () const
QwtPlotZoomerzoomer () const
virtual void updateYAxisIdentifiers ()

Protected Slots

void onScaleDivChanged ()

Protected Attributes

QwtPlotGrid * myGrid
QList< QColor > myColors
bool myIsPolished
QwtPlotZoomermyPlotZoomer

Constructor & Destructor Documentation

Plot2d_Plot2d::Plot2d_Plot2d ( QWidget parent)

Constructor

References defaultPicker(), myGrid, and myPlotZoomer.

Plot2d_Plot2d::~Plot2d_Plot2d ( ) [virtual]

Member Function Documentation

void Plot2d_Plot2d::setLogScale ( int  axisId,
bool  log10 
)

axis scale engine - linear or log10

void Plot2d_Plot2d::replot ( )

Recalculates and redraws Plot 2d view

QwtLegend * Plot2d_Plot2d::getLegend ( )

Get legend

QSize Plot2d_Plot2d::sizeHint ( ) const
Returns:
the recommended size for the widget

References minimumSizeHint().

QSize Plot2d_Plot2d::minimumSizeHint ( ) const

return minimum size for qwt plot

void Plot2d_Plot2d::defaultPicker ( )

References myPlotZoomer.

void Plot2d_Plot2d::setPickerMousePattern ( int  button,
int  state = Qt::NoButton 
)

References myPlotZoomer.

bool Plot2d_Plot2d::polished ( ) const

References myIsPolished.

QwtPlotGrid * Plot2d_Plot2d::grid ( ) const

References myGrid.

QwtPlotZoomer * Plot2d_Plot2d::zoomer ( ) const

References myPlotZoomer.

void Plot2d_Plot2d::updateYAxisIdentifiers ( ) [virtual]

Updates identifiers of Y axis type in the legend.

void Plot2d_Plot2d::polish ( ) [virtual, slot]

Sets the flag saying that QwtPlot geometry has been fully defined.

References myIsPolished.

void Plot2d_Plot2d::onScaleDivChanged ( ) [protected, slot]

Slot: checks the current labels format and change it if needed

References Plot2d_ScaleDraw.precision().


Field Documentation

QwtPlotGrid* Plot2d_Plot2d.myGrid [protected]
QList<QColor> Plot2d_Plot2d.myColors [protected]
bool Plot2d_Plot2d.myIsPolished [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS