Loading...
Searching...
No Matches
Scenario::ProcessGraphicsView Class Referencefinal
Inheritance diagram for Scenario::ProcessGraphicsView:
Dataflow::AutoScrollableView

Public Member Functions

 ProcessGraphicsView (const score::GUIApplicationContext &ctx, QGraphicsScene *scene, QWidget *parent)
 
void scrollHorizontal (double dx)
 
QRectF visibleRect () const noexcept
 
bool autoScrollBy (QPoint delta) override
 Reveals what lies delta pixels further (view coordinates).
 
void drawForeground (QPainter *painter, const QRectF &rect) override
 
void sizeChanged (const QSize &arg_1)
 
void scrolled (int arg_1)
 
void focusedOut ()
 
void horizontalZoom (QPointF pixDelta, QPointF pos)
 
void verticalZoom (QPointF pixDelta, QPointF pos)
 
void visibleRectChanged (QRectF r)
 
void dropRequested (QPoint pos, const QMimeData *mime)
 
void emptyContextMenuRequested (QPoint pos)
 
void dropFinished ()
 
void mousePress (QMouseEvent *p)
 
void mouseMove (QMouseEvent *p)
 
void mouseRelease (QMouseEvent *p)
 
void hoverEnter (QHoverEvent *p)
 
void hoverMove (QHoverEvent *p)
 
void hoverLeave (QHoverEvent *p)
 
void keyPress (QKeyEvent *e)
 
void keyRelease (QKeyEvent *e)
 
void tabletMove (QTabletEvent *e)
 

Public Attributes

std::function< bool(QPoint)> autoScrollHandler
 How the content is moved when something (a cable being dragged against the edge) asks to reveal more of it.
 
QPointer< score::ArrowDialogcurrentPopup {}
 
IntervalDurationscurrentTimebar {}
 
IntervalViewcurrentView {}
 
score::BackgroundRenderercurrentBackground {}
 
bool timebarPlaying {}
 
bool timebarVisible {}
 

Friends

class ScenarioDocumentView
 

Member Function Documentation

◆ autoScrollBy()

bool Scenario::ProcessGraphicsView::autoScrollBy ( QPoint  delta)
overridevirtual

Reveals what lies delta pixels further (view coordinates).

A positive x reveals content to the right, a positive y content below.

Returns
true if the content moved.

Implements Dataflow::AutoScrollableView.

Member Data Documentation

◆ autoScrollHandler

std::function<bool(QPoint)> Scenario::ProcessGraphicsView::autoScrollHandler

How the content is moved when something (a cable being dragged against the edge) asks to reveal more of it.

Set by the central display in charge: the nodal canvas pans its node container, the timeline grows past its end. Without one, the scroll bars move, which only goes as far as the current scene rect.


The documentation for this class was generated from the following files: