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

Shared Preview Selection Model #180

Closed
RobertBColton opened this issue Sep 1, 2020 · 0 comments
Closed

Shared Preview Selection Model #180

RobertBColton opened this issue Sep 1, 2020 · 0 comments

Comments

@RobertBColton
Copy link
Contributor

RobertBColton commented Sep 1, 2020

Following up on #179, right now the path preview does not use an actual QItemSelectionModel and does not support multiple point selection. It would be possible for the preview to share the same selection model as the points table list. If it did use the model a lot of the selection logic in the path editor could be simplified.
https://doc.qt.io/qt-5/qtwidgets-itemviews-chart-example.html
It would be useful for editing to select several points and move them together. This behavior would also be desired in the room editor where we can consider doing the same thing. Finally, we could also correctly use the current style to paint selection and focus according to the platform conventions, like QGraphicsView/QGraphicsScene does with selected items.

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

No branches or pull requests

1 participant