Code/Framework/AzQtComponents/AzQtComponents/Utilities/QtViewPaneEffects.cpp
static void DisableViewPaneDisabledGraphicsEffect(QWidget* widget)
    {
        // only remove effects from widgets that we added them to
        QGraphicsEffect* effect = widget->graphicsEffect();
        if (effect != nullptr && !effect->property(s_viewPaneManagerDisableEffectPropertyName).isNull())
        {
            widget->setGraphicsEffect(nullptr);
        }
    }
// put the widget into a grayed out state to indicate it cannot be interacted with
put the widget into a grayed out state to indicate it cannot be interacted with
put the widget into a grayed out state to indicate it cannot be interacted with
static void DisableViewPaneDisabledGraphicsEffect(QWidget* widget)
    {
        QGraphicsEffect* effect = widget->graphicsEffect();
        if (effect != nullptr && !effect->property(s_viewPaneManagerDisableEffectPropertyName).isNull())
        {
            widget->setGraphicsEffect(nullptr);
        }
    }
static void DisableViewPaneDisabledGraphicsEffect ( QWidget * widget ) { QGraphicsEffect * effect = widget -> graphicsEffect ( ) ; if ( effect != nullptr && ! effect -> property ( s_viewPaneManagerDisableEffectPropertyName ) . isNull ( ) ) { widget -> setGraphicsEffect ( nullptr ) ; } }
put the widget into a grayed out state to indicate it cannot be interacted with
put the widget into a grayed out state to indicate it cannot be interacted with
// only remove effects from widgets that we added them to