Bug 313604 - Show a line with the current time in the Gantt view
Summary: Show a line with the current time in the Gantt view
Status: RESOLVED FIXED
Alias: None
Product: kdiagram
Classification: Applications
Component: KGantt (show other bugs)
Version: unspecified
Platform: Chakra Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dag Andersen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-21 06:45 UTC by Adrián Chaves (Gallaecio)
Modified: 2019-01-30 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.6.89


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrián Chaves (Gallaecio) 2013-01-21 06:45:45 UTC
Similar to what Korganizer has in some of its view (e.g. week), it would be helpful to show a (red) vertical line with the current time as text, placed in the sport representing the current time in the Gantt view.

Note: Maybe this could be added back to Korganizer for it’s timeline view, which Plan’s Gantt view seems to be based on.

Reproducible: Always
Comment 1 Dag Andersen 2019-01-29 11:43:20 UTC
Git commit f7f9ca1a7a8bfd550022ca4aafe3bb2985a1bee4 by Dag Andersen.
Committed on 29/01/2019 at 11:09.
Pushed by danders into branch 'master'.

KGantt: Add timeline

M  +20   -1    examples/Gantt/project/mainwindow.cpp
M  +2    -1    examples/Gantt/project/mainwindow.h
M  +2    -0    src/KGantt/kganttabstractgrid.cpp
M  +52   -4    src/KGantt/kganttdatetimegrid.cpp
M  +73   -0    src/KGantt/kganttdatetimegrid.h
M  +11   -1    src/KGantt/kganttdatetimegrid_p.h

https://commits.kde.org/kdiagram/f7f9ca1a7a8bfd550022ca4aafe3bb2985a1bee4
Comment 2 Dag Andersen 2019-01-30 12:17:02 UTC
Git commit ec96590219864ea06a5676c2543836137c90c2d0 by Dag Andersen.
Committed on 30/01/2019 at 12:15.
Pushed by danders into branch 'master'.

KGantt: Add timeline

Second take. Isolate most functionallity in separate class.
FIXED_IN: 2.6.89

M  +8    -1    examples/Gantt/project/mainwindow.cpp
M  +2    -0    src/KGantt/CMakeLists.txt
M  +25   -4    src/KGantt/kganttdatetimegrid.cpp
M  +3    -0    src/KGantt/kganttdatetimegrid.h
M  +7    -1    src/KGantt/kganttdatetimegrid_p.h
A  +163  -0    src/KGantt/kganttdatetimetimeline.cpp     [License: GPL (v2+)]
A  +61   -0    src/KGantt/kganttdatetimetimeline.h     [License: GPL (v2+)]

https://commits.kde.org/kdiagram/ec96590219864ea06a5676c2543836137c90c2d0