Diffusion Krita b0c70d4c9be9

Refactoring to Enable KisPaletteView to Be Used in More Widgets

Authored by mzhou on Jun 29 2018, 8:00 PM.

Description

Refactoring to Enable KisPaletteView to Be Used in More Widgets

KisPaletteView was in kritaui, which depends on kritawidgets. There are also several widgets in kritawidgets that have their own implementation for GUI of a palette. This revision moves KisPaletteView into kritawidgets so that these widgets can use it. This way, in future modification in the palette (or the color set), fewer work would be needed.

The next step is to modify these widgets so that they use KisPaletteView instead of their own implementations.

The following changes are made:

+ KisPaletteView, KisPaletteModel and KisPaletteDelegate are now in kritawidgets

+ KisDlgInternalColorSelector and the multiple classes used by it are now in kritawidgets, except for KisScreenColorPicker, which is still in kritaui. A dependency inversion is used to enable KisDlgInternalColorSelector to use it.

+ KisColorsetSelector is now inside kritawidgets

+ KisConfigNotifier in now in kritaglobal

+ KisColorButton and KisColorInput are now in kritawidgets

+ KisPopupButton is now in kritawidgets

https://phabricator.kde.org/D13750

Merged Changes

CommitAuthorDetailsCommitted
a8ca98974df7scottpetrovic
Simplify display of Warp transformation grid 
Jun 29 2018
ae2463497d42D13775pino
Use KFormat also in performance preferences 
Jun 28 2018
bef246fb2f97dkazakov
Fix copying base files 
Jun 28 2018
6ee5e646da16dkazakov
Fix misprints docker scripts 
Jun 28 2018
b91b70d40c15dkazakov
Update docker build scripts 
Jun 28 2018
88d97c3fadbbl10n daemon script
SVN_SILENT made messages (.desktop file) - always resolve ours 
Jun 28 2018