feat: add color quantization ultility
feat: add color quantization ultility
set null before emitting the event, as the emission triggers arbitrary user code which may be reentrant (e.g. changes source)
feat: add color quantization ultility
you can squish these lines together more, and should probably combine the ifs
feat: add color quantization ultility
BINDABLE properties still need NOTIFY as a fallback (afaik, the qt documentation doesn't mention it either way so I keep NOTIFY)
feat: add color quantization ultility
Also this is going to have issues due to qobject threading, as it will create a direct connection. Take a look at how FileViewOperation::finished works and is called.
feat: add color quantization ultility
Should trigger quantizeAsync(). You can use QQmlParserStatus::componentCompleted to delay the initial run until all properties are set as well.