[Recolor] Signals, Selection and more
Hi, I have been at work the whole day today. I fixed all crash related issues. Right now, when I select objects on the canvas, a respective node is added onto the recolor wheel. The node is draggable and changes color accordingly. I haven't added the xml related code that shall modify the color property on the canvas.
I am trying to fathom if I can somehow use the selection object to keep track of which object was just deleted. Adding the nodes to the wheel is not a problem, deleting it from the wheel is. If I toggle the selection of an object, its node should disappear from the wheel. I am guessing it has something to do with *selectModifiedConn *?
Also, if an object in the selection changed its color, its node should be automatically updated. This again has to do with the selection.
So far, today has been a very productive day. :) The branch has been updated.
On 2013-09-01 19:33 +0200, Arshdeep Singh wrote:
Hi, I have been at work the whole day today. I fixed all crash related issues. Right now, when I select objects on the canvas, a respective node is added onto the recolor wheel. The node is draggable and changes color accordingly. I haven't added the xml related code that shall modify the color property on the canvas.
I am trying to fathom if I can somehow use the selection object to keep track of which object was just deleted. Adding the nodes to the wheel is not a problem, deleting it from the wheel is. If I toggle the selection of an object, its node should disappear from the wheel. I am guessing it has something to do with /selectModifiedConn /?
Also, if an object in the selection changed its color, its node should be automatically updated. This again has to do with the selection.
So far, today has been a very productive day. :) The branch has been updated.
Attaching minimal diff to fix Autotools-based builds (GNU/Linux, OS X): - adds missing entries for new files in corresponding 'Makefile_insert' - fixes include paths
diffstat: ui/dialog/recolor-artwork.cpp | 4 ++-- ui/widget/Makefile_insert | 3 +++ widgets/Makefile_insert | 4 ++++ widgets/fill-style.cpp | 6 +++--- widgets/recolor-artwork-widget.cpp | 6 +++--- widgets/recolor-selector.h | 2 +- widgets/sp-color-wheel-selector.h | 2 +- 7 files changed, 17 insertions(+), 10 deletions(-)
(diff tested on OS X 10.7.5 only)
participants (2)
-
Arshdeep Singh
-
su_v