QtiPlot
0.9.8.2
|
A QwtSymbol displaying a custom image. More...
#include <ImageSymbol.h>
Public Member Functions | |
virtual ImageSymbol * | clone () const |
virtual void | draw (QPainter *p, const QRect &r) const |
Draw the symbol into a bounding rectangle. | |
QString | imagePath () |
ImageSymbol (const QString &fileName) | |
ImageSymbol (const QPixmap &pixmap, const QString &fileName=QString()) | |
QPixmap | pixmap () |
Private Attributes | |
QString | d_image_path |
QPixmap | d_pixmap |
A QwtSymbol displaying a custom image.
ImageSymbol::ImageSymbol | ( | const QPixmap & | pixmap, |
const QString & | fileName = QString() |
||
) |
References d_pixmap.
|
virtual |
References d_image_path, and ImageSymbol().
|
virtual |
Draw the symbol into a bounding rectangle.
painter | Painter |
r | Bounding rectangle |
References d_pixmap.
|
inline |
References d_image_path.
Referenced by PlotCurve::saveCurveSymbolImage(), and PlotDialog::setActiveCurve().
|
inline |
References d_pixmap.
Referenced by PlotDialog::applySymbolsFormatToCurve(), PlotCurve::saveCurveSymbolImage(), and PlotDialog::setActiveCurve().
|
private |
Referenced by clone(), and imagePath().
|
private |
Referenced by draw(), ImageSymbol(), and pixmap().