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??
QtWS25 Last Chance

XML Output: in QML??

Scheduled Pinned Locked Moved Unsolved General and Desktop
25 Posts 2 Posters 7.9k 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.
  • S ShrikantAmbade
    28 Oct 2015, 10:51

    @mrjj Thanks for reply
    but can we product XML file as an output for QML code ????

    I mean which will do same function as my QML does

    M Offline
    M Offline
    mrjj
    Lifetime Qt Champion
    wrote on 28 Oct 2015, 11:26 last edited by
    #4

    @ShrikantAmbade
    No, I do not think Qt can do that.

    S 1 Reply Last reply 28 Oct 2015, 11:30
    0
    • M mrjj
      28 Oct 2015, 11:26

      @ShrikantAmbade
      No, I do not think Qt can do that.

      S Offline
      S Offline
      ShrikantAmbade
      wrote on 28 Oct 2015, 11:30 last edited by
      #5

      @mrjj OK, Then I have to shift to Qt Widgets... Actually I am developing touch screen application which will be mounted on Big Screen ..

      Does Qt Widgets support touch events?

      M 1 Reply Last reply 28 Oct 2015, 11:34
      0
      • S ShrikantAmbade
        28 Oct 2015, 11:30

        @mrjj OK, Then I have to shift to Qt Widgets... Actually I am developing touch screen application which will be mounted on Big Screen ..

        Does Qt Widgets support touch events?

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 28 Oct 2015, 11:34 last edited by
        #6

        @ShrikantAmbade
        But why you want QML as XML?
        Cant you just use QML ?
        its also text file and structured.

        QML is perfect for touch.

        QT Widgets does support touch but its not as easy to swipe and such gestures.
        (with widgets)

        QML/ quick is much more fluent in this.

        S 1 Reply Last reply 28 Oct 2015, 11:38
        0
        • M mrjj
          28 Oct 2015, 11:34

          @ShrikantAmbade
          But why you want QML as XML?
          Cant you just use QML ?
          its also text file and structured.

          QML is perfect for touch.

          QT Widgets does support touch but its not as easy to swipe and such gestures.
          (with widgets)

          QML/ quick is much more fluent in this.

          S Offline
          S Offline
          ShrikantAmbade
          wrote on 28 Oct 2015, 11:38 last edited by
          #7

          @mrjj I need XML file as an output. Then this XML file will further integrated into other framework which only take XML as an Input.

          so I have to use drag and drop instead of swipe :(

          M 1 Reply Last reply 28 Oct 2015, 11:46
          0
          • S ShrikantAmbade
            28 Oct 2015, 11:38

            @mrjj I need XML file as an output. Then this XML file will further integrated into other framework which only take XML as an Input.

            so I have to use drag and drop instead of swipe :(

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 28 Oct 2015, 11:46 last edited by
            #8

            @ShrikantAmbade
            But XML is just for layout in Designer.
            What will "other framework " need that for ?
            Would it not be possible to have interface in QML and just generate (with own code) the
            XML needed for "other framework " . ?

            It all depends of what the application is. If normal desktop type application , Widgets will be great.
            But if Modern looking phone like interface is the target, then QML will get there faster.

            S 1 Reply Last reply 28 Oct 2015, 11:50
            0
            • M mrjj
              28 Oct 2015, 11:46

              @ShrikantAmbade
              But XML is just for layout in Designer.
              What will "other framework " need that for ?
              Would it not be possible to have interface in QML and just generate (with own code) the
              XML needed for "other framework " . ?

              It all depends of what the application is. If normal desktop type application , Widgets will be great.
              But if Modern looking phone like interface is the target, then QML will get there faster.

              S Offline
              S Offline
              ShrikantAmbade
              wrote on 28 Oct 2015, 11:50 last edited by
              #9

              @mrjj I have to develop GUI editor for security specification and these specifications are then integrated into WorSE

              M 1 Reply Last reply 28 Oct 2015, 11:52
              0
              • S ShrikantAmbade
                28 Oct 2015, 11:50

                @mrjj I have to develop GUI editor for security specification and these specifications are then integrated into WorSE

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 28 Oct 2015, 11:52 last edited by
                #10

                @ShrikantAmbade said:

                Ok so your program is like a text editor, but instead of text it loads
                security specifications and can then change them and then
                send it as XML to WorSE?

                Or you mean like Designer, where you can place widgets on a screen and it must then send the
                layout of that screen as xml to Worse?

                S 1 Reply Last reply 28 Oct 2015, 11:58
                0
                • M mrjj
                  28 Oct 2015, 11:52

                  @ShrikantAmbade said:

                  Ok so your program is like a text editor, but instead of text it loads
                  security specifications and can then change them and then
                  send it as XML to WorSE?

                  Or you mean like Designer, where you can place widgets on a screen and it must then send the
                  layout of that screen as xml to Worse?

                  S Offline
                  S Offline
                  ShrikantAmbade
                  wrote on 28 Oct 2015, 11:58 last edited by
                  #11

                  @mrjj It must load security specifications which can be represented in graphical way...like by using symbols and then i need to produce XML of these and feed to my WorSE

                  M 1 Reply Last reply 28 Oct 2015, 12:02
                  0
                  • S ShrikantAmbade
                    28 Oct 2015, 11:58

                    @mrjj It must load security specifications which can be represented in graphical way...like by using symbols and then i need to produce XML of these and feed to my WorSE

                    M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 28 Oct 2015, 12:02 last edited by
                    #12

                    @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 2 Replies Last reply 28 Oct 2015, 12:07
                    0
                    • M mrjj
                      28 Oct 2015, 12:02

                      @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 28 Oct 2015, 12:07 last edited by
                      #13

                      @mrjj Thank you so much :). I want to design like this

                      How can I further contact with you if I need help? I am new to Qt so very often stuck to something so need help
                      I will appreciate your help
                      Many Thanks once again

                      M 1 Reply Last reply 28 Oct 2015, 12:09
                      0
                      • S ShrikantAmbade
                        28 Oct 2015, 12:07

                        @mrjj Thank you so much :). I want to design like this

                        How can I further contact with you if I need help? I am new to Qt so very often stuck to something so need help
                        I will appreciate your help
                        Many Thanks once again

                        M Offline
                        M Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on 28 Oct 2015, 12:09 last edited by
                        #14

                        @ShrikantAmbade
                        Super :)
                        You should really start with some basic first to get to know it a bit.
                        http://doc.qt.io/qt-4.8/how-to-learn-qt.html

                        Well just post to forum. Im online often and many other are too so best with forums
                        so all can answer.

                        S 1 Reply Last reply 28 Oct 2015, 12:15
                        0
                        • M mrjj
                          28 Oct 2015, 12:09

                          @ShrikantAmbade
                          Super :)
                          You should really start with some basic first to get to know it a bit.
                          http://doc.qt.io/qt-4.8/how-to-learn-qt.html

                          Well just post to forum. Im online often and many other are too so best with forums
                          so all can answer.

                          S Offline
                          S Offline
                          ShrikantAmbade
                          wrote on 28 Oct 2015, 12:15 last edited by
                          #15

                          @mrjj Thanks I will do so :)

                          1 Reply Last reply
                          0
                          • M mrjj
                            28 Oct 2015, 12:02

                            @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 29 Oct 2015, 09:30 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

                            M 1 Reply Last reply 29 Oct 2015, 12:52
                            0
                            • S ShrikantAmbade
                              29 Oct 2015, 09:30

                              @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

                              M Offline
                              M Offline
                              mrjj
                              Lifetime Qt Champion
                              wrote on 29 Oct 2015, 12:52 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 29 Oct 2015, 14:26
                              0
                              • M mrjj
                                29 Oct 2015, 12:52

                                @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 29 Oct 2015, 14:26 last edited by
                                #18

                                @mrjj I mean to say program logic and layout

                                M 1 Reply Last reply 29 Oct 2015, 14:28
                                0
                                • S ShrikantAmbade
                                  29 Oct 2015, 14:26

                                  @mrjj I mean to say program logic and layout

                                  M Offline
                                  M Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on 29 Oct 2015, 14:28 last edited by
                                  #19

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

                                  S 1 Reply Last reply 29 Oct 2015, 14:35
                                  0
                                  • M mrjj
                                    29 Oct 2015, 14:28

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

                                    S Offline
                                    S Offline
                                    ShrikantAmbade
                                    wrote on 29 Oct 2015, 14:35 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

                                    M 1 Reply Last reply 29 Oct 2015, 14:40
                                    0
                                    • S ShrikantAmbade
                                      29 Oct 2015, 14:35

                                      @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

                                      M Offline
                                      M Offline
                                      mrjj
                                      Lifetime Qt Champion
                                      wrote on 29 Oct 2015, 14:40 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 29 Oct 2015, 14:43
                                      0
                                      • M mrjj
                                        29 Oct 2015, 14:40

                                        @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 29 Oct 2015, 14:43 last edited by
                                        #22

                                        @mrjj Ahh OK, I will go through these tutorial

                                        Many thanks dear :)

                                        1 Reply Last reply
                                        0
                                        • M mrjj
                                          29 Oct 2015, 14:40

                                          @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 29 Oct 2015, 14:52 last edited by
                                          #23

                                          @mrjj Many Thanks Dear :))

                                          M 1 Reply Last reply 29 Oct 2015, 14:54
                                          0

                                          13/25

                                          28 Oct 2015, 12:07

                                          • Login

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