Keep the QML ColorDialog's controls in sync with the color property
authorShawn Rutledge <shawn.rutledge@digia.com>
Tue, 23 Jul 2013 08:49:10 +0000 (10:49 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 25 Jul 2013 14:31:40 +0000 (16:31 +0200)
commiteda210242f2143271515b691b6b21d7ae734f3f0
tree56ba56ed3997b10b45f412880204093b04657a16
parenta3586ffa3db9a2ee229429656b7f3a4f6bffd8fc
Keep the QML ColorDialog's controls in sync with the color property

Until now, the user could change the color by dragging the crosshairs
or the sliders, but if the application set the color property, it did
not programmatically move the crosshairs and sliders.

Task-number: QTBUG-32545
Change-Id: Idd54e711400dfd78d570161297559f9521c1d67f
Reviewed-by: Liang Qi <liang.qi@digia.com>
src/imports/dialogs/DefaultColorDialog.qml
src/imports/dialogs/qquickabstractcolordialog_p.h