1
0
Fork 0
flightgear/utils/fgqcanvas
2019-09-07 21:40:27 +01:00
..
configs FGQCanvas: Multi-window support (for RPi4) 2019-08-31 23:40:46 +01:00
doc FGQCanvas: in-app help page 2018-11-08 09:40:53 +01:00
ios FGQCanvas iOS tweaks 2018-11-07 09:39:54 +01:00
qml FGQCanvas: remove errant use of QQ.Window 2019-09-01 13:00:21 +01:00
.gitignore Fix cmake build of FGQCanvas 2019-09-07 21:40:27 +01:00
applicationcontroller.cpp FGQCanvas: Multi-window support (for RPi4) 2019-08-31 23:40:46 +01:00
applicationcontroller.h FGQCanvas: Multi-window support (for RPi4) 2019-08-31 23:40:46 +01:00
canvasconnection.cpp FGQCanvas: Multi-window support (for RPi4) 2019-08-31 23:40:46 +01:00
canvasconnection.h FGQCanvas: Multi-window support (for RPi4) 2019-08-31 23:40:46 +01:00
canvasdisplay.cpp Remote canvas: fix snapshot loading 2017-11-28 16:20:23 +00:00
canvasdisplay.h Remote-canvas Image and font caches working again 2017-11-04 10:09:08 +00:00
canvasitem.cpp Work on clipping in remote canvas 2018-06-21 14:34:05 +01:00
canvasitem.h Work on clipping in remote canvas 2018-06-21 14:34:05 +01:00
canvaspainteddisplay.cpp FGQCanvas: Multi-window support (for RPi4) 2019-08-31 23:40:46 +01:00
canvaspainteddisplay.h FGCanvas tweaks 2018-06-26 23:24:02 +01:00
canvastreemodel.cpp QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
canvastreemodel.h QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
CMakeLists.txt Fix cmake build of FGQCanvas 2019-09-07 21:40:27 +01:00
elementdatamodel.cpp QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
elementdatamodel.h QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
fgcanvas.pro FGQCanvas: Multi-window support (for RPi4) 2019-08-31 23:40:46 +01:00
fgcanvaselement.cpp FGQCanvas clipping / default text color fixes 2019-01-17 10:46:58 +00:00
fgcanvaselement.h FGQCanvas clipping / default text color fixes 2019-01-17 10:46:58 +00:00
fgcanvasgroup.cpp FGQCanvas: load config on start mode 2018-06-24 14:11:46 +01:00
fgcanvasgroup.h FGQCanvas: load config on start mode 2018-06-24 14:11:46 +01:00
fgcanvaspaintcontext.cpp QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
fgcanvaspaintcontext.h QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
fgcanvaspath.cpp FGQCanvas clipping / default text color fixes 2019-01-17 10:46:58 +00:00
fgcanvaspath.h Remove canvas: handle node removes 2018-09-29 15:32:16 +01:00
fgcanvastext.cpp FGQCanvas clipping / default text color fixes 2019-01-17 10:46:58 +00:00
fgcanvastext.h FGQCanvas: load config on start mode 2018-06-24 14:11:46 +01:00
fgqcanvas_resources.qrc FGQCanvas: Multi-window support (for RPi4) 2019-08-31 23:40:46 +01:00
fgqcanvasfontcache.cpp Working on snapshot save/loading 2017-11-05 13:57:51 +00:00
fgqcanvasfontcache.h Remote-canvas Image and font caches working again 2017-11-04 10:09:08 +00:00
fgqcanvasimage.cpp FGQCanvas clipping / default text color fixes 2019-01-17 10:46:58 +00:00
fgqcanvasimage.h FGQCanvas: load config on start mode 2018-06-24 14:11:46 +01:00
fgqcanvasimageloader.cpp Working on snapshot save/loading 2017-11-05 13:57:51 +00:00
fgqcanvasimageloader.h Working on snapshot save/loading 2017-11-05 13:57:51 +00:00
fgqcanvasmap.cpp QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
fgqcanvasmap.h QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
jsonutils.cpp FGQCanvas: load config on start mode 2018-06-24 14:11:46 +01:00
jsonutils.h FGQCanvas: load config on start mode 2018-06-24 14:11:46 +01:00
localprop.cpp Remote canvas: fix crashes on remove 2017-11-28 22:32:30 +00:00
localprop.h Remote canvas: fix snapshot loading 2017-11-28 16:20:23 +00:00
main.cpp FGQCanvas: Multi-window support (for RPi4) 2019-08-31 23:40:46 +01:00
README.md Let CMake install fgqcanvas 2017-01-26 15:16:21 +01:00
WindowData.cpp FGQCanvas: Multi-window support (for RPi4) 2019-08-31 23:40:46 +01:00
WindowData.h FGQCanvas: Multi-window support (for RPi4) 2019-08-31 23:40:46 +01:00

FGQCanvas

A Qt-based remote canvas application for FlightGear. This app can connect to a FlightGear instance which has the built-in HTTPD server enabled and display any canvas in real-time.

Usage

Start FlightGear with the '--httpd' option, passing a port number. This can be done in the 'additional options' box if using the launcher.

  • --httpd=8080

Start FGQCanvas and enter the WebSocket url, with a suitable host-name and port. Provide the path to the Canvas you want to display (this part will become smarter in the future!)

Examples URLs:

  • ws://localhost:8080/PropertyTreeMirror
  • ws://mycomputer.local:8001/PropertyTreeMirror

Example Canvas path:

  • /canvas/by-index/texture[0]/

Limitations

  • Clipping is still being worked on
  • Fonts are not loaded from the host instance yet
  • Image loading is still being worked on, no support for remote image loading yet.
  • Performance is mediocre due to proof-of-concept implementation
  • No input event support yet

Future plans

  • Finish image, clip and font loading
  • Switch to OpenGL rendering
  • Support event-input to the Canvas
  • Rewrite to use Skia

Questions / support

Ask on the developer mailing list!