QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Deprecated List
Member offsetLine (const QPolygonF &polyline, double dist)
since 2.4 - calculate line shifted by a specified distance
Member QGis::DEFAULT_IDENTIFY_RADIUS
since 2.3, use DEFAULT_SEARCH_RADIUS_MM
Member QGis::fromLiteral (const QString &literal, QGis::UnitType defaultType=UnknownUnit)
use QgsUnitTypes::decodeDistanceUnit() instead
Member QGis::fromTr (const QString &literal, QGis::UnitType defaultType=UnknownUnit)
use QgsUnitTypes::stringToDistanceUnit() instead
Member QGis::fromUnitToUnitFactor (QGis::UnitType fromUnit, QGis::UnitType toUnit)
use QgsUnitTyoes::fromUnitToUnitFactor() instead
Member QGis::toLiteral (QGis::UnitType unit)
use QgsUnitTypes::encodeUnit() instead
Member QGis::tr (QGis::UnitType unit)
use QgsUnitTypes::toString() instead
Member QgisInterface::actionLayerSelectionSaveAs ()=0
in 2.4 - returns null pointer
Member QgisInterface::openURL (const QString &url, bool useQgisDocDirectory=true)=0
Member QgsActionManager::doAction (int index, const QgsFeature &feat, const QMap< QString, QVariant > *substitutionMap)
use QgsExpressionContext variant instead
Member QgsActionManager::expandAction (QString action, const QgsAttributeMap &attributes, uint defaultValueIndex)
use QgsExpression::replaceExpressionText() instead
Member QgsActionManager::expandAction (const QString &action, QgsFeature &feat, const QMap< QString, QVariant > *substitutionMap=nullptr)
use QgsExpression::replaceExpressionText() instead
Member QgsActionManager::setPythonExecute (void(*)(const QString &))
Initialize QgsPythonRunner instead
Member QgsAtlasComposition::composerMap () const
Use QgsComposerMap::atlasDriven() instead
Member QgsAtlasComposition::currentFeature ()
use feature() instead
Member QgsAtlasComposition::fixedScale () const
since 2.4 Use QgsComposerMap::atlasScalingMode() instead
Member QgsAtlasComposition::margin () const
Use QgsComposerMap::atlasMargin() instead
Member QgsAtlasComposition::setComposerMap (QgsComposerMap *map)
Use QgsComposerMap::setAtlasDriven( true ) instead
Member QgsAtlasComposition::setFixedScale (bool fixed)
since 2.4 Use QgsComposerMap::setAtlasScalingMode() instead
Member QgsAtlasComposition::setMargin (float margin)
Use QgsComposerMap::setAtlasMargin( double ) instead
Member QgsAtlasComposition::setSortKeyAttributeIndex (int idx)
use setSortKeyAttributeName instead
Member QgsAtlasComposition::sortKeyAttributeIndex () const
use sortKeyAttributeName instead
Member QgsAttributeDialog::dialog ()
Do not use. Just use this object itself. Or QgsAttributeForm if you want to embed.
Member QgsAttributeDialog::QgsAttributeDialog (QgsVectorLayer *vl, QgsFeature *thepFeature, bool featureOwner, const QgsDistanceArea &myDa, QWidget *parent=nullptr, bool showDialogButtons=true)
Member QgsAttributeDialog::setIsAddDialog (bool isAddDialog)
use setMode() instead
Class QgsAttributeEditor
Member QgsAttributeEditor::createAttributeEditor (QWidget *parent, QWidget *editor, QgsVectorLayer *vl, int idx, const QVariant &value, QMap< int, QWidget *> &proxyWidgets)
Member QgsAttributeForm::accept ()
Member QgsAttributeForm::reject ()
Member QgsAttributeForm::setIsAddDialog (bool isAddDialog)
use setMode() instead
Member QgsCachedFeatureIterator::QgsCachedFeatureIterator (QgsVectorLayerCache *vlCache, const QgsFeatureRequest &featureRequest, const QgsFeatureIds &featureIds)
Use QgsCachedFeatureIterator( QgsVectorLayerCache* vlCache, QgsFeatureRequest featureRequest ) instead
Member QgsColorRampShader::maximumColorCacheSize ()
will be removed in QGIS 3.0.
Member QgsColorRampShader::setMaximumColorCacheSize (int theSize)
will be removed in QGIS 3.0.
Member QgsComposerArrow::arrowColor () const
use arrowHeadOutlineColor, arrowHeadFillColor or lineStyle instead
Member QgsComposerArrow::outlineWidth () const
use arrowHeadOutlineWidth or lineSymbol instead
Member QgsComposerArrow::setArrowColor (const QColor &c)
use setArrowHeadOutlineColor, setArrowHeadFillColor or setLineStyle instead
Member QgsComposerArrow::setOutlineWidth (double width)
use setArrowHeadOutlineWidth or setLineSymbol instead
Class QgsComposerAttributeTable
use QgsComposerAttributeTableV2 instead
Member QgsComposerAttributeTable::displayAttributes () const
use QgsComposerTable::columns() instead
Member QgsComposerAttributeTable::fieldAliasMap () const
use QgsComposerTable::columns() instead
Member QgsComposerAttributeTable::setFieldAliasMap (const QMap< int, QString > &map)
use QgsComposerTable::columns() instead
Member QgsComposerAttributeTable::setSortAttributes (const QList< QPair< int, bool > > &att)
use QgsComposerTable::columns() instead
Member QgsComposerAttributeTableV2::setDisplayAttributes (const QSet< int > &attr, bool refresh=true)
use setDisplayedFields() instead
Member QgsComposerItem::angle (QPointF p1, QPointF p2) const
will be removed in QGIS 3.0
Member QgsComposerItem::cornerPointOnRotatedAndScaledRect (double &x, double &y, double width, double height, double rotation) const
will be removed in QGIS 3.0
Member QgsComposerItem::cornerPointOnRotatedAndScaledRect (double &x, double &y, double width, double height) const
will be removed in QGIS 3.0
Member QgsComposerItem::drawArrowHead (QPainter *p, double x, double y, double angle, double arrowHeadWidth) const
use QgsComposerUtils::drawArrowHead instead
Member QgsComposerItem::drawText (QPainter *p, double x, double y, const QString &text, const QFont &font, const QColor &c=QColor()) const
use QgsComposerUtils::drawText instead
Member QgsComposerItem::drawText (QPainter *p, const QRectF &rect, const QString &text, const QFont &font, Qt::AlignmentFlag halignment=Qt::AlignLeft, Qt::AlignmentFlag valignment=Qt::AlignTop, int flags=Qt::TextWordWrap) const
use QgsComposerUtils::drawText instead
Member QgsComposerItem::fontAscentMillimeters (const QFont &font) const
use QgsComposerUtils::fontAscentMM instead
Member QgsComposerItem::fontDescentMillimeters (const QFont &font) const
use QgsComposerUtils::fontDescentMM instead
Member QgsComposerItem::fontHeightCharacterMM (const QFont &font, QChar c) const
use QgsComposerUtils::fontHeightCharacterMM instead
Member QgsComposerItem::fontHeightMillimeters (const QFont &font) const
use QgsComposerUtils::fontHeightMM instead
Member QgsComposerItem::imageSizeConsideringRotation (double &width, double &height, double rotation) const
will be removed in QGIS 3.0
Member QgsComposerItem::imageSizeConsideringRotation (double &width, double &height) const
will be removed in QGIS 3.0
Member QgsComposerItem::largestRotatedRectWithinBounds (const QRectF &originalRect, const QRectF &boundsRect, double rotation) const
use QgsComposerUtils::largestRotatedRectWithinBounds instead
Member QgsComposerItem::lockSymbolSize () const
will be removed in QGIS 3.0
Member QgsComposerItem::pixelFontSize (double pointSize) const
use QgsComposerUtils::mmFontSize instead
Member QgsComposerItem::rotate (double angle, double &x, double &y) const
use QgsComposerUtils:rotate instead
Member QgsComposerItem::rotation () const
Use itemRotation() instead
Member QgsComposerItem::scaledFontPixelSize (const QFont &font) const
use QgsComposerUtils::scaledFontPixelSize instead
Member QgsComposerItem::setRotation (double r)
Use setItemRotation( double rotation ) instead
Member QgsComposerItem::sizeChangedByRotation (double &width, double &height, double rotation)
will be removed in QGIS 3.0
Member QgsComposerItem::sizeChangedByRotation (double &width, double &height)
will be removed in QGIS 3.0
Member QgsComposerItem::textWidthMillimeters (const QFont &font, const QString &text) const
use QgsComposerUtils::textWidthMM instead
Member QgsComposerItem::zoomContent (int delta, double x, double y)
use zoomContent( double, QPointF, ZoomMode ) instead
Member QgsComposerLabel::margin ()
use marginX and marginY instead
Member QgsComposerLabel::setExpressionContext (QgsFeature *feature, QgsVectorLayer *layer, const QMap< QString, QVariant > &substitutions=(QMap< QString, QVariant >()))
use atlas features and setSubstitutions() instead
Member QgsComposerLegend::model ()
in 2.6 - use modelV2()
Member QgsComposerMap::annotationFontColor () const
use grid()->annotationFontColor() or grids() instead
Member QgsComposerMap::annotationFrameDistance () const
use grid()->annotationFrameDistance() or grids() instead
Member QgsComposerMap::atlasFixedScale () const
since 2.4 Use atlasScalingMode() instead
Member QgsComposerMap::connectMapOverviewSignals ()
will be removed in QGIS 3.0
Member QgsComposerMap::cornerPointOnRotatedAndScaledRect (double &x, double &y, double width, double height) const
Use QgsComposerItem::cornerPointOnRotatedAndScaledRect( double& x, double& y, double width, double height, double rotation ) instead
Member QgsComposerMap::crossLength ()
use grid()->crossLength() or grids() instead
Member QgsComposerMap::gridAnnotationDirection (QgsComposerMap::Border border) const
use grid()->annotationDirection() or grids() instead
Member QgsComposerMap::gridAnnotationFont () const
use grid()->annotationFont() or grids() instead
Member QgsComposerMap::gridAnnotationFormat () const
use grid()->annotationFormat() or grids() instead
Member QgsComposerMap::gridAnnotationPosition (QgsComposerMap::Border border) const
use grid()->annotationPosition() or grids() instead
Member QgsComposerMap::gridAnnotationPrecision () const
use grid()->annotationPrecision() or grids() instead
Member QgsComposerMap::gridBlendMode () const
use grid()->blendMode() or grids() instead
Member QgsComposerMap::gridEnabled () const
use grid()->enabled() or grids() instead
Member QgsComposerMap::gridFrameFillColor1 () const
use grid()->frameFillColor1() or grids() instead
Member QgsComposerMap::gridFrameFillColor2 () const
use grid()->frameFillColor2() or grids() instead
Member QgsComposerMap::gridFramePenColor () const
use grid()->framePenColor() or grids() instead
Member QgsComposerMap::gridFramePenSize () const
use grid()->framePenSize() or grids() instead
Member QgsComposerMap::gridFrameStyle () const
use grid()->frameStyle() or grids() instead
Member QgsComposerMap::gridFrameWidth () const
use grid()->frameWidth() or grids() instead
Member QgsComposerMap::gridIntervalX () const
use grid()->intervalX() or grids() instead
Member QgsComposerMap::gridIntervalY () const
use grid()->intervalY() or grids() instead
Member QgsComposerMap::gridLineSymbol ()
use grid()->lineSymbol() or grids() instead
Member QgsComposerMap::gridOffsetX () const
use grid()->offsetX() or grids() instead
Member QgsComposerMap::gridOffsetY () const
use grid()->offsetY() or grids() instead
Member QgsComposerMap::gridPen () const
use grid()->pen() or grids() instead
Member QgsComposerMap::gridStyle () const
use grid()->style() or grids() instead
Member QgsComposerMap::imageSizeConsideringRotation (double &width, double &height) const
Use bool QgsComposerItem::imageSizeConsideringRotation( double& width, double& height, double rotation ) instead
Member QgsComposerMap::mapRenderer () const
since 2.4 - use mapSettings() - may return 0 if not initialized with QgsMapRenderer
Member QgsComposerMap::overviewBlendMode () const
use overview()->blendMode() or overviews() instead
Member QgsComposerMap::overviewCentered () const
use overview()->centered() or overviews() instead
Member QgsComposerMap::overviewExtentChanged ()
use QgsComposerMapOverview::overviewExtentChanged instead
Member QgsComposerMap::overviewFrameMapId () const
use overview()->frameMapId() or overviews() instead
Member QgsComposerMap::overviewFrameMapSymbol ()
use overview()->frameSymbol() or overviews() instead
Member QgsComposerMap::overviewInverted () const
use overview()->inverted() or overviews() instead
Member QgsComposerMap::rotation () const
Use mapRotation() instead
Member QgsComposerMap::setAnnotationFontColor (const QColor &c)
use grid()->setAnnotationFontColor() or grids() instead
Member QgsComposerMap::setAnnotationFrameDistance (double d)
use grid()->setAnnotationFrameDistance() or grids() instead
Member QgsComposerMap::setAtlasFixedScale (bool fixed)
since 2.4 Use setAtlasScalingMode() instead
Member QgsComposerMap::setCrossLength (double l)
use grid()->setCrossLength() or grids() instead
Member QgsComposerMap::setGridAnnotationDirection (GridAnnotationDirection d, QgsComposerMap::Border border)
use grid()->setAnnotationDirection() or grids() instead
Member QgsComposerMap::setGridAnnotationFont (const QFont &f)
use grid()->setAnnotationFont() or grids() instead
Member QgsComposerMap::setGridAnnotationFormat (GridAnnotationFormat f)
use grid()->setAnnotationFormat() or grids() instead
Member QgsComposerMap::setGridAnnotationPosition (GridAnnotationPosition p, QgsComposerMap::Border border)
use grid()->setAnnotationPosition() or grids() instead
Member QgsComposerMap::setGridAnnotationPrecision (int p)
use grid()->setAnnotationPrecision or grids() instead
Member QgsComposerMap::setGridBlendMode (QPainter::CompositionMode blendMode)
use grid()->setBlendMode() or grids() instead
Member QgsComposerMap::setGridEnabled (bool enabled)
use grid()->setEnabled() or grids() instead
Member QgsComposerMap::setGridFrameFillColor1 (const QColor &c)
use grid()->setFrameFillColor1() or grids() instead
Member QgsComposerMap::setGridFrameFillColor2 (const QColor &c)
use grid()->setFrameFillColor2() or grids() instead
Member QgsComposerMap::setGridFramePenColor (const QColor &c)
use grid()->setFramePenColor() or grids() instead
Member QgsComposerMap::setGridFramePenSize (double w)
use grid()->setFramePenSize() or grids() instead
Member QgsComposerMap::setGridFrameStyle (GridFrameStyle style)
use grid()->setFrameStyle() or grids() instead
Member QgsComposerMap::setGridFrameWidth (double w)
use grid()->setFrameWidth() or grids() instead
Member QgsComposerMap::setGridIntervalX (double interval)
use grid()->setIntervalX() or grids() instead
Member QgsComposerMap::setGridIntervalY (double interval)
use grid()->setIntervalY() or grids() instead
Member QgsComposerMap::setGridLineSymbol (QgsLineSymbolV2 *symbol)
use grid()->setLineSymbol() or grids() instead
Member QgsComposerMap::setGridOffsetX (double offset)
use grid()->setOffsetX() or grids() instead
Member QgsComposerMap::setGridOffsetY (double offset)
use grid()->setOffsetY() or grids() instead
Member QgsComposerMap::setGridPen (const QPen &p)
use grid()->setPenWidth(), grid()->setPenColor() or grids() instead
Member QgsComposerMap::setGridPenColor (const QColor &c)
use grid()->setPenColor() or grids() instead
Member QgsComposerMap::setGridPenWidth (double w)
use grid()->setPenWidth() or grids() instead
Member QgsComposerMap::setGridStyle (GridStyle style)
use grid()->setStyle() or grids() instead
Member QgsComposerMap::setOverviewBlendMode (QPainter::CompositionMode blendMode)
use overview()->setBlendMode() or overviews() instead
Member QgsComposerMap::setOverviewCentered (bool centered)
use overview()->setCentered() or overviews() instead
Member QgsComposerMap::setOverviewFrameMap (int mapId)
use overview()->setFrameMap() or overviews() instead
Member QgsComposerMap::setOverviewFrameMapSymbol (QgsFillSymbolV2 *symbol)
use overview()->setFrameSymbol() or overviews() instead
Member QgsComposerMap::setOverviewInverted (bool inverted)
use overview()->setInverted() or overviews() instead
Member QgsComposerMap::setRotation (double r) override
Use setMapRotation( double rotation ) instead
Member QgsComposerMap::setShowGridAnnotation (bool show)
use grid()->setAnnotationEnabled() or grids() instead
Member QgsComposerMap::showGridAnnotation () const
use grid()->annotationEnabled() or grids() instead
Member QgsComposerMap::sizeChangedByRotation (double &width, double &height)
Use QgsComposerItem::sizeChangedByRotation( double& width, double& height, double rotation ) instead
Member QgsComposerMap::toggleAtlasPreview ()
no longer required
Member QgsComposerMap::zoomContent (int delta, double x, double y) override
use zoomContent( double, QPointF, ZoomMode ) instead
Member QgsComposerMapGrid::Disabled
in QGIS 2.7, use QgsComposerMapGrid::HideAll instead
Member QgsComposerMultiFrame::render (QPainter *p, const QRectF &renderExtent)
use render( QPainter* painter, const QRectF& renderExtent, const int frameIndex ) instead
Member QgsComposerPicture::cornerPointOnRotatedAndScaledRect (double &x, double &y, double width, double height) const
Use QgsComposerItem::cornerPointOnRotatedAndScaledRect( double& x, double& y, double width, double height, double rotation ) instead
Member QgsComposerPicture::imageSizeConsideringRotation (double &width, double &height) const
Use bool QgsComposerItem::imageSizeConsideringRotation( double& width, double& height, double rotation ) instead
Member QgsComposerPicture::pictureExpression () const
use QgsComposerObject::dataDefinedProperty( QgsComposerObject::PictureSource ) instead
Member QgsComposerPicture::pictureFile () const
use picturePath instead
Member QgsComposerPicture::rotation () const
Use pictureRotation() instead
Member QgsComposerPicture::setPictureExpression (const QString &expression)
use QgsComposerObject::dataDefinedProperty( QgsComposerObject::PictureSource ) instead
Member QgsComposerPicture::setPictureFile (const QString &path)
use setPicturePath instead
Member QgsComposerPicture::setRotation (double r) override
Use setPictureRotation( double rotation ) instead
Member QgsComposerPicture::setUsePictureExpression (bool useExpression)
use QgsComposerObject::dataDefinedProperty( QgsComposerObject::PictureSource ) instead
Member QgsComposerPicture::sizeChangedByRotation (double &width, double &height)
Use QgsComposerItem::sizeChangedByRotation( double& width, double& height, double rotation ) instead
Member QgsComposerPicture::updatePictureExpression ()
no longer required
Member QgsComposerPicture::usePictureExpression () const
use QgsComposerObject::dataDefinedProperty( QgsComposerObject::PictureSource ) instead
Class QgsComposerTable
use QgsComposerTableV2 instead
Member QgsComposerTableV2::drawHorizontalGridLines (QPainter *painter, const int rows, const bool drawHeaderLines) const
will be removed in QGIS 3.0
Member QgsComposerTableV2::drawVerticalGridLines (QPainter *painter, const QMap< int, double > &maxWidthMap, const int numberRows, const bool hasHeader, const bool mergeCells=false) const
will be removed in QGIS 3.0
Member QgsComposerTableV2::rowRange (const QRectF &extent, const int frameIndex) const
will be removed in QGIS 3.0
Member QgsComposerTableV2::rowsVisible (const int frameIndex) const
will be removed in QGIS 3.0
Member QgsComposerTableV2::rowsVisible (const double frameHeight, const bool includeHeader) const
will be removed in QGIS 3.0
Class QgsComposerTextTable
use QgsComposerTextTableV2 intead
Member QgsComposition::alignmentSnapTolerance () const
Use snapTolerance instead
Member QgsComposition::getComposerHtmlByItem (QgsComposerItem *item) const
Use QgsComposerFrame::multiFrame() instead
Member QgsComposition::mapRenderer ()
since 2.4 - use mapSettings() instead. May return null if not initialized with QgsMapRenderer
Member QgsComposition::pixelFontSize (double pointSize) const
use QgsComposerUtils::pointsToMM instead
Member QgsComposition::pointFontSize (int pixelSize) const
use QgsComposerUtils::mmToPoints instead
Member QgsComposition::QgsComposition (QgsMapRenderer *mapRenderer)
since 2.4 - use the constructor with QgsMapSettings
Member QgsComposition::relativePosition (double position, double beforeMin, double beforeMax, double afterMin, double afterMax)
use QgsComposerUtils::relativePosition instead
Member QgsComposition::relativeResizeRect (QRectF &rectToResize, const QRectF &boundsBefore, const QRectF &boundsAfter)
use QgsComposerUtils::relativeResizeRect instead
Member QgsComposition::setAlignmentSnapTolerance (double t)
Use setSnapTolerance instead
Member QgsComposition::setSnapGridTolerance (double tolerance)
Use setSnapTolerance instead
Member QgsComposition::snapGridTolerance () const
Use snapTolerance instead
Member QgsComposition::sortZList ()
use refreshZList instead
Member QgsCRSCache::crsByAuthId (const QString &authid)
use crsByOgcWmsCrs() instead
Member QgsDataDefined::prepareExpression (QgsVectorLayer *layer)
use QgsExpressionContext variant instead
Member QgsDataDefined::prepareExpression (const QgsFields &fields)
use QgsExpressionContext variant instead
Member QgsDataDefined::referencedColumns (QgsVectorLayer *layer)
use QgsExpressionContext variant instead
Member QgsDataDefined::referencedColumns (const QgsFields &fields)
use QgsExpressionContext variant instead
Class QgsDataDefinedSymbolDialog
no longer used and will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::boolHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::capStyleHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::colorHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::dataDefinedProperties () const
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::doubleHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::fileNameHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::fillStyleHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::gradientCoordModeHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::gradientSpreadHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::gradientTypeHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::horizontalAnchorHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::joinStyleHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::lineStyleHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::offsetHelpText ()
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::QgsDataDefinedSymbolDialog (const QList< DataDefinedSymbolEntry > &entries, const QgsVectorLayer *vl, QWidget *parent=nullptr, const Qt::WindowFlags &f=nullptr)
will be removed in QGIS 3.0
Member QgsDataDefinedSymbolDialog::verticalAnchorHelpText ()
will be removed in QGIS 3.0
Member QgsDataItem::capabilities ()
since 2.8, returned type this will changed to Capabilities
Member QgsDataItem::isPopulated ()
in 2.8, use state()
Member QgsDataItem::mPopulated
since 2.8, use mState
Member QgsDataSourceURI::setWkbType (QGis::WkbType type)
See setWkbType( QgsWKBTypes::Type )
Member QgsDataSourceURI::wkbType () const
Will return QgsWKBTypes::Type in 3.0. Prefer newWkbType() in the meantime
Member QgsDiagram::diagramSize (const QgsAttributes &attributes, const QgsRenderContext &c, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &is)
QSizeF diagramSize( const QgsFeature& feature, const QgsRenderContext& c, const QgsDiagramSettings& s, const QgsDiagramInterpolationSettings& is ) should be used instead
Member QgsDiagram::getExpression (const QString &expression, const QgsFields *fields)
use QgsExpressionContext variant instead
Member QgsDiagram::renderDiagram (const QgsAttributes &att, QgsRenderContext &c, const QgsDiagramSettings &s, QPointF position)
void renderDiagram( const QgsFeature& feature, QgsRenderContext& c, const QgsDiagramSettings& s, const QPointF& position ) should be used instead
Member QgsDiagramLayerSettings::fields
will be removed in QGIS 3.0
Member QgsDiagramLayerSettings::xform
will be removed in QGIS 3.0
Member QgsDiagramSettings::SizeType
use QgsSymbolV2::OutputUnit instead
Member QgsDistanceArea::measure (const QgsGeometry *geometry) const
use measureArea() or measureLength() methods instead, as this method is unpredictable for geometry collections
Member QgsDistanceArea::sourceCrs () const
use sourceCrsId() instead
Member QgsDistanceArea::textUnit (double value, int decimals, QGis::UnitType u, bool isArea, bool keepBaseUnit=false)
use formatDistance() or formatArea() instead
Member QgsDxfExport::writeCircle (const QString &layer, const QColor &color, const QgsPoint &pt, double radius, const QString &lineStyleName, double width)
use QgsPointV2 version
Member QgsDxfExport::writeFilledCircle (const QString &layer, const QColor &color, const QgsPoint &pt, double radius)
use QgsPointV2 version
Member QgsDxfExport::writeGroup (int code, const QgsPoint &p, double z=0.0, bool skipz=false)
use QgsPointV2 version instead
Member QgsDxfExport::writeLine (const QgsPoint &pt1, const QgsPoint &pt2, const QString &layer, const QString &lineStyleName, const QColor &color, double width=-1)
use QgsPointV2 version
Member QgsDxfExport::writeMText (const QString &layer, const QString &text, const QgsPoint &pt, double width, double angle, const QColor &color)
use QgsPointV2 version
Member QgsDxfExport::writePoint (const QString &layer, const QColor &color, const QgsPoint &pt)
use QgsPointV2 version
Member QgsDxfExport::writePolygon (const QgsPolygon &polygon, const QString &layer, const QString &hatchPattern, const QColor &color)
use version with QgsRingSequenceV2
Member QgsDxfExport::writePolyline (const QgsPolyline &line, const QString &layer, const QString &lineStyleName, const QColor &color, double width=-1)
use QgsPointSequenceV2 variant
Member QgsDxfExport::writeSolid (const QString &layer, const QColor &color, const QgsPoint &pt1, const QgsPoint &pt2, const QgsPoint &pt3, const QgsPoint &pt4)
see writePolygon
Member QgsDxfExport::writeText (const QString &layer, const QString &text, const QgsPoint &pt, double size, double angle, const QColor &color)
use QgsPointV2 version
Member QgsExpression::currentRowNumber ()
use QgsExpressionContext to retrieve row number instead
Member QgsExpression::evaluate (const QgsFeature *f)
use evaluate( const QgsExpressionContext* context ) instead
Member QgsExpression::evaluate (const QgsFeature &f)
use evaluate( const QgsExpressionContext* context ) instead
Member QgsExpression::evaluate (const QgsFeature *f, const QgsFields &fields)
use evaluate( const QgsExpressionContext* context ) instead
Member QgsExpression::evaluate (const QgsFeature &f, const QgsFields &fields)
use evaluate( const QgsExpressionContext* context ) instead
Member QgsExpression::FcnEval )(const QVariantList &values, const QgsFeature *f, QgsExpression *parent)
will be removed in QGIS 3.0
Member QgsExpression::Function::func (const QVariantList &, const QgsFeature *, QgsExpression *)
Use QgsExpressionContext variant instead
Member QgsExpression::Interval
use QgsInterval instead
Member QgsExpression::isValid (const QString &text, const QgsFields &fields, QString &errorMessage)
use QgsExpressionContext variant instead
Member QgsExpression::Node::eval (QgsExpression *parent, const QgsFeature *f)
use QgsExpressionContext variant instead
Member QgsExpression::Node::prepare (QgsExpression *parent, const QgsFields &fields)
use QgsExpressionContext variant instead
Member QgsExpression::prepare (const QgsFields &fields)
use prepare( const QgsExpressionContext *context ) instead
Member QgsExpression::replaceExpressionText (const QString &action, const QgsFeature *feat, QgsVectorLayer *layer, const QMap< QString, QVariant > *substitutionMap=nullptr, const QgsDistanceArea *distanceArea=nullptr)
use QgsExpressionContext variant instead
Member QgsExpression::setCurrentRowNumber (int rowNumber)
use QgsExpressionContext to set row number instead
Member QgsExpression::setSpecialColumn (const QString &name, const QVariant &value)
use global or project QgsExpressionContext variables instead
Member QgsExpression::specialColumn (const QString &name)
use global or project QgsExpressionContext variables instead
Member QgsExpression::StaticFunction::func (const QVariantList &values, const QgsFeature *f, QgsExpression *parent) override
use QgsExpressionContext variant instead
Member QgsExpression::StaticFunction::StaticFunction (const QString &fnname, int params, FcnEval fcn, const QString &group, const QString &helpText=QString(), bool usesGeometry=false, const QStringList &referencedColumns=QStringList(), bool lazyEval=false, const QStringList &aliases=QStringList(), bool handlesNull=false)
use QgsExpressionContext variant instead
Member QgsExpression::unsetSpecialColumn (const QString &name)
use global or project QgsExpressionContext variables instead
Member QgsExpressionFieldBuffer::ExpressionField::expression
use cachedExpression instead
Member QgsFeature::geometryAndOwnership ()
use constGeometry() instead
Member QgsFeature::setFields (const QgsFields *fields, bool initAttributes=false)
use setFields( const QgsFields& fields, bool initAttributes = false ) instead
Member QgsFeature::setGeometryAndOwnership (unsigned char *geom, int length)
will be removed in QGIS 3.0
Member QgsFeatureRendererV2::copyPaintEffect (QgsFeatureRendererV2 *destRenderer) const
use copyRendererData instead
Member QgsFeatureRendererV2::originalSymbolForFeature (QgsFeature &feature)
use originalSymbolForFeature( QgsFeature& feature, QgsRenderContext& context ) instead
Member QgsFeatureRendererV2::originalSymbolsForFeature (QgsFeature &feat)
use originalSymbolsForFeature( QgsFeature& feat, QgsRenderContext& context ) instead
Member QgsFeatureRendererV2::rotationField () const
use the symbol's methods instead
Member QgsFeatureRendererV2::setRotationField (const QString &fieldName)
use the symbol's methods instead
Member QgsFeatureRendererV2::startRender (QgsRenderContext &context, const QgsVectorLayer *vlayer)
since 2.4 - not using QgsVectorLayer directly anymore
Member QgsFeatureRendererV2::symbolForFeature (QgsFeature &feature)
use symbolForFeature( QgsFeature& feature, QgsRenderContext& context ) instead
Member QgsFeatureRendererV2::symbols ()
use symbols( QgsRenderContext& context ) instead
Member QgsFeatureRendererV2::symbolsForFeature (QgsFeature &feat)
use symbolsForFeature( QgsFeature& feat, QgsRenderContext& context ) instead
Member QgsFeatureRendererV2::willRenderFeature (QgsFeature &feat)
use willRenderFeature( QgsFeature& feat, QgsRenderContext& context ) instead
Member QgsFeatureRendererV2::writeSld (QDomDocument &doc, const QgsVectorLayer &layer) const
since 2.8 - use the other override with styleName
Member QgsGraduatedSymbolRendererV2::getDataValues (QgsVectorLayer *vlayer)
use QgsVectorLayer::getDoubleValues instead
Member QgsLabelingEngineInterface::addDiagramLayer (QgsVectorLayer *layer, const QgsDiagramLayerSettings *s)
since 2.12 - use prepareDiagramLayer()
Member QgsLabelingEngineInterface::init (QgsMapRenderer *mp)=0
since 2.4 - use override with QgsMapSettings
Member QgsLabelingEngineInterface::labelsAtPosition (const QgsPoint &p)=0
since 2.4 - use takeResults() and methods of QgsLabelingResults
Member QgsLabelingEngineInterface::labelsWithinRect (const QgsRectangle &r)=0
since 2.4 - use takeResults() and methods of QgsLabelingResults
Member QgsLabelingEngineInterface::layer (const QString &layerName)=0
since 2.12 - if direct access to QgsPalLayerSettings is necessary, use QgsPalLayerSettings::fromLayer()
Member QgsLayerTreeModel::autoCollapseSymbologyNodes () const
use autoCollapseLegendNodes()
Member QgsLayerTreeModel::isIndexSymbologyNode (const QModelIndex &index) const
use index2legendNode()
Member QgsLayerTreeModel::layerNodeForSymbologyNode (const QModelIndex &index) const
use index2legendNode()->parent()
Member QgsLayerTreeModel::legendFilterByMap () const
It has been renamed to legendFilterMapSettings()
Member QgsLayerTreeModel::refreshLayerSymbology (QgsLayerTreeLayer *nodeLayer)
use refreshLayerLegend()
Member QgsLayerTreeModel::setAutoCollapseSymbologyNodes (int nodeCount)
use setAutoCollapseLegendNodes()
Member QgsLegacyHelpers::convertEditType (QgsVectorLayer::EditType editType, QgsEditorWidgetConfig &cfg, QgsVectorLayer *vl, const QString &name, const QDomElement &editTypeElement=QDomElement())
will be removed in QGIS 3.0
Member QgsLegacyHelpers::convertEditType (const QString &editType, const QgsEditorWidgetConfig &cfg, QgsVectorLayer *vl, const QString &name)
will be removed in QGIS 3.0
Member QgsLegendModel::setLayerSetAndGroups (const QStringList &layerIds, const QList< GroupLayerInfo > &groupInfo)
in 2.6
Member QgsMapCanvas::canvasPaintDevice ()
since 2.4
Member QgsMapCanvas::clear ()
since 2.4 - use refresh() - clear does the same thing
Member QgsMapCanvas::isDirty () const
since 2.4 - dirty flag is not kept anymore - always returns false
Member QgsMapCanvas::map ()
since 2.4 - there could be more than just one "map" items
Member QgsMapCanvas::mapRenderer ()
since 2.4 - use mapSettings() for anything related to current renderer settings / SIP: removed /Transfer/ because it crashes after few calls to iface.mapCanvas().mapRenderer().hasCrsTransformEnabled() / and in fact there is no transfer of ownership from c++ to python! / Actually the problem comes from the fact that "hasCrsTransformEnabled" is both a signal and a normal method / /KeepReference/ is necessary because otherwise mapRenderer().hasCrsTransformEnabled() was crashing
Member QgsMapCanvas::setDirty (bool _dirty)
since 2.4 - use refresh() to trigger a refresh (clients should not decide explicitly whether canvas is dirty or not)
Member QgsMapCanvas::setProgress (int, int)
since 2.4 - already unused in 2.0 anyway
Member QgsMapCanvas::setWheelAction (WheelAction action, double factor=2)
No more options for wheel action
Member QgsMapCanvas::showError (QgsMapLayer *mapLayer)
since 2.4 - does nothing - errors are reported by different means
Member QgsMapCanvas::updateFullExtent ()
since v2.4 - does nothing
Member QgsMapCanvas::updateMap ()
in 2.4 - does nothing - kept for API compatibility
Member QgsMapCanvas::useImageToRender (bool theFlag)
since 2.4 - does nothing because now we always render to QImage
Member QgsMapCanvasItem::mPanningOffset
since v2.4
Member QgsMapCanvasItem::setPanningOffset (QPoint point)
since v2.4 - not called by QgsMapCanvas anymore
Member QgsMapCanvasMap::enableAntiAliasing (bool flag)
in 2.4 - does nothing. Kept for API compatibility
Member QgsMapCanvasMap::paintDevice ()
in 2.4
Member QgsMapCanvasMap::refresh ()
in 2.4 - does nothing. Kept for API compatibility
Member QgsMapCanvasMap::render ()
in 2.4 - does nothing. Kept for API compatibility
Member QgsMapCanvasMap::resize (QSize size)
in 2.4 - does nothing. Kept for API compatibility
Member QgsMapCanvasMap::setBackgroundColor (const QColor &color)
in 2.4 - does nothing. Kept for API compatibility
Member QgsMapCanvasMap::setPanningOffset (QPoint point)
in 2.4 - not called by QgsMapCanvas anymore
Member QgsMapCanvasMap::updateContents ()
in 2.4 - does nothing. Kept for API compatibility
Member QgsMapLayer::cacheImage ()
since 2.4 - returns nullptr
Member QgsMapLayer::clearCacheImage ()
in 2.4 - use triggerRepaint() - caches automatically listen to repaintRequested() signal to invalidate the cached image
Member QgsMapLayer::drawingProgress (int theProgress, int theTotalSteps)
in 2.4 - not emitted anymore
Member QgsMapLayer::lastError ()
since 2.4 - returns empty string
Member QgsMapLayer::lastErrorTitle ()
since 2.4 - returns empty string
Member QgsMapLayer::layerNameChanged ()
since 2.16 use nameChanged() instead
Member QgsMapLayer::onCacheImageDelete ()
since 2.4 - does nothing
Member QgsMapLayer::setCacheImage (QImage *)
since 2.4 - caches listen to repaintRequested() signal to invalidate the cached image
Member QgsMapLayer::setLayerName (const QString &name)
Since 2.16, use setName instead
Member QgsMapLayer::toggleScaleBasedVisibility (bool theVisibilityFlag)
use setScaleBasedVisibility instead
Member QgsMapLayerRegistry::clearAllLayerCaches ()
since 2.4 - does nothing
Member QgsMapRenderer::drawingProgress (int current, int total)
in 2.4 - not emitted anymore
Member QgsMapRenderer::hasCrsTransformEnabled (bool flag)
Use hasCrsTransformEnabledChanged( bool flag ) to avoid conflict with method of the same name).
Member QgsMapRenderer::onDrawingProgress (int current, int total)
in 2.4 - does nothing
Member QgsMapRenderer::updateMap ()
in 2.4 - not emitted anymore
Member QgsMapTool::isEditTool () const
use flags() instead
Member QgsMapTool::isTransient () const
use flags() instead
Member QgsMapTool::renderComplete ()
since 2.4 - not called anymore - map tools must not directly depend on rendering progress
Member QgsMapToolCapture::nextPoint (const QgsPoint &mapPoint, QgsPoint &layerPoint)
use nextPoint(const QgsPointV2&, QgsPointV2&)
Member QgsMapToolCapture::nextPoint (QPoint p, QgsPoint &layerPoint, QgsPoint &mapPoint)
use nextPoint( const QPoint&, QgsPointV2&, QgsPointV2& )
Member QgsMapToPixel::QgsMapToPixel (double mapUnitsPerPixel, double height, double ymin=0, double xmin=0)
in 2.8, use version with all parameters
Member QgsMapToPixel::setParameters (double mapUnitsPerPixel, double xmin, double ymin, double height)
in 2.8, use the version with full parameters
Member QgsMapToPixel::setXMinimum (double xmin)
in 2.8, use setParameters
Member QgsMapToPixel::setYMaximum (double yMax)
in 2.8, use setParameters
Member QgsMapToPixel::setYMinimum (double ymin)
in 2.8, use setParameters
Member QgsNetworkAccessManager::deleteReply (QNetworkReply *reply)
use abort() and deleteLayer() on the reply directly
Member QgsNetworkAccessManager::requestSent (QNetworkReply *reply, QObject *sender)
only emitted from deprecated sendGet
Member QgsNetworkAccessManager::sendGet (const QNetworkRequest &request)
use get() directly
Member QgsOWSConnection::connectionInfo ()
use mConnectionInfo instead
Member QgsPalLabeling::addDiagramLayer (QgsVectorLayer *layer, const QgsDiagramLayerSettings *s) override
since 2.12 - use prepareDiagramLayer()
Member QgsPalLabeling::candidates ()
since 2.12
Member QgsPalLabeling::init (QgsMapRenderer *mr) override
since 2.4 - use override with QgsMapSettings
Member QgsPalLabeling::isStoredWithProject () const
since 2.4 - settings are always stored in project
Member QgsPalLabeling::labelsAtPosition (const QgsPoint &p) override
since 2.4 - use takeResults() and methods of QgsLabelingResults
Member QgsPalLabeling::labelsWithinRect (const QgsRectangle &r) override
since 2.4 - use takeResults() and methods of QgsLabelingResults
Member QgsPalLabeling::layer (const QString &layerName) override
since 2.12 - if direct access to QgsPalLayerSettings is necessary, use QgsPalLayerSettings::fromLayer()
Member QgsPalLabeling::setStoredWithProject (bool store)
since 2.4 - settings are always stored in project
Member QgsPointDisplacementRenderer::setDisplacementGroups (const QList< QMap< QgsFeatureId, QgsFeature > > &list)
since 2.4
Member QgsProject::clearProperties ()
use clear() instead
Member QgsProject::dirty (bool b)
use setDirty instead
Member QgsProject::title (const QString &title)
Use setTitle instead.
Member QgsRasterCalcNode::calculate (QMap< QString, QgsRasterMatrix *> &rasterData, QgsRasterMatrix &result) const
use method which accepts QgsRasterBlocks instead
Member QgsRasterLayer::previewAsPixmap (QSize size, const QColor &bgColor=Qt::white)
use previewAsImage() for rendering with QGIS>=2.4
Member QgsRasterLayer::setDrawingStyle (const QString &theDrawingStyleQString)
Deprecated since QGIS 2.10.
Member QgsRasterLayer::updateProgress (int, int)
in 2.4 - does nothing
Member QgsRasterProjector::QgsRasterProjector (const QgsCoordinateReferenceSystem &theSrcCRS, const QgsCoordinateReferenceSystem &theDestCRS, double theMaxSrcXRes, double theMaxSrcYRes, const QgsRectangle &theExtent)
since 2.18: use default constructor
Member QgsRasterProjector::QgsRasterProjector (const QgsCoordinateReferenceSystem &theSrcCRS, const QgsCoordinateReferenceSystem &theDestCRS, const QgsRectangle &theDestExtent, int theDestRows, int theDestCols, double theMaxSrcXRes, double theMaxSrcYRes, const QgsRectangle &theExtent)
since 2.18: use default constructor
Member QgsRasterProjector::QgsRasterProjector (const QgsCoordinateReferenceSystem &theSrcCRS, const QgsCoordinateReferenceSystem &theDestCRS, int theSrcDatumTransform, int theDestDatumTransform, const QgsRectangle &theDestExtent, int theDestRows, int theDestCols, double theMaxSrcXRes, double theMaxSrcYRes, const QgsRectangle &theExtent)
since 2.18: use default constructor
Member QgsRasterProjector::QgsRasterProjector (const QgsRasterProjector &projector)
since 2.18: use clone()
Member QgsRasterProjector::setMaxSrcRes (double theMaxSrcXRes, double theMaxSrcYRes)
since 2.18, does nothing
Member QgsRenderChecker::setMapRenderer (QgsMapRenderer *thepMapRenderer)
since 2.4 - use setMapSettings()
Class QgsRendererV2DataDefinedMenus
unused, will be removed in QGIS 3.0
Member QgsRendererV2DataDefinedMenus::QgsRendererV2DataDefinedMenus (QMenu *menu, QgsVectorLayer *layer, const QString &rotationField, const QString &sizeScaleField, QgsSymbolV2::ScaleMethod scaleMethod)
will be removed in QGIS 3.0
Member QgsRubberBand::QgsRubberBand (QgsMapCanvas *mapCanvas, bool isPolygon)
Use the constructor which takes QGis::GeometryType as second argument instead
Member QgsRubberBand::reset (bool isPolygon)
Use the reset method which takes QGis::GeometryType as second argument instead Clears all the geometries in this rubberband.
Member QgsRuleBasedRendererV2::Rule::checkState () const
use active instead
Member QgsRuleBasedRendererV2::Rule::setCheckState (bool state)
use setActive instead
Member QgsRuleBasedRendererV2::Rule::startRender (QgsRenderContext &context, const QgsFields &fields)
use startRender( QgsRenderContext& context, const QgsFields& fields, QString& filter ) instead
Member QgsSimpleMarkerSymbolLayerV2::name () const
use shape() instead
Member QgsSimpleMarkerSymbolLayerV2::preparePath (QString name=QString())
will be removed in QGIS 3.0
Member QgsSimpleMarkerSymbolLayerV2::prepareShape (const QString &name, QPolygonF &polygon) const
will be removed in QGIS 3.0
Member QgsSimpleMarkerSymbolLayerV2::prepareShape (const QString &name=QString())
will be removed in QGIS 3.0
Member QgsSimpleMarkerSymbolLayerV2::QgsSimpleMarkerSymbolLayerV2 (const QString &name, const QColor &color=DEFAULT_SIMPLEMARKER_COLOR, const QColor &borderColor=DEFAULT_SIMPLEMARKER_BORDERCOLOR, double size=DEFAULT_SIMPLEMARKER_SIZE, double angle=DEFAULT_SIMPLEMARKER_ANGLE, QgsSymbolV2::ScaleMethod scaleMethod=DEFAULT_SCALE_METHOD, Qt::PenJoinStyle penJoinStyle=DEFAULT_SIMPLEMARKER_JOINSTYLE)
use variant which accepts QgsSimpleMarkerSymbolLayerBase::Shape instead
Member QgsSimpleMarkerSymbolLayerV2::setName (const QString &name)
use setShape() instead
Member QgsSnapper::QgsSnapper (QgsMapRenderer *mapRender)
since 2.4 - use constructor with QgsMapSettings
Member QgsSnapper::snapPoint (QPoint startPoint, QList< QgsSnappingResult > &snappingResult, const QList< QgsPoint > &excludePoints=QList< QgsPoint >())
Member QgsSublayersDialog::populateLayerTable (const QStringList &theList, const QString &delim=":")
since 2.16 - use other populateLayerTable() variant
Member QgsSublayersDialog::selectionIndexes ()
since 2.16 - use selection()
Member QgsSublayersDialog::selectionNames ()
since 2.16 - use selection()
Member QgsSvgCache::containsParams (const QString &path, bool &hasFillParam, bool &hasDefaultFillParam, QColor &defaultFillColor, bool &hasOutlineParam, bool &hasDefaultOutlineColor, QColor &defaultOutlineColor, bool &hasOutlineWidthParam, bool &hasDefaultOutlineWidth, double &defaultOutlineWidth) const
use variant with fill and outline opacity
Member QgsSymbolLayerV2::dataDefinedProperty (const QString &property) const
use getDataDefinedProperty instead
Member QgsSymbolLayerV2::dataDefinedPropertyString (const QString &property) const
use getDataDefinedProperty instead
Member QgsSymbolLayerV2::evaluateDataDefinedProperty (const QString &property, const QgsFeature *feature, const QVariant &defaultVal=QVariant(), bool *ok=nullptr) const
use variant which takes QgsSymbolV2RenderContext instead
Member QgsSymbolLayerV2::expression (const QString &property) const
use getDataDefinedProperty or evaluateDataDefinedProperty instead
Member QgsSymbolLayerV2::prepareExpressions (const QgsFields *fields, double scale=-1.0)
use variant which takes QgsSymbolV2RenderContext instead
Member QgsSymbolLayerV2::setDataDefinedProperty (const QString &property, const QString &expressionString)
use setDataDefinedProperty( const QString& property, QgsDataDefined* dataDefined ) instead
Member QgsSymbolLayerV2Utils::wellKnownMarkerFromSld (QDomElement &element, QString &name, QColor &color, QColor &borderColor, double &borderWidth, double &size)
Use wellKnownMarkerFromSld( QDomElement &element, QString &name, QColor &color, QColor &borderColor, Qt::PenStyle &borderStyle, double &borderWidth, double &size ) instead
Member QgsSymbolLayerV2Utils::wellKnownMarkerToSld (QDomDocument &doc, QDomElement &element, const QString &name, const QColor &color, const QColor &borderColor=QColor(), double borderWidth=-1, double size=-1)
Use wellKnownMarkerToSld( QDomDocument &doc, QDomElement &element, QString name, QColor color, QColor borderColor, Qt::PenStyle borderStyle, double borderWidth, double size ) instead
Member QgsSymbolLayerV2Widget::dataDefinedPropertyLabel (const QString &entryName)
no longer used
Member QgsSymbolV2::isSymbolLayerCompatible (SymbolType layerType)
since 2.14, use QgsSymbolLayerV2::isCompatibleWithSymbol instead
Member QgsTolerance::defaultTolerance (QgsMapLayer *layer, QgsMapRenderer *renderer)
since 2.4 - use override with QgsMapSettings
Member QgsTolerance::toleranceInMapUnits (double tolerance, QgsMapLayer *layer, QgsMapRenderer *renderer, UnitType units=LayerUnits)
since 2.4 - use the override with QgsMapSettings
Member QgsTolerance::vertexSearchRadius (QgsMapLayer *layer, QgsMapRenderer *renderer)
since 2.4 - use override with QgsMapSettings
Member QgsVector::normal () const
use normalized() instead
Member QgsVectorLayer::addAttributeEditorWidget (QgsAttributeEditorElement *data)
Use editFormConfig()->addTab() instead
Member QgsVectorLayer::applyNamedStyle (const QString &namedStyle, QString &errorMsg)
Will be removed for QGIS 3 in favor of importNamedStyle
Member QgsVectorLayer::attributeEditorElements ()
Use editFormConfig()->tabs() instead
Member QgsVectorLayer::changeAttributeValue (QgsFeatureId fid, int field, const QVariant &value, bool emitSignal)
The emitSignal parameter is obsolete and not considered at the moment. It will be removed in future releases. Remove it to be prepared for the future. (Since 2.1)
Member QgsVectorLayer::dateFormat (int idx)
Use editFormConfig()->widgetConfig() instead
Member QgsVectorLayer::deleteVertex (QgsFeatureId atFeatureId, int atVertex)
use deleteVertexV2() instead
Member QgsVectorLayer::drawLabels (QgsRenderContext &rendererContext) override
will be removed in QGIS 3.0
Member QgsVectorLayer::editForm () const
Use editFormConfig()->uiForm() instead
Member QgsVectorLayer::editFormInit () const
Use editFormConfig()->initFunction() instead
Member QgsVectorLayer::editorLayout ()
Use editFormConfig()->layout() instead
Member QgsVectorLayer::editorWidgetV2 (int fieldIdx) const
Use editFormConfig()->widgetType() instead
Member QgsVectorLayer::editorWidgetV2 (const QString &fieldName) const
Use editFormConfig()->widgetType() instead
Member QgsVectorLayer::editorWidgetV2Config (int fieldIdx) const
Use editFormConfig()->widgetConfig() instead
Member QgsVectorLayer::editorWidgetV2Config (const QString &fieldName) const
Use editFormConfig()->widgetConfig() instead
Member QgsVectorLayer::editType (int idx)
Use editFormConfig()->widgetType() instead
Member QgsVectorLayer::EditType
Use the editorWidgetV2() system instead
Member QgsVectorLayer::enableLabels (bool on)
this method is for the old labeling engine
Member QgsVectorLayer::featureFormSuppress () const
Use editFormConfig()->suppress() instead
Member QgsVectorLayer::FeatureFormSuppress
in 2.14, Use QgsEditFormConfig instead
Member QgsVectorLayer::fieldEditable (int idx)
Use editFormConfig()->fieldEditable() instead
Member QgsVectorLayer::hasLabelsEnabled () const
this method is for the old labeling engine, use labelsEnabled instead
Member QgsVectorLayer::isReadOnly () const override
Use readOnly() instead. Will be made private with QGIS 3
Member QgsVectorLayer::labelOnTop (int idx)
Use editFormConfig()->labelOnTop() instead
Member QgsVectorLayer::range (int idx)
Use editFormConfig()->widgetConfig() instead
Member QgsVectorLayer::RangeData::RangeData (const QVariant &theMin, const QVariant &theMax, const QVariant &theStep)
Use the editorWidgetV2() system instead
Member QgsVectorLayer::RangeData::RangeData ()
Use the editorWidgetV2() system instead
Member QgsVectorLayer::removePolygonIntersections (QgsGeometry *geom, const QgsFeatureIds &ignoreFeatures=QgsFeatureIds())
since 2.2 - not being used for "avoid intersections" functionality anymore
Member QgsVectorLayer::select (QgsRectangle &rect, bool addToSelection)
use selectByRect() instead
Member QgsVectorLayer::setCheckedState (int idx, const QString &checked, const QString &notChecked)

