Quantum GIS API Documentation
1.7.4
|
Encapsulates settings for drawing (QPen, QBrush, Point symbol) and classification (lower value, upper value) More...
#include <qgssymbol.h>
Public Member Functions | |
QgsSymbol (QGis::GeometryType t, QString lvalue="", QString uvalue="", QString label="") | |
Constructor. | |
QgsSymbol (QGis::GeometryType t, QString lvalue, QString uvalue, QString label, QColor c) | |
Constructor. | |
QgsSymbol (const QgsSymbol &) | |
QgsSymbol () | |
old constructors | |
QgsSymbol (QColor c) | |
virtual void | setBrush (QBrush b) |
Sets the brush. | |
virtual const QBrush & | brush () const |
Gets a reference to m_brush, Don't use the brush to change color/style. | |
virtual void | setColor (QColor c) |
Set the color. | |
virtual QColor | color () const |
Get the current color. | |
virtual QColor | fillColor () const |
Get the fill color. | |
virtual void | setFillColor (QColor c) |
Sets the fill color. | |
virtual double | lineWidth () const |
Get the line width. | |
virtual void | setLineWidth (double w) |
Sets the line width. | |
virtual void | setPen (QPen p) |
Sets the pen. | |
virtual const QPen & | pen () const |
Gets a reference to m_pen. | |
virtual void | setLineStyle (Qt::PenStyle s) |
Set the line (pen) style. | |
virtual void | setFillStyle (Qt::BrushStyle s) |
Set the fill (brush) style. | |
virtual QString | customTexture () const |
Gets the path to the customs texture image. | |
virtual void | setCustomTexture (QString path) |
Sets the path to the custom texture, and sets the brush to use TexturePattern. | |
virtual void | setLowerValue (QString value) |
virtual QString | lowerValue () const |
virtual void | setUpperValue (QString value) |
virtual QString | upperValue () const |
virtual void | setLabel (QString label) |
virtual QString | label () const |
virtual void | setNamedPointSymbol (QString name) |
Set point symbol from name. | |
virtual QString | pointSymbolName () const |
Get point symbol. | |
virtual void | setPointSize (double s) |
Set point size. | |
virtual double | pointSize () const |
Get size. | |
virtual void | setPointSizeUnits (bool sizeInMapUnits) |
Set point size units. | |
virtual bool | pointSizeUnits () const |
get point size units | |
virtual | ~QgsSymbol () |
Destructor. | |
virtual QImage | getLineSymbolAsImage () |
Get a little icon for the legend. | |
virtual QImage | getPolygonSymbolAsImage () |
Get a little icon for the legend. | |
virtual QImage | getCachedPointSymbolAsImage (double widthScale=1.0, bool selected=false, QColor selectionColor=Qt::yellow, double opacity=1.0) |
Get QImage representation of point symbol with current settings. | |
virtual QImage | getPointSymbolAsImage (double widthScale=1.0, bool selected=false, QColor selectionColor=Qt::yellow, double scale=1.0, double rotation=0.0, double rasterScaleFactor=1.0, double opacity=1.0) |
Get QImage representation of point symbol with current settings and scaled (can be slow when scale != 1.0) | |
virtual bool | writeXML (QDomNode &item, QDomDocument &document, const QgsVectorLayer *vl) const |
Writes the contents of the symbol to a configuration file @ return true in case of success. | |
virtual bool | readXML (QDomNode &symbol, const QgsVectorLayer *vl) |
Reads the contents of the symbol from a configuration file @ return true in case of success. | |
QGis::GeometryType | type () const |
Returns if this symbol is point/ line or polygon. | |
int | rotationClassificationField () const |
Returns the number of the rotation classification field. | |
void | setRotationClassificationField (int field) |
Sets the number of the rotation classicifation field. | |
int | scaleClassificationField () const |
Returns the number of the scale classification field. | |
void | setScaleClassificationField (int field) |
Sets the number of the scale classicifation field. | |
int | symbolField () const |
Returns the number of the symbol field. | |
void | setSymbolField (int field) |
Sets the number of the symbol field. | |
Protected Member Functions | |
void | cache (QColor selectionColor) |
void | cache2 (double widthScale, QColor selectionColor, double opacity) |
Protected Attributes | |
QString | mLowerValue |
Lower value for classification. | |
QString | mUpperValue |
Upper value for classification. | |
QString | mLabel |
QGis::GeometryType | mType |
Vector type (point, line, polygon) | |
QPen | mPen |
QBrush | mBrush |
QString | mTextureFilePath |
QString | mPointSymbolName |
double | mSize |
bool | mSizeInMapUnits |
QImage | mPointSymbolImage |
QImage | mPointSymbolImageSelected |
double | mWidthScale |
QImage | mPointSymbolImage2 |
QImage | mPointSymbolImageSelected2 |
double | mOpacity |
bool | mCacheUpToDate |
bool | mCacheUpToDate2 |
QColor | mSelectionColor |
QColor | mSelectionColor2 |
int | mRotationClassificationField |
Index of the classification fields (it must be a numerical field index) | |
int | mScaleClassificationField |
int | mSymbolField |
Private Member Functions | |
int | readFieldName (QDomNode &synode, QString name, const QgsVectorLayer &vl) |
void | appendField (QDomElement &symbol, QDomDocument &document, const QgsVectorLayer &vl, QString name, int idx) const |
void | appendText (QDomElement &symbol, QDomDocument &document, QString name, QString value) const |
Encapsulates settings for drawing (QPen, QBrush, Point symbol) and classification (lower value, upper value)
Definition at line 35 of file qgssymbol.h.
QgsSymbol::QgsSymbol | ( | QGis::GeometryType | t, |
QString | lvalue = "" , |
||
QString | uvalue = "" , |
||
QString | label = "" |
||
) |
QgsSymbol::QgsSymbol | ( | QGis::GeometryType | t, |
QString | lvalue, | ||
QString | uvalue, | ||
QString | label, | ||
QColor | c | ||
) |
QgsSymbol::QgsSymbol | ( | const QgsSymbol & | s | ) |
Definition at line 113 of file qgssymbol.cpp.
References mBrush, mCacheUpToDate, mCacheUpToDate2, mLabel, mLowerValue, mPen, mPointSymbolImage, mPointSymbolImage2, mPointSymbolImageSelected, mPointSymbolImageSelected2, mPointSymbolName, mRotationClassificationField, mScaleClassificationField, mSelectionColor, mSelectionColor2, mSize, mSizeInMapUnits, mSymbolField, mTextureFilePath, mType, mUpperValue, and mWidthScale.
old constructors
Definition at line 80 of file qgssymbol.cpp.
References DEFAULT_LINE_WIDTH, and mPen.
QgsSymbol::QgsSymbol | ( | QColor | c | ) |
Definition at line 96 of file qgssymbol.cpp.
References DEFAULT_LINE_WIDTH, and mPen.
QgsSymbol::~QgsSymbol | ( | ) | [virtual] |
Destructor.
Definition at line 142 of file qgssymbol.cpp.
void QgsSymbol::appendField | ( | QDomElement & | symbol, |
QDomDocument & | document, | ||
const QgsVectorLayer & | vl, | ||
QString | name, | ||
int | idx | ||
) | const [private] |
Definition at line 477 of file qgssymbol.cpp.
References appendText(), and QgsVectorLayer::pendingFields().
Referenced by writeXML().
void QgsSymbol::appendText | ( | QDomElement & | symbol, |
QDomDocument & | document, | ||
QString | name, | ||
QString | value | ||
) | const [private] |
Definition at line 482 of file qgssymbol.cpp.
Referenced by appendField(), and writeXML().
const QBrush & QgsSymbol::brush | ( | ) | const [inline, virtual] |
Gets a reference to m_brush, Don't use the brush to change color/style.
Definition at line 235 of file qgssymbol.h.
References mBrush.
Referenced by cache(), cache2(), QgsComposerLegend::drawPolygonSymbol(), getPointSymbolAsImage(), QgsQuickPrint::printMap(), QgsUniqueValueRenderer::renderFeature(), QgsContinuousColorRenderer::renderFeature(), QgsSingleSymbolRenderer::renderFeature(), QgsGraduatedSymbolRenderer::renderFeature(), and QgsSymbologyV2Conversion::symbolV1toV2().
void QgsSymbol::cache | ( | QColor | selectionColor | ) | [protected] |
Definition at line 431 of file qgssymbol.cpp.
References brush(), QgsMarkerCatalogue::imageMarker(), QgsMarkerCatalogue::instance(), mBrush, mCacheUpToDate, mPen, mPointSymbolImage, mPointSymbolImageSelected, mPointSymbolName, mSelectionColor, mSize, and pen().
void QgsSymbol::cache2 | ( | double | widthScale, |
QColor | selectionColor, | ||
double | opacity | ||
) | [protected] |
Definition at line 451 of file qgssymbol.cpp.
References brush(), QgsMarkerCatalogue::imageMarker(), QgsMarkerCatalogue::instance(), mBrush, mCacheUpToDate2, mOpacity, mPen, mPointSymbolImage2, mPointSymbolImageSelected2, mPointSymbolName, mSelectionColor2, mSize, mWidthScale, and pen().
Referenced by getCachedPointSymbolAsImage().
QColor QgsSymbol::color | ( | void | ) | const [virtual] |
Get the current color.
Definition at line 147 of file qgssymbol.cpp.
References mPen.
Referenced by QgsSymbologyV2Conversion::symbolV1toV2().
QString QgsSymbol::customTexture | ( | ) | const [virtual] |
Gets the path to the customs texture image.
Definition at line 192 of file qgssymbol.cpp.
References mTextureFilePath.
QColor QgsSymbol::fillColor | ( | ) | const [virtual] |
Get the fill color.
Definition at line 158 of file qgssymbol.cpp.
References mBrush.
Referenced by QgsContinuousColorRenderer::renderFeature(), and QgsSymbologyV2Conversion::symbolV1toV2().
QImage QgsSymbol::getCachedPointSymbolAsImage | ( | double | widthScale = 1.0 , |
bool | selected = false , |
||
QColor | selectionColor = Qt::yellow , |
||
double | opacity = 1.0 |
||
) | [virtual] |
Get QImage representation of point symbol with current settings.
Definition at line 356 of file qgssymbol.cpp.
References cache2(), mCacheUpToDate2, mOpacity, mPointSymbolImage2, mPointSymbolImageSelected2, and mSelectionColor.
Referenced by getPointSymbolAsImage().
QImage QgsSymbol::getLineSymbolAsImage | ( | ) | [virtual] |
Get a little icon for the legend.
Definition at line 296 of file qgssymbol.cpp.
References mPen.
Referenced by QgsLegendModel::itemFromSymbol(), and QgsComposerSymbolItem::readXML().
QImage QgsSymbol::getPointSymbolAsImage | ( | double | widthScale = 1.0 , |
bool | selected = false , |
||
QColor | selectionColor = Qt::yellow , |
||
double | scale = 1.0 , |
||
double | rotation = 0.0 , |
||
double | rasterScaleFactor = 1.0 , |
||
double | opacity = 1.0 |
||
) | [virtual] |
Get QImage representation of point symbol with current settings and scaled (can be slow when scale != 1.0)
Definition at line 382 of file qgssymbol.cpp.
References brush(), getCachedPointSymbolAsImage(), QgsMarkerCatalogue::imageMarker(), QgsMarkerCatalogue::instance(), mBrush, mPen, mPointSymbolName, mSize, mSizeInMapUnits, mWidthScale, pen(), and QgsDebugMsgLevel.
Referenced by QgsComposerLegend::drawPointSymbol(), QgsLegendModel::itemFromSymbol(), QgsQuickPrint::printMap(), QgsComposerSymbolItem::readXML(), QgsUniqueValueRenderer::renderFeature(), QgsSingleSymbolRenderer::renderFeature(), and QgsGraduatedSymbolRenderer::renderFeature().
QImage QgsSymbol::getPolygonSymbolAsImage | ( | ) | [virtual] |
Get a little icon for the legend.
Definition at line 316 of file qgssymbol.cpp.
Referenced by QgsLegendModel::itemFromSymbol(), and QgsComposerSymbolItem::readXML().
QString QgsSymbol::label | ( | ) | const [inline, virtual] |
Definition at line 275 of file qgssymbol.h.
References mLabel.
Referenced by QgsLegendModel::itemFromSymbol(), QgsQuickPrint::printMap(), QgsSymbologyV2Conversion::rendererV1toV2(), and setLabel().
double QgsSymbol::lineWidth | ( | ) | const [virtual] |
Get the line width.
Definition at line 169 of file qgssymbol.cpp.
References mPen.
Referenced by QgsSymbologyV2Conversion::symbolV1toV2().
QString QgsSymbol::lowerValue | ( | ) | const [inline, virtual] |
Definition at line 255 of file qgssymbol.h.
References mLowerValue.
Referenced by QgsLegendModel::itemFromSymbol(), QgsQuickPrint::printMap(), QgsUniqueValueRenderer::readXML(), QgsSymbologyV2Conversion::rendererV1toV2(), and QgsContinuousColorRenderer::renderFeature().
const QPen & QgsSymbol::pen | ( | ) | const [inline, virtual] |
Gets a reference to m_pen.
Don't use the pen to change color/style
Definition at line 245 of file qgssymbol.h.
References mPen.
Referenced by cache(), cache2(), QgsComposerLegend::drawLineSymbol(), QgsComposerLegend::drawPolygonSymbol(), getPointSymbolAsImage(), QgsQuickPrint::printMap(), QgsUniqueValueRenderer::renderFeature(), QgsContinuousColorRenderer::renderFeature(), QgsSingleSymbolRenderer::renderFeature(), QgsGraduatedSymbolRenderer::renderFeature(), and QgsSymbologyV2Conversion::symbolV1toV2().
double QgsSymbol::pointSize | ( | ) | const [virtual] |
Get size.
Definition at line 291 of file qgssymbol.cpp.
References mSize.
Referenced by QgsComposerLegend::drawPointSymbol(), QgsContinuousColorRenderer::renderFeature(), QgsSingleSymbolRenderer::renderFeature(), QgsQuickPrint::scalePointSymbols(), QgsSymbologyV2Conversion::symbolV1toV2(), and writeXML().
bool QgsSymbol::pointSizeUnits | ( | ) | const [virtual] |
get point size units
Definition at line 272 of file qgssymbol.cpp.
References mSizeInMapUnits.
Referenced by QgsUniqueValueRenderer::renderFeature(), QgsSingleSymbolRenderer::renderFeature(), QgsGraduatedSymbolRenderer::renderFeature(), and writeXML().
QString QgsSymbol::pointSymbolName | ( | ) | const [virtual] |
Get point symbol.
Definition at line 262 of file qgssymbol.cpp.
References mPointSymbolName.
Referenced by QgsUniqueValueRenderer::renderFeature(), QgsContinuousColorRenderer::renderFeature(), QgsGraduatedSymbolRenderer::renderFeature(), QgsSymbologyV2Conversion::symbolV1toV2(), and writeXML().
int QgsSymbol::readFieldName | ( | QDomNode & | synode, |
QString | name, | ||
const QgsVectorLayer & | vl | ||
) | [private] |
Definition at line 564 of file qgssymbol.cpp.
References QgsVectorLayer::pendingFields().
Referenced by readXML().
bool QgsSymbol::readXML | ( | QDomNode & | symbol, |
const QgsVectorLayer * | vl | ||
) | [virtual] |
Reads the contents of the symbol from a configuration file @ return true in case of success.
Definition at line 585 of file qgssymbol.cpp.
References QgsProject::instance(), mLabel, mLowerValue, mRotationClassificationField, mScaleClassificationField, mSymbolField, mUpperValue, QgsDebugMsg, QgsSymbologyUtils::qString2BrushStyle(), QgsSymbologyUtils::qString2PenStyle(), readFieldName(), setColor(), setCustomTexture(), setFillColor(), setFillStyle(), setLineStyle(), setLineWidth(), setNamedPointSymbol(), setPointSize(), and setPointSizeUnits().
Referenced by QgsUniqueValueRenderer::readXML(), QgsSingleSymbolRenderer::readXML(), QgsContinuousColorRenderer::readXML(), QgsComposerSymbolItem::readXML(), and QgsGraduatedSymbolRenderer::readXML().
int QgsSymbol::rotationClassificationField | ( | ) | const |
Returns the number of the rotation classification field.
Definition at line 689 of file qgssymbol.cpp.
References mRotationClassificationField.
Referenced by QgsUniqueValueRenderer::renderFeature(), QgsSingleSymbolRenderer::renderFeature(), QgsGraduatedSymbolRenderer::renderFeature(), and QgsSingleSymbolRenderer::updateSymbolAttributes().
int QgsSymbol::scaleClassificationField | ( | ) | const |
Returns the number of the scale classification field.
Definition at line 699 of file qgssymbol.cpp.
References mScaleClassificationField.
Referenced by QgsUniqueValueRenderer::renderFeature(), QgsSingleSymbolRenderer::renderFeature(), QgsGraduatedSymbolRenderer::renderFeature(), and QgsSingleSymbolRenderer::updateSymbolAttributes().
void QgsSymbol::setBrush | ( | QBrush | b | ) | [inline, virtual] |
void QgsSymbol::setColor | ( | QColor | c | ) | [virtual] |
Set the color.
Definition at line 152 of file qgssymbol.cpp.
References mCacheUpToDate, mCacheUpToDate2, and mPen.
Referenced by QgsSingleSymbolRenderer::QgsSingleSymbolRenderer(), readXML(), and QgsSymbologyV2Conversion::symbolV2toV1().
void QgsSymbol::setCustomTexture | ( | QString | path | ) | [virtual] |
Sets the path to the custom texture, and sets the brush to use TexturePattern.
Definition at line 197 of file qgssymbol.cpp.
References mBrush, mCacheUpToDate, mCacheUpToDate2, and mTextureFilePath.
Referenced by readXML().
void QgsSymbol::setFillColor | ( | QColor | c | ) | [virtual] |
Sets the fill color.
Definition at line 163 of file qgssymbol.cpp.
References mBrush, mCacheUpToDate, and mCacheUpToDate2.
Referenced by QgsSingleSymbolRenderer::QgsSingleSymbolRenderer(), readXML(), and QgsSymbologyV2Conversion::symbolV2toV1().
void QgsSymbol::setFillStyle | ( | Qt::BrushStyle | s | ) | [virtual] |
Set the fill (brush) style.
Definition at line 186 of file qgssymbol.cpp.
References mBrush, mCacheUpToDate, and mCacheUpToDate2.
Referenced by QgsSingleSymbolRenderer::QgsSingleSymbolRenderer(), readXML(), and QgsSymbologyV2Conversion::symbolV2toV1().
void QgsSymbol::setLabel | ( | QString | label | ) | [inline, virtual] |
Definition at line 270 of file qgssymbol.h.
References label(), and mLabel.
Referenced by QgsSymbologyV2Conversion::rendererV2toV1().
void QgsSymbol::setLineStyle | ( | Qt::PenStyle | s | ) | [virtual] |
Set the line (pen) style.
Definition at line 180 of file qgssymbol.cpp.
References mCacheUpToDate, mCacheUpToDate2, and mPen.
Referenced by readXML(), and QgsSymbologyV2Conversion::symbolV2toV1().
void QgsSymbol::setLineWidth | ( | double | w | ) | [virtual] |
Sets the line width.
Definition at line 174 of file qgssymbol.cpp.
References mCacheUpToDate, mCacheUpToDate2, and mPen.
Referenced by readXML(), and QgsSymbologyV2Conversion::symbolV2toV1().
void QgsSymbol::setLowerValue | ( | QString | value | ) | [inline, virtual] |
Definition at line 250 of file qgssymbol.h.
References mLowerValue.
Referenced by QgsSymbologyV2Conversion::rendererV2toV1().
void QgsSymbol::setNamedPointSymbol | ( | QString | name | ) | [virtual] |
Set point symbol from name.
Definition at line 206 of file qgssymbol.cpp.
References QgsProject::instance(), mCacheUpToDate, mCacheUpToDate2, mPointSymbolName, QgsDebugMsg, and QgsApplication::svgPaths().
Referenced by readXML(), QgsUniqueValueRenderer::renderFeature(), QgsSingleSymbolRenderer::renderFeature(), QgsGraduatedSymbolRenderer::renderFeature(), and QgsSymbologyV2Conversion::symbolV2toV1().
void QgsSymbol::setPen | ( | QPen | p | ) | [inline, virtual] |
Sets the pen.
Definition at line 240 of file qgssymbol.h.
References mPen.
Referenced by QgsQuickPrint::printMap().
void QgsSymbol::setPointSize | ( | double | s | ) | [virtual] |
Set point size.
Definition at line 277 of file qgssymbol.cpp.
References mCacheUpToDate, mCacheUpToDate2, MINIMUM_POINT_SIZE, mSize, and mSizeInMapUnits.
Referenced by readXML(), QgsSingleSymbolRenderer::renderFeature(), QgsQuickPrint::scalePointSymbols(), and QgsSymbologyV2Conversion::symbolV2toV1().
void QgsSymbol::setPointSizeUnits | ( | bool | sizeInMapUnits | ) | [virtual] |
Set point size units.
Definition at line 267 of file qgssymbol.cpp.
References mSizeInMapUnits.
Referenced by readXML(), and QgsSingleSymbolRenderer::renderFeature().
void QgsSymbol::setRotationClassificationField | ( | int | field | ) |
Sets the number of the rotation classicifation field.
field | the number of the field to classify for rotation |
Definition at line 694 of file qgssymbol.cpp.
References mRotationClassificationField.
void QgsSymbol::setScaleClassificationField | ( | int | field | ) |
Sets the number of the scale classicifation field.
field | the number of the field to classify for scale |
Definition at line 704 of file qgssymbol.cpp.
References mScaleClassificationField.
void QgsSymbol::setSymbolField | ( | int | field | ) |
Sets the number of the symbol field.
field | the number of the field to select the symbol |
Definition at line 714 of file qgssymbol.cpp.
References mSymbolField.
void QgsSymbol::setUpperValue | ( | QString | value | ) | [inline, virtual] |
Definition at line 260 of file qgssymbol.h.
References mUpperValue.
Referenced by QgsSymbologyV2Conversion::rendererV2toV1().
int QgsSymbol::symbolField | ( | ) | const |
Returns the number of the symbol field.
Definition at line 709 of file qgssymbol.cpp.
References mSymbolField.
Referenced by QgsUniqueValueRenderer::renderFeature(), QgsSingleSymbolRenderer::renderFeature(), QgsGraduatedSymbolRenderer::renderFeature(), and QgsSingleSymbolRenderer::updateSymbolAttributes().
QGis::GeometryType QgsSymbol::type | ( | ) | const [inline] |
Returns if this symbol is point/ line or polygon.
Definition at line 133 of file qgssymbol.h.
Referenced by QgsComposerLegend::drawSymbol(), QgsLegendModel::itemFromSymbol(), QgsQuickPrint::printMap(), QgsComposerSymbolItem::readXML(), QgsQuickPrint::scalePointSymbols(), and QgsSymbologyV2Conversion::symbolV1toV2().
QString QgsSymbol::upperValue | ( | ) | const [inline, virtual] |
Definition at line 265 of file qgssymbol.h.
References mUpperValue.
Referenced by QgsLegendModel::itemFromSymbol(), QgsQuickPrint::printMap(), and QgsSymbologyV2Conversion::rendererV1toV2().
bool QgsSymbol::writeXML | ( | QDomNode & | item, |
QDomDocument & | document, | ||
const QgsVectorLayer * | vl | ||
) | const [virtual] |
Writes the contents of the symbol to a configuration file @ return true in case of success.
Definition at line 494 of file qgssymbol.cpp.
References appendField(), appendText(), QgsSymbologyUtils::brushStyle2QString(), QgsProject::instance(), mBrush, mLabel, mLowerValue, mPen, mRotationClassificationField, mScaleClassificationField, mSymbolField, mTextureFilePath, mUpperValue, QgsSymbologyUtils::penStyle2QString(), pointSize(), pointSizeUnits(), pointSymbolName(), and QgsApplication::svgPaths().
Referenced by QgsSingleSymbolRenderer::writeXML(), QgsContinuousColorRenderer::writeXML(), and QgsComposerSymbolItem::writeXML().
QBrush QgsSymbol::mBrush [protected] |
Definition at line 164 of file qgssymbol.h.
Referenced by brush(), cache(), cache2(), fillColor(), getPointSymbolAsImage(), getPolygonSymbolAsImage(), QgsSymbol(), setBrush(), setCustomTexture(), setFillColor(), setFillStyle(), and writeXML().
bool QgsSymbol::mCacheUpToDate [protected] |
Definition at line 209 of file qgssymbol.h.
Referenced by cache(), QgsSymbol(), setColor(), setCustomTexture(), setFillColor(), setFillStyle(), setLineStyle(), setLineWidth(), setNamedPointSymbol(), and setPointSize().
bool QgsSymbol::mCacheUpToDate2 [protected] |
Definition at line 212 of file qgssymbol.h.
Referenced by cache2(), getCachedPointSymbolAsImage(), QgsSymbol(), setColor(), setCustomTexture(), setFillColor(), setFillStyle(), setLineStyle(), setLineWidth(), setNamedPointSymbol(), and setPointSize().
QString QgsSymbol::mLabel [protected] |
Definition at line 159 of file qgssymbol.h.
Referenced by label(), QgsSymbol(), readXML(), setLabel(), and writeXML().
QString QgsSymbol::mLowerValue [protected] |
Lower value for classification.
Definition at line 156 of file qgssymbol.h.
Referenced by lowerValue(), QgsSymbol(), readXML(), setLowerValue(), and writeXML().
double QgsSymbol::mOpacity [protected] |
Definition at line 200 of file qgssymbol.h.
Referenced by cache2(), and getCachedPointSymbolAsImage().
QPen QgsSymbol::mPen [protected] |
Definition at line 163 of file qgssymbol.h.
Referenced by cache(), cache2(), color(), getLineSymbolAsImage(), getPointSymbolAsImage(), getPolygonSymbolAsImage(), lineWidth(), pen(), QgsSymbol(), setColor(), setLineStyle(), setLineWidth(), setPen(), and writeXML().
QImage QgsSymbol::mPointSymbolImage [protected] |
Definition at line 187 of file qgssymbol.h.
Referenced by cache(), and QgsSymbol().
QImage QgsSymbol::mPointSymbolImage2 [protected] |
Definition at line 196 of file qgssymbol.h.
Referenced by cache2(), getCachedPointSymbolAsImage(), and QgsSymbol().
QImage QgsSymbol::mPointSymbolImageSelected [protected] |
Definition at line 190 of file qgssymbol.h.
Referenced by cache(), and QgsSymbol().
QImage QgsSymbol::mPointSymbolImageSelected2 [protected] |
Definition at line 197 of file qgssymbol.h.
Referenced by cache2(), getCachedPointSymbolAsImage(), and QgsSymbol().
QString QgsSymbol::mPointSymbolName [protected] |
Definition at line 167 of file qgssymbol.h.
Referenced by cache(), cache2(), getPointSymbolAsImage(), pointSymbolName(), QgsSymbol(), and setNamedPointSymbol().
int QgsSymbol::mRotationClassificationField [protected] |
Index of the classification fields (it must be a numerical field index)
Definition at line 219 of file qgssymbol.h.
Referenced by QgsSymbol(), readXML(), rotationClassificationField(), setRotationClassificationField(), and writeXML().
int QgsSymbol::mScaleClassificationField [protected] |
Definition at line 220 of file qgssymbol.h.
Referenced by QgsSymbol(), readXML(), scaleClassificationField(), setScaleClassificationField(), and writeXML().
QColor QgsSymbol::mSelectionColor [protected] |
Definition at line 215 of file qgssymbol.h.
Referenced by cache(), getCachedPointSymbolAsImage(), and QgsSymbol().
QColor QgsSymbol::mSelectionColor2 [protected] |
Definition at line 216 of file qgssymbol.h.
Referenced by cache2(), and QgsSymbol().
double QgsSymbol::mSize [protected] |
Definition at line 169 of file qgssymbol.h.
Referenced by cache(), cache2(), getPointSymbolAsImage(), pointSize(), QgsSymbol(), and setPointSize().
bool QgsSymbol::mSizeInMapUnits [protected] |
Definition at line 171 of file qgssymbol.h.
Referenced by getPointSymbolAsImage(), pointSizeUnits(), QgsSymbol(), setPointSize(), and setPointSizeUnits().
int QgsSymbol::mSymbolField [protected] |
Definition at line 221 of file qgssymbol.h.
Referenced by QgsSymbol(), readXML(), setSymbolField(), symbolField(), and writeXML().
QString QgsSymbol::mTextureFilePath [protected] |
Definition at line 165 of file qgssymbol.h.
Referenced by customTexture(), QgsSymbol(), setCustomTexture(), and writeXML().
QGis::GeometryType QgsSymbol::mType [protected] |
Vector type (point, line, polygon)
Definition at line 161 of file qgssymbol.h.
Referenced by QgsSymbol().
QString QgsSymbol::mUpperValue [protected] |
Upper value for classification.
Definition at line 158 of file qgssymbol.h.
Referenced by QgsSymbol(), readXML(), setUpperValue(), upperValue(), and writeXML().
double QgsSymbol::mWidthScale [protected] |
Definition at line 193 of file qgssymbol.h.
Referenced by cache2(), getPointSymbolAsImage(), and QgsSymbol().