Hello, good afternoon. I am developing an application in PySide6 where I want to save and load the state of several widgets and also the state of several objects of the QGraphicsItem class, which can number in the hundreds. What would you recommend so that I can perform this task in the most efficient way?
What I’m doing in this case is using a database to record the settings applied to the graphics items. Then later in code I loop through those records (and there can be thousands) create the canvas and reapply the graphics items from the database records. This can be slow and has lead to thread processing issues I’m working on now.