Skip to main content

LayoutScene

Namespace: DISPLIB  ·  Library: Display Library

#include <disp/layoutscene.h>

class DISPLIB::LayoutScene

Base QGraphicsScene providing pan, pinch-zoom and swipe gesture handling for sensor-layout scenes.

Installs gesture recognisers on the active view and translates pan / pinch / swipe events into view-zoom / view-pan operations regardless of input device.

Inheritance​


Public Methods​

LayoutScene(view, parent)​

Constructs a LayoutScene.

Parameters:

  • view : *QGraphicsView ** Graphics view that displays this scene and is zoomed/panned by it.

  • parent : *QObject ** Parent QObject (default 0).


Authors of this file​