| Summary: | white on white printing | ||
|---|---|---|---|
| Product: | [Applications] kdiagram | Reporter: | testdroid711 |
| Component: | KGantt | Assignee: | Dag Andersen <dag.andersen> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/kdiagram/commit/919da01644fe3c65c20cb7bdd58a2118f246e0c7 | Version Fixed/Implemented In: | 2.7.89 |
| Sentry Crash Report: | |||
|
Description
testdroid711
2020-09-06 11:27:25 UTC
Git commit 919da01644fe3c65c20cb7bdd58a2118f246e0c7 by Ömer Fadıl Usta, on behalf of Dag Andersen. Committed on 07/10/2020 at 17:00. Pushed by usta into branch '2.7'. KGantt: Make KGantt adapt to palette changes to make it usable also with dark themes Colors/brushes for text, grid, constraints etc is fetched from the app palette instead of being hardcoded. Task, event and summary task colors are not changed as they work with both dark and light colors. This makes it possible print on white paper even when using a dark style as demonstrated with the GanttPalette example. (cherry picked from commit 60d967eec3cec695552a5cd643620bdc1c20c643) M +1 -0 examples/Gantt/CMakeLists.txt A +9 -0 examples/Gantt/palette/CMakeLists.txt A +59 -0 examples/Gantt/palette/main.cpp [License: GPL (v2+)] A +431 -0 examples/Gantt/palette/mainwindow.cpp [License: GPL (v2+)] A +74 -0 examples/Gantt/palette/mainwindow.h [License: GPL (v2+)] A +360 -0 examples/Gantt/palette/projectmodel.cpp [License: GPL (v2+)] A +56 -0 examples/Gantt/palette/projectmodel.h [License: GPL (v2+)] M +8 -1 src/KGantt/kganttconstraintgraphicsitem.cpp M +3 -0 src/KGantt/kganttdatetimegrid.cpp M +7 -0 src/KGantt/kganttgraphicsitem.cpp M +9 -6 src/KGantt/kganttitemdelegate.cpp M +1 -1 src/KGantt/kganttitemdelegate_p.h https://invent.kde.org/graphics/kdiagram/commit/919da01644fe3c65c20cb7bdd58a2118f246e0c7 |