Solved Pixelator Example Missing QML Code
-
Hello,
Looking at this example:
https://doc.qt.io/qt-5.12/qtquick-tableview-pixelator-example.htmlI don't see the model actually being used in the delegate. What am I missing? Looking at the QML file I only see the comment
//! [pixelcomponent]
:
https://code.woboq.org/qt5/qtdeclarative/examples/quick/tableview/pixelator/main.qml.html -
@Puya The model provides the color information to the delegate:
readonly property real gray: model.display / 255.0