23 : mParentWidget( other.mParentWidget )
24 , mShowModal( other.mShowModal )
25 , mHideParent( other.mHideParent )
27 if ( other.mAdditionalExpressionContextScope )
29 mAdditionalExpressionContextScope = std::make_unique<QgsExpressionContextScope>( *other.mAdditionalExpressionContextScope );
31 if ( other.mExpressionContext )
33 mExpressionContext = std::make_unique<QgsExpressionContext>( *other.mExpressionContext );
42 mParentWidget = other.mParentWidget;
43 mShowModal = other.mShowModal;
44 mHideParent = other.mHideParent;
45 if ( other.mAdditionalExpressionContextScope )
47 mAdditionalExpressionContextScope = std::make_unique<QgsExpressionContextScope>( *other.mAdditionalExpressionContextScope );
49 if ( other.mExpressionContext )
51 mExpressionContext = std::make_unique<QgsExpressionContext>( *other.mExpressionContext );
55 mExpressionContext.reset();
Single scope for storing variables and functions for use within a QgsExpressionContext.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...