Version: 6.3.1
Public Types | Public Member Functions | Protected Member Functions | Private Attributes

Plot2d_QwtLegendItem Class Reference

#include <Plot2d_PlotItems.h>

Inheritance diagram for Plot2d_QwtLegendItem:
Inheritance graph

Public Types

enum  YAxisIdentifierMode { IM_None = 0, IM_Left, IM_Right }

Public Member Functions

 Plot2d_QwtLegendItem (QWidget *=0)
virtual ~Plot2d_QwtLegendItem ()
void setYAxisIdentifierMode (const int)

Protected Member Functions

virtual void drawIdentifier (QPainter *, const QRect &) const

Private Attributes

int myYAxisIdentifierMode
QPixmap myYAxisLeftIcon
QPixmap myYAxisRightIcon
int mySpacingCollapsed
int mySpacingExpanded

Member Enumeration Documentation

Enumerator:
IM_None 
IM_Left 
IM_Right 

Constructor & Destructor Documentation

Plot2d_QwtLegendItem::Plot2d_QwtLegendItem ( QWidget parent = 0)
Plot2d_QwtLegendItem::~Plot2d_QwtLegendItem ( ) [virtual]

Destructor of Plot2d_QwtLegendItem


Member Function Documentation

void Plot2d_QwtLegendItem::setYAxisIdentifierMode ( const int  theMode)

Set Y axis identifier displaying mode

References IM_None, mySpacingCollapsed, mySpacingExpanded, and myYAxisIdentifierMode.

void Plot2d_QwtLegendItem::drawIdentifier ( QPainter *  painter,
const QRect &  rect 
) const [protected, virtual]

Redefined method of drawing identifier of legend item

References IM_Left, IM_None, mySpacingExpanded, myYAxisIdentifierMode, yAxisLeft, and yAxisRight.


Field Documentation

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