<div dir="ltr"><div><div><div><div><div><div><div><div><div>I have been chugging away at making a new palette docker while staying at boud and irina's. When I was initially doing this in python, we realised it might be better to extend KisPaletteView(this widget is used in the palette docker and the lazybrush tool options amongst others).<br><br></div>I managed to add the following functionality past week:<br></div>1. You will see groups/group names in the view. The index from id/ and id from index functions have been updated to deal with the new groupnames taking up space.<br></div>2. You can rename groups.<br></div>3. You can edit swatches.<br></div>4. New swatches added with the palette docker will ask for a name and id.<br></div>5. You can drag and drop swatches.<br></div>6. You can drag and drop groups.<br></div>7. The palettemodel now has a convenience function for providing entries at indices as well. I am wondering if I should move the add entry/add group/remove entry/remove group functionality to the model as well to make it more in line with how model/view programming should work.<br></div><div>8. There's a basic ManagedColor python API now that allows people to deal with KoColor.<br></div><div>9. There's a basic Palette python API as well, but this still needs to be extended with all the new shiny stuff.<br></div><div><br></div>Anyway, I just merged this. I will continue on working on extra stuff in my own branch, of course.<br clear="all"><div><div><div><div><div><div><div><div><div><div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Wolthera</div>
</div></div></div></div></div></div></div></div></div></div></div>