QtQuick use in FlightGear: Difference between revisions

Jump to navigation Jump to search
m
Line 59: Line 59:


== On QtQuick in 2017  ==
== On QtQuick in 2017  ==
In 2017, James suggested to fix PUI for now, as he is still very much undecided about which technology to use for in-sim GUI, being somewhat inclined towards using the Canvas, because it avoids some rendering issues (but exposes a few more, + some performance ones) but the problem is he is fairly unhappy with the GUI / widget API in the Canvas right now - it does not satisfy his ideas about how simple + robust such an API should be. He needs to evaluate if the current API can be improved or needs to be drastically changed. The other issue is to use QtQuick rendered into OpenGL, which has a very nice robust and well-designed API, but adds some dependencies and complicates the rendering architecture, which makes me nervous about multi-window setups and other more esoteric OSG configs. So, yes, do fix PUI for now, since this is worth a fairly quick fix as it’s the default airport.<ref>{{cite web
In May 2017, James suggested to fix PUI for now, as he is still very much undecided about which technology to use for in-sim GUI, being somewhat inclined towards using the Canvas, because it avoids some rendering issues (but exposes a few more, + some performance ones) but the problem is he is fairly unhappy with the GUI / widget API in the Canvas right now - it does not satisfy his ideas about how simple + robust such an API should be. He needs to evaluate if the current API can be improved or needs to be drastically changed. The other issue is to use QtQuick rendered into OpenGL, which has a very nice robust and well-designed API, but adds some dependencies and complicates the rendering architecture, which makes me nervous about multi-window setups and other more esoteric OSG configs. So, yes, do fix PUI for now, since this is worth a fairly quick fix as it’s the default airport.<ref>{{cite web
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/35863607/  
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/35863607/  
   |title  =  <nowiki> Re: [Flightgear-devel] KBOS runway list? are there 10 or are there
   |title  =  <nowiki> Re: [Flightgear-devel] KBOS runway list? are there 10 or are there
Line 66: Line 66:
   |date  =  May 28th, 2017  
   |date  =  May 28th, 2017  
   |added  =  May 28th, 2017  
   |added  =  May 28th, 2017  
  |script_version = 0.40
  }}</ref>
In 10/2017, James stated he is getting really close to having the PUI replacement UI suitable for beta-testing, so if this is for ‘nice to have’ things, it’s maybe not worth the effort.<ref>{{cite web
  |url    =  https://sourceforge.net/p/flightgear/mailman/message/36067646/
  |title  =  <nowiki> Re: [Flightgear-devel] PLIB features in plib svn but not in any
release </nowiki>
  |author =  <nowiki> James Turner </nowiki>
  |date  =  Oct 7th, 2017
  |added  =  Oct 7th, 2017
  |script_version = 0.40
  }}</ref>
James is hoping to land the PUI replacement GUI in last dev cycle in 2017 (at least as a proof-of-concept, probably not as the default UI), so wouldn’t expend lots of effort on things like collapsible sections which might be a lot of work with the current approaches, but are trivial with the new UI scheme.<ref>{{cite web
  |url    =  https://sourceforge.net/p/flightgear/mailman/message/36059822/
  |title  =  <nowiki> Re: [Flightgear-devel] Canvas MapLayer for OpenStreetMap, OpenAIP,
VFR Sectionals </nowiki>
  |author =  <nowiki> James Turner </nowiki>
  |date  =  Oct 1st, 2017
  |added  =  Oct 1st, 2017
  |script_version = 0.40
  }}</ref>
Once the basic new UI is in place we can experiment with different re-arrangements easily, without being limited by PUI. (James expects PUI to live on as the default / alternate UI while this happens)<ref>{{cite web
  |url    =  https://sourceforge.net/p/flightgear/mailman/message/36061229/
  |title  =  <nowiki> Re: [Flightgear-devel] FGFS macOS Menubar </nowiki>
  |author =  <nowiki> James Turner </nowiki>
  |date  =  Oct 2nd, 2017
  |added  =  Oct 2nd, 2017
   |script_version = 0.40  
   |script_version = 0.40  
   }}</ref>
   }}</ref>

Navigation menu