XML Output: in QML??
-
@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?@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
-
@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
@ShrikantAmbade
Ok. such editor.
Have a look at
http://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.htmlCould provide a good starting point.
-
@ShrikantAmbade
Ok. such editor.
Have a look at
http://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.htmlCould provide a good starting point.
@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 -
@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@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.htmlWell just post to forum. Im online often and many other are too so best with forums
so all can answer. -
@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.htmlWell just post to forum. Im online often and many other are too so best with forums
so all can answer.@mrjj Thanks I will do so :)
-
@ShrikantAmbade
Ok. such editor.
Have a look at
http://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.htmlCould provide a good starting point.
@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 -
@mrjj Hello,
I dont want to send the layout of the screen as XML.
Whatever I code, I want to export this code into XMLWhatever I code, I want to export this code into XML
Can you give example ?
as export code to xml could be many things. -
Whatever I code, I want to export this code into XML
Can you give example ?
as export code to xml could be many things.@mrjj I mean to say program logic and layout
-
@mrjj I mean to say program logic and layout
@ShrikantAmbade
ok not sure how it relates to
security specifications in graphical way. -
@ShrikantAmbade
ok not sure how it relates to
security specifications in graphical way.@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= (SO)kis a k-dimensional vector of subjects and objects, the parameters of the actions,
:QxΣ→Qis a state transition function,
q0Qis the initial state.
some mathematical symbols are not proper here plz ignore itthis 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
-
@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= (SO)kis a k-dimensional vector of subjects and objects, the parameters of the actions,
:QxΣ→Qis a state transition function,
q0Qis the initial state.
some mathematical symbols are not proper here plz ignore itthis 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
@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 -
@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@mrjj Ahh OK, I will go through these tutorial
Many thanks dear :)
-
@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@mrjj Many Thanks Dear :))
-
@mrjj Many Thanks Dear :))
@ShrikantAmbade
You are welcome.
I just saw they say to use
http://doc.qt.io/qt-5/qxmlstreamwriter.html
instead -
@ShrikantAmbade
You are welcome.
I just saw they say to use
http://doc.qt.io/qt-5/qxmlstreamwriter.html
instead@mrjj Thanks :)) I will go through it