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. Serializing with QJsfon => Getting started
QtWS25 Last Chance

Serializing with QJsfon => Getting started

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.0k 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.
  • Flaming MoeF Offline
    Flaming MoeF Offline
    Flaming Moe
    wrote on last edited by
    #1

    Hello there,

    i was looking for a way to store and reload data. I talked with a fried and he gave me the hint of QJsfon.
    This thread is supposed to be a Getting started for Qt Noobs like me. There is an QJsfon example
    http://doc.qt.io/qt-5/qtcore-json-savegame-example.html
    but i wanted to start on an even lower level.

    So this is what i have done for a first step:
    https://www.dropbox.com/s/93hem5rr9uskcjr/QJsfon_1.zip?dl=0
    Content of "readMe":

    This project is a very stripped down example to save and load
    data via QJsfon.
    It is based on a prebuild QMainwindow project
    which is atomaticly generated from QT Creator.
    On the UI there is a slider and two buttons.
    The saves button saves the current slider value via
    QJsfon and respectivly the load button loads the value from
    the Jsfon File.

    A lovely day for a ̶g̶̶u̶̶i̶̶n̶̶n̶̶e̶̶s̶ DUFF^^

    M 1 Reply Last reply
    0
    • Flaming MoeF Offline
      Flaming MoeF Offline
      Flaming Moe
      wrote on last edited by
      #2

      A little next Step with 2 Sliders and 4 Buttons to test the parsing based on the "Keys"
      https://www.dropbox.com/s/wvr8fbzjmugilta/Json_2.zip?dl=0

      readMe:

      This project is a very stripped down example to save and load
      data via QJsfon.
      It is based on a prebuild QMainwindow project
      which is atomaticly generated from QT Creator.
      On the UI there are 2 slider and 4 buttons.
      The saves button saves the current slider value via
      QJsfon and respectivly the load button loads the value from
      the Jsfon File.

      The loading happens in the opposite order of storing, this
      was done intendedly to get a feeling for the parsing function
      based on the "keys" e.g. "Slider_X".

      A lovely day for a ̶g̶̶u̶̶i̶̶n̶̶n̶̶e̶̶s̶ DUFF^^

      1 Reply Last reply
      0
      • Flaming MoeF Flaming Moe

        Hello there,

        i was looking for a way to store and reload data. I talked with a fried and he gave me the hint of QJsfon.
        This thread is supposed to be a Getting started for Qt Noobs like me. There is an QJsfon example
        http://doc.qt.io/qt-5/qtcore-json-savegame-example.html
        but i wanted to start on an even lower level.

        So this is what i have done for a first step:
        https://www.dropbox.com/s/93hem5rr9uskcjr/QJsfon_1.zip?dl=0
        Content of "readMe":

        This project is a very stripped down example to save and load
        data via QJsfon.
        It is based on a prebuild QMainwindow project
        which is atomaticly generated from QT Creator.
        On the UI there is a slider and two buttons.
        The saves button saves the current slider value via
        QJsfon and respectivly the load button loads the value from
        the Jsfon File.

        M Offline
        M Offline
        mcosta
        wrote on last edited by
        #3

        Hi,

        @Flaming-Moe said:

        QJsfon

        Do you mean QJSon?

        I dont understand what do you're asking us

        Once your problem is solved don't forget to:

        • Mark the thread as SOLVED using the Topic Tool menu
        • Vote up the answer(s) that helped you to solve the issue

        You can embed images using (http://imgur.com/) or (http://postimage.org/)

        1 Reply Last reply
        0
        • Flaming MoeF Offline
          Flaming MoeF Offline
          Flaming Moe
          wrote on last edited by
          #4

          Correct, i meant QJson.
          I don´t ask anything. The idea is to mark a tread with a topic to make it "findable".
          Of course, if someone finds issues in the code, post it.

          A lovely day for a ̶g̶̶u̶̶i̶̶n̶̶n̶̶e̶̶s̶ DUFF^^

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mcosta
            wrote on last edited by
            #5

            I think in this case should be better use a Wiki page!

            Once your problem is solved don't forget to:

            • Mark the thread as SOLVED using the Topic Tool menu
            • Vote up the answer(s) that helped you to solve the issue

            You can embed images using (http://imgur.com/) or (http://postimage.org/)

            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