GammaAdjustItem.qml Example File

SideMenu/imports/QtQuick/Studio/Effects/GammaAdjustItem.qml
import QtQuick 2.0
import QtGraphicalEffects 1.0

Item {
    id: root

    default property alias contentStack: stack.children
    property alias gammaAdjustment: gammaAdjust.gamma

    implicitWidth: Math.max(32, stack.implicitWidth)
    implicitHeight: Math.max(32, stack.implicitHeight)

    Item {
        id: stack
        implicitWidth: childrenRect.width + childrenRect.x
        implicitHeight: childrenRect.height + childrenRect.y
        visible: false
    }

    GammaAdjust {
        id: gammaAdjust
        anchors.fill: stack
        source: stack
        gamma: 0.45
    }
}

Available under certain Qt licenses.
Find out more.