-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
Improve part list #518
Comments
I'm currently working on a POC but that takes some time as it is a massive change |
For those who are interested, I created a small test wx frame that uses DataViewCtrl: https://gist.github.com/Bouni/28651a1a6cc2dd4d2749612097801f97 Natural Sort works without database, adding elements, modifiying elements and deleting elements works as well. Still to do: Select alike, center icons |
@Bouni what would the purpose be to add/update/remove entries or is that just showing the low level functionality of not having to rebuild the list each time? |
Yes, Just test if everything we need works. With buttons for this test but later automatically |
I work on a PR that integrate this into the plugin, the changes will quite extensive as a lot of logic is no longer necessary |
I wanted for a long time to replace the part list with something that lets me add, change or delete entries without having to re-populate the entire list every time a change is made.
I think the way to go is using a
DataViewCtrl
in combination with aPyDataViewModel
.That also allows to sort the columns using anatural sort algorithm without having the database to do the sorting.
The text was updated successfully, but these errors were encountered: