1
0
Fork 0
flightgear/utils/fgqcanvas
James Turner 80e45f6d9b Different solution for FGQCanvas install
Move the install line back inside the subdir, but pull in the extra
config file so the install-bindir is defined.
2017-02-04 08:25:41 +01:00
..
ios Qt-based remote canvas application. 2016-12-17 14:24:28 +00:00
canvastreemodel.cpp Work on Remote-Canvas 2016-12-28 22:01:29 +01:00
canvastreemodel.h Remote-canvas element highlighting. 2016-12-28 22:01:29 +01:00
CMakeLists.txt Different solution for FGQCanvas install 2017-02-04 08:25:41 +01:00
elementdatamodel.cpp Fix positional ordering of remote-canvas elements. 2017-01-26 23:14:48 +00:00
elementdatamodel.h Add element inspector to remote-canvas 2016-12-28 22:01:29 +01:00
fgcanvas.pro Qt-based remote canvas application. 2016-12-17 14:24:28 +00:00
fgcanvaselement.cpp Remote-canvas element highlighting. 2016-12-28 22:01:29 +01:00
fgcanvaselement.h Remote-canvas element highlighting. 2016-12-28 22:01:29 +01:00
fgcanvasgroup.cpp Fix positional ordering of remote-canvas elements. 2017-01-26 23:14:48 +00:00
fgcanvasgroup.h Remote-canvas work, based on Extra-500 testing. 2016-12-18 23:52:16 +00:00
fgcanvaspaintcontext.cpp Qt-based remote canvas application. 2016-12-17 14:24:28 +00:00
fgcanvaspaintcontext.h Qt-based remote canvas application. 2016-12-17 14:24:28 +00:00
fgcanvaspath.cpp Remote-canvas element highlighting. 2016-12-28 22:01:29 +01:00
fgcanvaspath.h Remote-canvas handles rects / round-rects directly. 2016-12-18 21:55:32 +00:00
fgcanvastext.cpp Remote-canvas loads fonts from the host. 2016-12-21 10:26:31 +00:00
fgcanvastext.h Remote-canvas loads fonts from the host. 2016-12-21 10:26:31 +00:00
fgcanvaswidget.cpp Qt-based remote canvas application. 2016-12-17 14:24:28 +00:00
fgcanvaswidget.h Qt-based remote canvas application. 2016-12-17 14:24:28 +00:00
fgqcanvasfontcache.cpp Remote-canvas image support, partially working. 2016-12-21 10:26:31 +00:00
fgqcanvasfontcache.h Remote-canvas image support, partially working. 2016-12-21 10:26:31 +00:00
fgqcanvasimage.cpp Fix source / dest rect in FGQCanvas image. 2016-12-28 22:01:29 +01:00
fgqcanvasimage.h Fix source / dest rect in FGQCanvas image. 2016-12-28 22:01:29 +01:00
fgqcanvasimageloader.cpp Remote-canvas image support, partially working. 2016-12-21 10:26:31 +00:00
fgqcanvasimageloader.h Remote-canvas image support, partially working. 2016-12-21 10:26:31 +00:00
fgqcanvasmap.cpp Qt-based remote canvas application. 2016-12-17 14:24:28 +00:00
fgqcanvasmap.h Qt-based remote canvas application. 2016-12-17 14:24:28 +00:00
localprop.cpp Fix positional ordering of remote-canvas elements. 2017-01-26 23:14:48 +00:00
localprop.h Fix positional ordering of remote-canvas elements. 2017-01-26 23:14:48 +00:00
main.cpp Remote-canvas image support, partially working. 2016-12-21 10:26:31 +00:00
README.md Let CMake install fgqcanvas 2017-01-26 15:16:21 +01:00
temporarywidget.cpp Fix positional ordering of remote-canvas elements. 2017-01-26 23:14:48 +00:00
temporarywidget.h Remote-canvas element highlighting. 2016-12-28 22:01:29 +01:00
temporarywidget.ui Add element inspector to remote-canvas 2016-12-28 22:01:29 +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!