"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gui/symbology/qgscategorizedsymbolrendererwidget.cpp" between
QGIS-final-3_10_5.tar.gz and QGIS-final-3_10_6.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Long-term release (3.10.x series).

qgscategorizedsymbolrendererwidget.cpp  (QGIS-final-3_10_5):qgscategorizedsymbolrendererwidget.cpp  (QGIS-final-3_10_6)
skipping to change at line 577 skipping to change at line 577
connect( btnAddCategory, &QAbstractButton::clicked, this, &QgsCategorizedSymbo lRendererWidget::addCategory ); connect( btnAddCategory, &QAbstractButton::clicked, this, &QgsCategorizedSymbo lRendererWidget::addCategory );
connect( btnColorRamp, &QgsColorRampButton::colorRampChanged, this, &QgsCatego rizedSymbolRendererWidget::applyColorRamp ); connect( btnColorRamp, &QgsColorRampButton::colorRampChanged, this, &QgsCatego rizedSymbolRendererWidget::applyColorRamp );
// menus for data-defined rotation/size // menus for data-defined rotation/size
QMenu *advMenu = new QMenu; QMenu *advMenu = new QMenu;
advMenu->addAction( tr( "Match to Saved Symbols" ), this, SLOT( matchToSymbols FromLibrary() ) ); advMenu->addAction( tr( "Match to Saved Symbols" ), this, SLOT( matchToSymbols FromLibrary() ) );
advMenu->addAction( tr( "Match to Symbols from File…" ), this, SLOT( matchToSy mbolsFromXml() ) ); advMenu->addAction( tr( "Match to Symbols from File…" ), this, SLOT( matchToSy mbolsFromXml() ) );
advMenu->addAction( tr( "Symbol Levels…" ), this, SLOT( showSymbolLevels() ) ) ; advMenu->addAction( tr( "Symbol Levels…" ), this, SLOT( showSymbolLevels() ) ) ;
if ( mCategorizedSymbol->type() == QgsSymbol::Marker ) if ( mCategorizedSymbol && mCategorizedSymbol->type() == QgsSymbol::Marker )
{ {
QAction *actionDdsLegend = advMenu->addAction( tr( "Data-defined Size Legend …" ) ); QAction *actionDdsLegend = advMenu->addAction( tr( "Data-defined Size Legend …" ) );
// only from Qt 5.6 there is convenience addAction() with new style connecti on // only from Qt 5.6 there is convenience addAction() with new style connecti on
connect( actionDdsLegend, &QAction::triggered, this, &QgsCategorizedSymbolRe ndererWidget::dataDefinedSizeLegend ); connect( actionDdsLegend, &QAction::triggered, this, &QgsCategorizedSymbolRe ndererWidget::dataDefinedSizeLegend );
} }
btnAdvanced->setMenu( advMenu ); btnAdvanced->setMenu( advMenu );
mExpressionWidget->registerExpressionContextGenerator( this ); mExpressionWidget->registerExpressionContextGenerator( this );
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)