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. Save the contents of QGraphicsscence and QGraphicsView
Forum Updated to NodeBB v4.3 + New Features

Save the contents of QGraphicsscence and QGraphicsView

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 789 Views 2 Watching
  • 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.
  • Q Offline
    Q Offline
    Qt Enthusiast
    wrote on last edited by
    #1

    I am using QGraphicsscence in my tool and QGraphicsView to display it Can I save the contents of the same in text format or any other format that can be used for regressions.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      You must program it your self for save and loading.
      Depending on how many different objects you have, it might be lots of work.

      Why not just create a test function that create the same scene each time?

      1 Reply Last reply
      1
      • Q Offline
        Q Offline
        Qt Enthusiast
        wrote on last edited by
        #3

        For regressions testing

        mrjjM 1 Reply Last reply
        0
        • Q Qt Enthusiast

          For regressions testing

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Qt-Enthusiast

          yes I understand.

          Instead of loading a scene, you just construct it from code.
          much less work than being able to load and save to a file format.

          1 Reply Last reply
          2

          • Login

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