Skip to content
Permalink
Browse files

Model tests

  • Loading branch information
nyalldawson committed Jul 29, 2020
1 parent 6e40962 commit ae3f2c319c40dc43db1d9036d8b77a8ec731eba4
Showing with 591 additions and 53 deletions.
  1. +1 −1 src/core/symbology/qgsstylemodel.cpp
  2. +590 −52 tests/src/python/test_qgsstylemodel.py
@@ -25,7 +25,7 @@

const double ICON_PADDING_FACTOR = 0.16;

const auto ENTITIES = { QgsStyle::SymbolEntity, QgsStyle::ColorrampEntity, QgsStyle::TextFormatEntity, QgsStyle::LabelSettingsEntity, QgsStyle::LegendPatchShapeEntity };
const auto ENTITIES = { QgsStyle::SymbolEntity, QgsStyle::ColorrampEntity, QgsStyle::TextFormatEntity, QgsStyle::LabelSettingsEntity, QgsStyle::LegendPatchShapeEntity, QgsStyle::Symbol3DEntity };

QgsStyleModel::QgsStyleModel( QgsStyle *style, QObject *parent )
: QAbstractItemModel( parent )

0 comments on commit ae3f2c3

Please sign in to comment.
You can’t perform that action at this time.