Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature new shift graph #45

Merged
merged 23 commits into from
Jan 19, 2022
Merged

Feature new shift graph #45

merged 23 commits into from
Jan 19, 2022

Conversation

gfgit
Copy link
Owner

@gfgit gfgit commented Jan 19, 2022

Improve Shift Graph

  • Port away from QGraphicsView
  • Add context menu and tooltips
  • Better text layout

- ShiftGraphHourPanel: horizontal hour panel
- ShiftGraphNameHeader: vertical label panel
- Fix compilation, put const variable definition inside class.
- Fix sorting on name change
- Fix station label alignment
- Draw background hour lines
- Draw background separation lines below each row
- Exceed a bit labels from Job line to get more space
- Renamed ShiftRow to ShiftGraph
- Make window bigger
- Renamed window, remove "Editor"
Needs more investigation...
- ShiftGraphEditor: remove context menu slot
Try to avoid overlapping text by using 2 rows for each label type
@gfgit gfgit added the enhancement New feature or request label Jan 19, 2022
@gfgit gfgit self-assigned this Jan 19, 2022
@gfgit gfgit added this to In progress in ModelRailroadTimetablePlanner Tasks via automation Jan 19, 2022
@gfgit gfgit merged commit 4dded56 into master Jan 19, 2022
ModelRailroadTimetablePlanner Tasks automation moved this from In progress to Done Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

None yet

1 participant