|
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 QString & | fileName | ) |
| ImageSymbol::ImageSymbol | ( | const QPixmap & | pixmap, |
| const QString & | fileName = QString() |
||
| ) |
References d_pixmap.
| ImageSymbol * ImageSymbol::clone | ( | ) | const [virtual] |
References d_image_path, and ImageSymbol().
| void ImageSymbol::draw | ( | QPainter * | p, |
| const QRect & | r | ||
| ) | const [virtual] |
Draw the symbol into a bounding rectangle.
| painter | Painter |
| r | Bounding rectangle |
References d_pixmap.
| QString ImageSymbol::imagePath | ( | ) | [inline] |
References d_image_path.
Referenced by PlotCurve::saveCurveSymbolImage(), and PlotDialog::setActiveCurve().
| QPixmap ImageSymbol::pixmap | ( | ) | [inline] |
References d_pixmap.
Referenced by PlotDialog::applySymbolsFormatToCurve(), PlotCurve::saveCurveSymbolImage(), and PlotDialog::setActiveCurve().
QString ImageSymbol::d_image_path [private] |
Referenced by clone(), and imagePath().
QPixmap ImageSymbol::d_pixmap [private] |
Referenced by draw(), ImageSymbol(), and pixmap().
1.7.6.1