GSoC/2018/StatusReports/MichaelZhou

From KDE Community Wiki
< GSoC‎ | 2018‎ | StatusReports
Revision as of 03:03, 13 June 2018 by Simeir (talk | contribs) (Start the status report)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A Palette Docker

Proposal: https://docs.google.com/document/d/1bTlrJRtzZKwnhjkWpznkjCl8yFQsaRpew5PORLmfeCA/edit?usp=sharing Task: https://phabricator.kde.org/T8646

GUI

The GUI design is now done by using the designer in QtCreator. Due to the new design, a new palette chooser needs to be written; it can no longer be a subclass of KoResourceItemChooser.

Data Model

The data model is redesigned. Code has been written so that the swatches are organized in matrices instead of lists. However, the data model (KoColorSet) is used in more places than I thought, so the new model cannot be immediately applied. Therefore, I am refactoring code related to the palette so that code written for palettes can be better reused.

Currently, I'm modifying the internal choose-color dialog and its dependencies so that it can be moved to a lower level of the dependency tree of Krita.

File Handling