Use

Use editFormConfig()->setWidgetConfig() instead

Member QgsVectorLayer::setEditForm (const QString &ui)
Use editFormConfig()->setUiForm() instead
Member QgsVectorLayer::setEditFormInit (const QString &function)
Use editFormConfig()->setInitFunction() instead
Member QgsVectorLayer::setEditorLayout (EditorLayout editorLayout)
Use editFormConfig()->setLayout() instead
Member QgsVectorLayer::setEditorWidgetV2 (int attrIdx, const QString &widgetType)
Use editFormConfig()->setWidgetType() instead
Member QgsVectorLayer::setEditorWidgetV2Config (int attrIdx, const QgsEditorWidgetConfig &config)
Use editFormConfig()->setWidgetConfig() instead
Member QgsVectorLayer::setEditType (int idx, EditType edit)
Use editFormConfig()->setWidgetType() instead
Member QgsVectorLayer::setFeatureFormSuppress (QgsVectorLayer::FeatureFormSuppress s)
Use editFormConfig()->setSuppress() instead
Member QgsVectorLayer::setFieldEditable (int idx, bool editable)
Use editFormConfig()->setFieldEditable() instead
Member QgsVectorLayer::setLabelOnTop (int idx, bool onTop)
Use editFormConfig()->setLabelOnTop() instead
Member QgsVectorLayer::setSelectedFeatures (const QgsFeatureIds &ids)
use selectByIds() instead
Member QgsVectorLayer::valueMap (int idx)
Use editFormConfig()->widgetConfig() instead
Member QgsVectorLayer::widgetSize (int idx)
Use editFormConfig()->widgetConfig() instead
Member QgsVectorLayerEditUtils::deleteVertex (QgsFeatureId atFeatureId, int atVertex)
use deleteVertexV2() instead