#include <Plot2d_PlotItems.h>
Enumerator |
---|
IM_None |
|
IM_Left |
|
IM_Right |
|
Plot2d_QwtLegendLabel::Plot2d_QwtLegendLabel |
( |
QWidget * |
parent = 0 | ) |
|
Plot2d_QwtLegendLabel::~Plot2d_QwtLegendLabel |
( |
| ) |
|
|
virtual |
void Plot2d_QwtLegendLabel::drawIdentifier |
( |
QPainter * |
painter, |
|
|
const QRect & |
rect |
|
) |
| |
Paint the identifier to a given rect.
- Parameters
-
painter | Painter |
rect | Rect where to paint |
References Plot2d::drawLine(), IM_Left, IM_None, myPen, mySpacingExpanded, mySymbol, mySymbolType, myYAxisIdentifierMode, Plot2d::NoPen, SYMBOL_SIZE, yAxisLeft, and yAxisRight.
void Plot2d_QwtLegendLabel::drawText |
( |
QPainter * |
painter, |
|
|
const QRectF & |
rect |
|
) |
| |
|
protectedvirtual |
QColor Plot2d_QwtLegendLabel::getColorFromPalette |
( |
QPalette::ColorRole |
role | ) |
|
bool Plot2d_QwtLegendLabel::isSelected |
( |
| ) |
const |
void Plot2d_QwtLegendLabel::paintEvent |
( |
QPaintEvent * |
e | ) |
|
|
protectedvirtual |
void Plot2d_QwtLegendLabel::setPen |
( |
const QPen & |
thePen | ) |
|
Sets pen.
References myPen.
void Plot2d_QwtLegendLabel::setSelected |
( |
const bool |
on | ) |
|
void Plot2d_QwtLegendLabel::setSymbol |
( |
const QwtSymbol * |
theSymbol | ) |
|
void Plot2d_QwtLegendLabel::setSymbolType |
( |
const int |
theType | ) |
|
Sets symbol type 0(marker on line) or 1(marker above line).
References mySymbolType.
void Plot2d_QwtLegendLabel::setYAxisIdentifierMode |
( |
const int |
theMode | ) |
|
void Plot2d_QwtLegendLabel::updateHighlit |
( |
| ) |
|
bool Plot2d_QwtLegendLabel::myIsSelected |
|
private |
QPen Plot2d_QwtLegendLabel::myPen |
|
private |
int Plot2d_QwtLegendLabel::mySpacingCollapsed |
|
private |
int Plot2d_QwtLegendLabel::mySpacingExpanded |
|
private |
QwtSymbol* Plot2d_QwtLegendLabel::mySymbol |
|
private |
int Plot2d_QwtLegendLabel::mySymbolType |
|
private |
int Plot2d_QwtLegendLabel::myYAxisIdentifierMode |
|
private |
QPixmap Plot2d_QwtLegendLabel::myYAxisLeftIcon |
|
private |
QPixmap Plot2d_QwtLegendLabel::myYAxisRightIcon |
|
private |
The documentation for this class was generated from the following files: