#include <Plot2d_PlotItems.h>

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 |
| Plot2d_QwtLegendItem::Plot2d_QwtLegendItem | ( | QWidget * | parent = 0 | ) |
Constructor of Plot2d_QwtLegendItem
References mySpacingCollapsed, mySpacingExpanded, myYAxisLeftIcon, myYAxisRightIcon, yAxisLeft, and yAxisRight.
| Plot2d_QwtLegendItem::~Plot2d_QwtLegendItem | ( | ) | [virtual] |
Destructor of Plot2d_QwtLegendItem
| 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.
int Plot2d_QwtLegendItem.myYAxisIdentifierMode [private] |
QPixmap Plot2d_QwtLegendItem.myYAxisLeftIcon [private] |
QPixmap Plot2d_QwtLegendItem.myYAxisRightIcon [private] |
int Plot2d_QwtLegendItem.mySpacingCollapsed [private] |
int Plot2d_QwtLegendItem.mySpacingExpanded [private] |