#include <Plot2d_PlotItems.h>
|
| virtual void | drawText (QPainter *, const QRectF &) |
| |
| virtual void | paintEvent (QPaintEvent *) |
| |
◆ YAxisIdentifierMode
| Enumerator |
|---|
| IM_None | |
| IM_Left | |
| IM_Right | |
◆ Plot2d_QwtLegendLabel()
| Plot2d_QwtLegendLabel::Plot2d_QwtLegendLabel |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~Plot2d_QwtLegendLabel()
| Plot2d_QwtLegendLabel::~Plot2d_QwtLegendLabel |
( |
| ) |
|
|
virtual |
◆ drawIdentifier()
| 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.
◆ drawText()
| void Plot2d_QwtLegendLabel::drawText |
( |
QPainter * |
painter, |
|
|
const QRectF & |
rect |
|
) |
| |
|
protectedvirtual |
◆ getColorFromPalette()
| QColor Plot2d_QwtLegendLabel::getColorFromPalette |
( |
QPalette::ColorRole |
role | ) |
|
◆ isSelected()
| bool Plot2d_QwtLegendLabel::isSelected |
( |
| ) |
const |
◆ paintEvent()
| void Plot2d_QwtLegendLabel::paintEvent |
( |
QPaintEvent * |
e | ) |
|
|
protectedvirtual |
◆ setPen()
| void Plot2d_QwtLegendLabel::setPen |
( |
const QPen & |
thePen | ) |
|
Sets pen.
References myPen.
◆ setSelected()
| void Plot2d_QwtLegendLabel::setSelected |
( |
const bool |
on | ) |
|
◆ setSymbol()
| void Plot2d_QwtLegendLabel::setSymbol |
( |
const QwtSymbol * |
theSymbol | ) |
|
◆ setSymbolType()
| void Plot2d_QwtLegendLabel::setSymbolType |
( |
const int |
theType | ) |
|
Sets symbol type 0(marker on line) or 1(marker above line).
References mySymbolType.
◆ setYAxisIdentifierMode()
| void Plot2d_QwtLegendLabel::setYAxisIdentifierMode |
( |
const int |
theMode | ) |
|
◆ updateHighlit()
| void Plot2d_QwtLegendLabel::updateHighlit |
( |
| ) |
|
◆ myIsSelected
| bool Plot2d_QwtLegendLabel::myIsSelected |
|
private |
◆ myPen
| QPen Plot2d_QwtLegendLabel::myPen |
|
private |
◆ mySpacingCollapsed
| int Plot2d_QwtLegendLabel::mySpacingCollapsed |
|
private |
◆ mySpacingExpanded
| int Plot2d_QwtLegendLabel::mySpacingExpanded |
|
private |
◆ mySymbol
| QwtSymbol* Plot2d_QwtLegendLabel::mySymbol |
|
private |
◆ mySymbolType
| int Plot2d_QwtLegendLabel::mySymbolType |
|
private |
◆ myYAxisIdentifierMode
| int Plot2d_QwtLegendLabel::myYAxisIdentifierMode |
|
private |
◆ myYAxisLeftIcon
| QPixmap Plot2d_QwtLegendLabel::myYAxisLeftIcon |
|
private |
◆ myYAxisRightIcon
| QPixmap Plot2d_QwtLegendLabel::myYAxisRightIcon |
|
private |
The documentation for this class was generated from the following files: