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. XML Output: in QML??
Forum Updated to NodeBB v4.3 + New Features

XML Output: in QML??

Scheduled Pinned Locked Moved Unsolved General and Desktop
25 Posts 2 Posters 8.0k Views 1 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.
  • mrjjM mrjj

    @ShrikantAmbade
    Ok. such editor.
    Have a look at
    http://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html

    Could provide a good starting point.

    S Offline
    S Offline
    ShrikantAmbade
    wrote on last edited by
    #16

    @mrjj Hello,
    I dont want to send the layout of the screen as XML.
    Whatever I code, I want to export this code into XML

    mrjjM 1 Reply Last reply
    0
    • S ShrikantAmbade

      @mrjj Hello,
      I dont want to send the layout of the screen as XML.
      Whatever I code, I want to export this code into XML

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

      @ShrikantAmbade

      Whatever I code, I want to export this code into XML
      Can you give example ?
      as export code to xml could be many things.

      S 1 Reply Last reply
      0
      • mrjjM mrjj

        @ShrikantAmbade

        Whatever I code, I want to export this code into XML
        Can you give example ?
        as export code to xml could be many things.

        S Offline
        S Offline
        ShrikantAmbade
        wrote on last edited by
        #18

        @mrjj I mean to say program logic and layout

        mrjjM 1 Reply Last reply
        0
        • S ShrikantAmbade

          @mrjj I mean to say program logic and layout

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

          @ShrikantAmbade
          ok not sure how it relates to
          security specifications in graphical way.

          S 1 Reply Last reply
          0
          • mrjjM mrjj

            @ShrikantAmbade
            ok not sure how it relates to
            security specifications in graphical way.

            S Offline
            S Offline
            ShrikantAmbade
            wrote on last edited by
            #20

            @mrjj The following is an example of HRU model specification
            Q = 2Sx 2Ox Mis the state space where
            Sis a (not necessarily finite) set of subjects,
            Ois a (not necessarily finite) set of objects,
            M = {m|m:2Sx 2O→2R } is a set of ACMs with a finite right set R,
            Σ = Ax Xis a finite set of inputs where
            Ais a set of operations/actions,
            X= (SO)kis a k-dimensional vector of subjects and objects, the parameters of the actions,
            :QxΣ→Qis a state transition function,
            q0Qis the initial state.
            some mathematical symbols are not proper here plz ignore it

            this is just a textual notation I will represent it but in Graphical way and code accordingly and once it is done must export into XML

            mrjjM 1 Reply Last reply
            0
            • S ShrikantAmbade

              @mrjj The following is an example of HRU model specification
              Q = 2Sx 2Ox Mis the state space where
              Sis a (not necessarily finite) set of subjects,
              Ois a (not necessarily finite) set of objects,
              M = {m|m:2Sx 2O→2R } is a set of ACMs with a finite right set R,
              Σ = Ax Xis a finite set of inputs where
              Ais a set of operations/actions,
              X= (SO)kis a k-dimensional vector of subjects and objects, the parameters of the actions,
              :QxΣ→Qis a state transition function,
              q0Qis the initial state.
              some mathematical symbols are not proper here plz ignore it

              this is just a textual notation I will represent it but in Graphical way and code accordingly and once it is done must export into XML

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

              @ShrikantAmbade
              ok.
              well once you can draw the spec in a graphical way. you can then use the
              XML objects to create the xml you need.
              http://doc.qt.io/qt-5/qtxml-module.html

              S 2 Replies Last reply
              0
              • mrjjM mrjj

                @ShrikantAmbade
                ok.
                well once you can draw the spec in a graphical way. you can then use the
                XML objects to create the xml you need.
                http://doc.qt.io/qt-5/qtxml-module.html

                S Offline
                S Offline
                ShrikantAmbade
                wrote on last edited by
                #22

                @mrjj Ahh OK, I will go through these tutorial

                Many thanks dear :)

                1 Reply Last reply
                0
                • mrjjM mrjj

                  @ShrikantAmbade
                  ok.
                  well once you can draw the spec in a graphical way. you can then use the
                  XML objects to create the xml you need.
                  http://doc.qt.io/qt-5/qtxml-module.html

                  S Offline
                  S Offline
                  ShrikantAmbade
                  wrote on last edited by
                  #23

                  @mrjj Many Thanks Dear :))

                  mrjjM 1 Reply Last reply
                  0
                  • S ShrikantAmbade

                    @mrjj Many Thanks Dear :))

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

                    @ShrikantAmbade
                    You are welcome.
                    I just saw they say to use
                    http://doc.qt.io/qt-5/qxmlstreamwriter.html
                    instead

                    example:
                    http://www.codeprogress.com/cpp/libraries/qt/showQtExample.php?key=QXmlStreamWriterWriteXML&index=545

                    S 1 Reply Last reply
                    0
                    • mrjjM mrjj

                      @ShrikantAmbade
                      You are welcome.
                      I just saw they say to use
                      http://doc.qt.io/qt-5/qxmlstreamwriter.html
                      instead

                      example:
                      http://www.codeprogress.com/cpp/libraries/qt/showQtExample.php?key=QXmlStreamWriterWriteXML&index=545

                      S Offline
                      S Offline
                      ShrikantAmbade
                      wrote on last edited by
                      #25

                      @mrjj Thanks :)) I will go through it

                      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