Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Fundamental design issue in my app.

Fundamental design issue in my app.

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 158 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • enjoysmathE Offline
    enjoysmathE Offline
    enjoysmath
    wrote on last edited by enjoysmath
    #1

    I am working on a bubble.is -like application but for the Qt framework and Python 3.x.

    I have two features:
    * Restart from pickle (pretty much everything is now pickleable with my lib, including pyqtSignals)
    * Restart from scratch (restart from source and don't unpickle any saved session)

    So I was working on my app, and I hit 'F4' to go to the main window's source, edited the title statically in the source code, and hit 'F5' to restart. I noticed that the title no longer changed. But this is because I was doing the first method above.

    However, if I only restart the whole thing from source code (scratch), then I lose all my widget positions which are stored via pickling.

    Therefore what should I do? Should I convert all the widget's pickled members into code statements?

    0_1556503213040_b2801b6d-dd0b-407e-ac4a-d9679865e6f4-image.png

    https://github.com/enjoysmath
    https://math.stackexchange.com/users/26327/exercisingmathematician

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved