Skip to content

Conversation

john-michaelburke
Copy link
Collaborator

Issues

  • After talking with Qt it seems there is no way to create a delegate for creating new columns unless done in Python/C++ and even with that I'm not sure if it is possible to create a generic table widget as such. So I have tried to reduce the code for the table widget as much as possible but we will need to just copy pasta to other tables. 😢

Implements

  • TableView with TableModel (new approach) for the SolutionTable.
    • ability to highlight a row and copy the data as a JSON.
    • ability resize column widths synced with the splitview.
    • dynamic creation of the headers using a hardcoded gradient for color.
  • setup the tableview such that one function can be used for formatting all column and row data (could do for the headers if needed)

@john-michaelburke john-michaelburke marked this pull request as ready for review August 3, 2021 23:08
@john-michaelburke john-michaelburke requested a review from a team August 3, 2021 23:09
@john-michaelburke john-michaelburke merged commit 5b9b7a6 into main Aug 3, 2021
@john-michaelburke john-michaelburke deleted the john-michaelburke/table_widget branch August 3, 2021 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants