svgui  1.9
Pane Class Reference

#include <Pane.h>

Inheritance diagram for Pane:
Collaboration diagram for Pane:

Public Types

enum  PaneType { Normal = 0, TonyMain = 1, TonySelection = 2 }
 
enum  TextStyle { BoxedText, OutlinedText, OutlinedItalicText }
 
typedef PropertyContainer::PropertyName PropertyName
 
typedef std::set< Model * > ModelSet
 

Public Slots

virtual void toolModeChanged ()
 
virtual void zoomWheelsEnabledChanged ()
 
virtual void viewZoomLevelChanged (View *v, int z, bool locked)
 
virtual void modelAlignmentCompletionChanged ()
 
virtual void horizontalThumbwheelMoved (int value)
 
virtual void verticalThumbwheelMoved (int value)
 
virtual void verticalZoomChanged ()
 
virtual void verticalPannerMoved (float x, float y, float w, float h)
 
virtual void editVerticalPannerExtents ()
 
virtual void layerParametersChanged ()
 
virtual void propertyContainerSelected (View *, PropertyContainer *pc)
 
void zoomToRegion (QRect r)
 
void mouseEnteredWidget ()
 
void mouseLeftWidget ()
 
virtual void modelChanged ()
 
virtual void modelChangedWithin (int startFrame, int endFrame)
 
virtual void modelCompletionChanged ()
 
virtual void modelReplaced ()
 
virtual void layerParameterRangesChanged ()
 
virtual void layerMeasurementRectsChanged ()
 
virtual void layerNameChanged ()
 
virtual void globalCentreFrameChanged (int)
 
virtual void viewCentreFrameChanged (View *, int)
 
virtual void viewManagerPlaybackFrameChanged (int)
 
virtual void selectionChanged ()
 
virtual void overlayModeChanged ()
 
virtual void cancelClicked ()
 
virtual void progressCheckStalledTimerElapsed ()
 

Signals

void paneInteractedWith ()
 
void rightButtonMenuRequested (QPoint position)
 
void dropAccepted (QStringList uriList)
 
void dropAccepted (QString text)
 
void doubleClickSelectInvoked (int frame)
 
void regionOutlined (QRect rect)
 
void propertyContainerAdded (PropertyContainer *pc)
 
void propertyContainerRemoved (PropertyContainer *pc)
 
void propertyContainerPropertyChanged (PropertyContainer *pc)
 
void propertyContainerPropertyRangeChanged (PropertyContainer *pc)
 
void propertyContainerNameChanged (PropertyContainer *pc)
 
void propertyContainerSelected (PropertyContainer *pc)
 
void propertyChanged (PropertyContainer::PropertyName)
 
void layerModelChanged ()
 
void centreFrameChanged (int frame, bool globalScroll, PlaybackFollowMode followMode)
 
void zoomLevelChanged (int, bool)
 
void contextHelpChanged (const QString &)
 

Public Member Functions

 Pane (QWidget *parent=0)
 
virtual QString getPropertyContainerIconName () const
 
virtual bool shouldIlluminateLocalFeatures (const Layer *layer, QPoint &pos) const
 
virtual bool shouldIlluminateLocalSelection (QPoint &pos, bool &closeToLeft, bool &closeToRight) const
 
void setCentreLineVisible (bool visible)
 
bool getCentreLineVisible () const
 
virtual int getFirstVisibleFrame () const
 
virtual int getVerticalScaleWidth () const
 
virtual QImage * toNewImage (int f0, int f1)
 
virtual QImage * toNewImage ()
 
virtual QSize getImageSize (int f0, int f1)
 
virtual QSize getImageSize ()
 
virtual void toXml (QTextStream &stream, QString indent="", QString extraAttributes="") const
 
int getStartFrame () const
 Retrieve the first visible sample frame on the widget. More...
 
void setStartFrame (int)
 Set the widget pan based on the given first visible frame. More...
 
int getCentreFrame () const
 Return the centre frame of the visible widget. More...
 
void setCentreFrame (int f)
 Set the centre frame of the visible widget. More...
 
int getEndFrame () const
 Retrieve the last visible sample frame on the widget. More...
 
int getXForFrame (int frame) const
 Return the pixel x-coordinate corresponding to a given sample frame (which may be negative). More...
 
int getFrameForX (int x) const
 Return the closest frame to the given pixel x-coordinate. More...
 
float getYForFrequency (float frequency, float minFreq, float maxFreq, bool logarithmic) const
 Return the pixel y-coordinate corresponding to a given frequency, if the frequency range is as specified. More...
 
float getFrequencyForY (int y, float minFreq, float maxFreq, bool logarithmic) const
 Return the closest frequency to the given pixel y-coordinate, if the frequency range is as specified. More...
 
int getZoomLevel () const
 Return the zoom level, i.e. More...
 
virtual void setZoomLevel (int z)
 Set the zoom level, i.e. More...
 
virtual void zoom (bool in)
 Zoom in or out. More...
 
virtual void scroll (bool right, bool lots, bool doEmit=true)
 Scroll left or right by a smallish or largish amount. More...
 
virtual void addLayer (Layer *v)
 Add a layer to the view. More...
 
virtual void removeLayer (Layer *v)
 Remove a layer from the view. More...
 
virtual int getLayerCount () const
 Return the number of layers, regardless of whether visible or dormant, i.e. More...
 
virtual LayergetLayer (int n)
 Return the nth layer, counted in stacking order. More...
 
virtual LayergetFixedOrderLayer (int n)
 Return the nth layer, counted in the order they were added. More...
 
virtual LayergetInteractionLayer ()
 Return the layer currently active for tool interaction. More...
 
virtual const LayergetInteractionLayer () const
 
virtual LayergetSelectedLayer ()
 Return the layer most recently selected by the user. More...
 
virtual const LayergetSelectedLayer () const
 
virtual LayergetTopLayer ()
 Return the "top" layer in the view, whether visible or dormant. More...
 
virtual void setViewManager (ViewManager *m)
 
virtual void setViewManager (ViewManager *m, int initialFrame)
 
virtual ViewManagergetViewManager () const
 
virtual void setFollowGlobalPan (bool f)
 
virtual bool getFollowGlobalPan () const
 
virtual void setFollowGlobalZoom (bool f)
 
virtual bool getFollowGlobalZoom () const
 
virtual bool hasLightBackground () const
 
virtual QColor getForeground () const
 
virtual QColor getBackground () const
 
virtual void drawVisibleText (QPainter &p, int x, int y, QString text, TextStyle style) const
 
virtual void drawMeasurementRect (QPainter &p, const Layer *, QRect rect, bool focus) const
 
virtual bool shouldShowFeatureLabels () const
 
virtual void setPlaybackFollow (PlaybackFollowMode m)
 
virtual PlaybackFollowMode getPlaybackFollow () const
 
virtual PropertyContainer::PropertyList getProperties () const
 
virtual QString getPropertyLabel (const PropertyName &) const
 
virtual PropertyContainer::PropertyType getPropertyType (const PropertyName &) const
 
virtual int getPropertyRangeAndValue (const PropertyName &, int *min, int *max, int *deflt) const
 
virtual QString getPropertyValueLabel (const PropertyName &, int value) const
 
virtual void setProperty (const PropertyName &, int value)
 
virtual QString getPropertyContainerName () const
 
virtual int getPropertyContainerCount () const
 
virtual const PropertyContainer * getPropertyContainer (int i) const
 
virtual PropertyContainer * getPropertyContainer (int i)
 
virtual int getTextLabelHeight (const Layer *layer, QPainter &) const
 
virtual bool getValueExtents (QString unit, float &min, float &max, bool &log) const
 
virtual int getLastVisibleFrame () const
 
int getModelsStartFrame () const
 
int getModelsEndFrame () const
 
ModelSet getModels ()
 
Model * getAligningModel () const
 !! More...
 
int alignFromReference (int) const
 
int alignToReference (int) const
 
int getAlignedPlaybackFrame () const
 

Static Public Member Functions

static void registerShortcuts (KeyReference &kr)
 

Protected Types

enum  DragMode { UnresolvedDrag, VerticalDrag, HorizontalDrag, FreeDrag }
 
typedef std::vector< Layer * > LayerList
 
typedef std::map< Layer *, ProgressBarRecProgressMap
 

Protected Slots

void playbackScheduleTimerElapsed ()
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *e)
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 
virtual void mouseMoveEvent (QMouseEvent *e)
 
virtual void mouseDoubleClickEvent (QMouseEvent *e)
 
virtual void enterEvent (QEvent *e)
 
virtual void leaveEvent (QEvent *e)
 
virtual void wheelEvent (QWheelEvent *e)
 
virtual void resizeEvent (QResizeEvent *e)
 
virtual void dragEnterEvent (QDragEnterEvent *e)
 
virtual void dropEvent (QDropEvent *e)
 
void wheelVertical (int sign, Qt::KeyboardModifiers)
 
void wheelHorizontal (int sign, Qt::KeyboardModifiers)
 
void wheelHorizontalFine (int pixels, Qt::KeyboardModifiers)
 
void drawVerticalScale (QRect r, Layer *, QPainter &)
 
void drawFeatureDescription (Layer *, QPainter &)
 
void drawCentreLine (int, QPainter &, bool omitLine)
 
void drawModelTimeExtents (QRect, QPainter &, const Model *)
 
void drawDurationAndRate (QRect, const Model *, int, QPainter &)
 
void drawWorkTitle (QRect, QPainter &, const Model *)
 
void drawLayerNames (QRect, QPainter &)
 
void drawEditingSelection (QPainter &)
 
void drawAlignmentStatus (QRect, QPainter &, const Model *, bool down)
 
virtual bool render (QPainter &paint, int x0, int f0, int f1)
 
Selection getSelectionAt (int x, bool &closeToLeft, bool &closeToRight) const
 
bool editSelectionStart (QMouseEvent *e)
 
bool editSelectionDrag (QMouseEvent *e)
 
bool editSelectionEnd (QMouseEvent *e)
 
bool selectionIsBeingEdited () const
 
void updateHeadsUpDisplay ()
 
void updateVerticalPanner ()
 
bool canTopLayerMoveVertical ()
 
bool getTopLayerDisplayExtents (float &valueMin, float &valueMax, float &displayMin, float &displayMax, QString *unit=0)
 
bool setTopLayerDisplayExtents (float displayMin, float displayMax)
 
void dragTopLayer (QMouseEvent *e)
 
void dragExtendSelection (QMouseEvent *e)
 
void updateContextHelp (const QPoint *pos)
 
void edgeScrollMaybe (int x)
 
LayergetTopFlexiNoteLayer ()
 
void schedulePlaybackFrameMove (int frame)
 
DragMode updateDragMode (DragMode currentMode, QPoint origin, QPoint currentPoint, bool canMoveHorizontal, bool canMoveVertical, bool resistHorizontal, bool resistVertical)
 
bool setCentreFrame (int f, bool doEmit)
 
virtual void drawSelections (QPainter &)
 
virtual bool shouldLabelSelections () const
 
virtual void setPaintFont (QPainter &paint)
 
int getModelsSampleRate () const
 
bool areLayersScrollable () const
 
LayerList getScrollableBackLayers (bool testChanged, bool &changed) const
 
LayerList getNonScrollableFrontLayers (bool testChanged, bool &changed) const
 
int getZoomConstraintBlockSize (int blockSize, ZoomConstraint::RoundingDirection dir=ZoomConstraint::RoundNearest) const
 
bool areLayerColoursSignificant () const
 
bool hasTopLayerTimeXAxis () const
 
void movePlayPointer (int f)
 
void checkProgress (void *object)
 
int getProgressBarWidth () const
 

Protected Attributes

bool m_identifyFeatures
 
QPoint m_identifyPoint
 
QPoint m_clickPos
 
QPoint m_mousePos
 
bool m_clickedInRange
 
bool m_shiftPressed
 
bool m_ctrlPressed
 
bool m_altPressed
 
bool m_navigating
 
bool m_resizing
 
bool m_editing
 
bool m_releasing
 
int m_dragCentreFrame
 
float m_dragStartMinValue
 
bool m_centreLineVisible
 
int m_selectionStartFrame
 
Selection m_editingSelection
 
int m_editingSelectionEdge
 
int m_scaleWidth
 
int m_pendingWheelAngle
 
DragMode m_dragMode
 
QWidget * m_headsUpDisplay
 
Pannerm_vpan
 
Thumbwheelm_hthumb
 
Thumbwheelm_vthumb
 
NotifyingPushButtonm_reset
 
bool m_mouseInWidget
 
bool m_playbackFrameMoveScheduled
 
int m_playbackFrameMoveTo
 
int m_centreFrame
 
int m_zoomLevel
 
bool m_followPan
 
bool m_followZoom
 
PlaybackFollowMode m_followPlay
 
bool m_followPlayIsDetached
 
int m_playPointerFrame
 
bool m_lightBackground
 
bool m_showProgress
 
QPixmap * m_cache
 
int m_cacheCentreFrame
 
int m_cacheZoomLevel
 
bool m_selectionCached
 
bool m_deleting
 
LayerList m_layerStack
 
LayerList m_fixedOrderLayers
 
bool m_haveSelectedLayer
 
QString m_lastError
 
LayerList m_lastScrollableBackLayers
 
LayerList m_lastNonScrollableBackLayers
 
ProgressMap m_progressBars
 
ViewManagerm_manager
 
ViewPropertyContainerm_propertyContainer
 

Static Protected Attributes

static QCursor * m_measureCursor1 = 0
 !! ugh More...
 
static QCursor * m_measureCursor2 = 0
 

Detailed Description

Definition at line 34 of file Pane.h.

Member Typedef Documentation

◆ PropertyName

typedef PropertyContainer::PropertyName View::PropertyName
inherited

Definition at line 270 of file View.h.

◆ ModelSet

typedef std::set<Model *> View::ModelSet
inherited

Definition at line 317 of file View.h.

◆ LayerList

typedef std::vector<Layer *> View::LayerList
protectedinherited

Definition at line 380 of file View.h.

◆ ProgressMap

typedef std::map<Layer *, ProgressBarRec> View::ProgressMap
protectedinherited

Definition at line 441 of file View.h.

Member Enumeration Documentation

◆ PaneType

Enumerator
Normal 
TonyMain 
TonySelection 

Definition at line 65 of file Pane.h.

◆ DragMode

enum Pane::DragMode
protected
Enumerator
UnresolvedDrag 
VerticalDrag 
HorizontalDrag 
FreeDrag 

Definition at line 180 of file Pane.h.

◆ TextStyle

enum View::TextStyle
inherited
Enumerator
BoxedText 
OutlinedText 
OutlinedItalicText 

Definition at line 245 of file View.h.

Constructor & Destructor Documentation

◆ Pane()

Pane::Pane ( QWidget *  parent = 0)

Definition at line 68 of file Pane.cpp.

References regionOutlined(), updateHeadsUpDisplay(), and zoomToRegion().

Member Function Documentation

◆ getPropertyContainerIconName()

virtual QString Pane::getPropertyContainerIconName ( ) const
inlinevirtual

Implements View.

Definition at line 40 of file Pane.h.

◆ shouldIlluminateLocalFeatures()

bool Pane::shouldIlluminateLocalFeatures ( const Layer layer,
QPoint &  pos 
) const
virtual

◆ shouldIlluminateLocalSelection()

bool Pane::shouldIlluminateLocalSelection ( QPoint &  pos,
bool &  closeToLeft,
bool &  closeToRight 
) const
virtual

◆ setCentreLineVisible()

void Pane::setCentreLineVisible ( bool  visible)

Definition at line 399 of file Pane.cpp.

References m_centreLineVisible.

◆ getCentreLineVisible()

bool Pane::getCentreLineVisible ( ) const
inline

Definition at line 49 of file Pane.h.

References m_centreLineVisible.

◆ getFirstVisibleFrame()

int Pane::getFirstVisibleFrame ( ) const
virtual

Reimplemented from View.

Definition at line 1178 of file Pane.cpp.

References View::getFirstVisibleFrame(), View::getFrameForX(), and m_scaleWidth.

◆ getVerticalScaleWidth()

int Pane::getVerticalScaleWidth ( ) const
virtual

Definition at line 552 of file Pane.cpp.

References m_scaleWidth.

◆ toNewImage() [1/2]

QImage * Pane::toNewImage ( int  f0,
int  f1 
)
virtual

◆ toNewImage() [2/2]

virtual QImage* Pane::toNewImage ( )
inlinevirtual

Reimplemented from View.

Definition at line 56 of file Pane.h.

References View::toNewImage().

◆ getImageSize() [1/2]

QSize Pane::getImageSize ( int  f0,
int  f1 
)
virtual

◆ getImageSize() [2/2]

virtual QSize Pane::getImageSize ( )
inlinevirtual

Reimplemented from View.

Definition at line 58 of file Pane.h.

References View::getImageSize().

◆ toXml()

void Pane::toXml ( QTextStream &  stream,
QString  indent = "",
QString  extraAttributes = "" 
) const
virtual

Reimplemented from View.

Definition at line 2869 of file Pane.cpp.

References m_centreLineVisible, and View::toXml().

◆ registerShortcuts()

void Pane::registerShortcuts ( KeyReference kr)
static

◆ paneInteractedWith

void Pane::paneInteractedWith ( )
signal

◆ rightButtonMenuRequested

void Pane::rightButtonMenuRequested ( QPoint  position)
signal

Referenced by mousePressEvent().

◆ dropAccepted [1/2]

void Pane::dropAccepted ( QStringList  uriList)
signal

Referenced by dropEvent().

◆ dropAccepted [2/2]

void Pane::dropAccepted ( QString  text)
signal

◆ doubleClickSelectInvoked

void Pane::doubleClickSelectInvoked ( int  frame)
signal

Referenced by mouseDoubleClickEvent().

◆ regionOutlined

void Pane::regionOutlined ( QRect  rect)
signal

Referenced by mouseReleaseEvent(), and Pane().

◆ toolModeChanged

◆ zoomWheelsEnabledChanged

void Pane::zoomWheelsEnabledChanged ( )
virtualslot

Definition at line 2686 of file Pane.cpp.

References updateHeadsUpDisplay().

◆ viewZoomLevelChanged

void Pane::viewZoomLevelChanged ( View v,
int  z,
bool  locked 
)
virtualslot

◆ modelAlignmentCompletionChanged

void Pane::modelAlignmentCompletionChanged ( )
virtualslot

Definition at line 871 of file Pane.cpp.

References View::modelAlignmentCompletionChanged().

◆ horizontalThumbwheelMoved

void Pane::horizontalThumbwheelMoved ( int  value)
virtualslot

!! dupe with updateHeadsUpDisplay

!! pull out into function (presumably in View)

Definition at line 2385 of file Pane.cpp.

References Thumbwheel::getMaximumValue(), View::getZoomConstraintBlockSize(), m_hthumb, View::m_layerStack, and View::setZoomLevel().

Referenced by updateHeadsUpDisplay().

◆ verticalThumbwheelMoved

void Pane::verticalThumbwheelMoved ( int  value)
virtualslot

◆ verticalZoomChanged

void Pane::verticalZoomChanged ( )
virtualslot

◆ verticalPannerMoved

void Pane::verticalPannerMoved ( float  x,
float  y,
float  w,
float  h 
)
virtualslot

Definition at line 2457 of file Pane.cpp.

References getTopLayerDisplayExtents(), and setTopLayerDisplayExtents().

Referenced by updateHeadsUpDisplay().

◆ editVerticalPannerExtents

◆ layerParametersChanged

void Pane::layerParametersChanged ( )
virtualslot

Definition at line 2495 of file Pane.cpp.

References View::layerParametersChanged(), and updateHeadsUpDisplay().

◆ propertyContainerSelected [1/2]

void Pane::propertyContainerSelected ( View v,
PropertyContainer *  pc 
)
virtualslot

◆ zoomToRegion

◆ mouseEnteredWidget

void Pane::mouseEnteredWidget ( )
slot

Definition at line 2846 of file Pane.cpp.

References View::contextHelpChanged(), m_hthumb, m_reset, m_vpan, and m_vthumb.

Referenced by updateHeadsUpDisplay().

◆ mouseLeftWidget

void Pane::mouseLeftWidget ( )
slot

Definition at line 2863 of file Pane.cpp.

References View::contextHelpChanged().

Referenced by updateHeadsUpDisplay().

◆ playbackScheduleTimerElapsed

void Pane::playbackScheduleTimerElapsed ( )
protectedslot

◆ paintEvent()

◆ mousePressEvent()

◆ mouseReleaseEvent()

◆ mouseMoveEvent()

◆ mouseDoubleClickEvent()

◆ enterEvent()

void Pane::enterEvent ( QEvent *  e)
protectedvirtual

Definition at line 2223 of file Pane.cpp.

References m_mouseInWidget.

◆ leaveEvent()

void Pane::leaveEvent ( QEvent *  e)
protectedvirtual

Definition at line 2229 of file Pane.cpp.

References View::contextHelpChanged(), m_identifyFeatures, and m_mouseInWidget.

◆ wheelEvent()

void Pane::wheelEvent ( QWheelEvent *  e)
protectedvirtual

◆ resizeEvent()

void Pane::resizeEvent ( QResizeEvent *  e)
protectedvirtual

Definition at line 2239 of file Pane.cpp.

References updateHeadsUpDisplay().

◆ dragEnterEvent()

void Pane::dragEnterEvent ( QDragEnterEvent *  e)
protectedvirtual

Definition at line 2502 of file Pane.cpp.

◆ dropEvent()

void Pane::dropEvent ( QDropEvent *  e)
protectedvirtual

Definition at line 2523 of file Pane.cpp.

References dropAccepted().

◆ wheelVertical()

void Pane::wheelVertical ( int  sign,
Qt::KeyboardModifiers  mods 
)
protected

◆ wheelHorizontal()

void Pane::wheelHorizontal ( int  sign,
Qt::KeyboardModifiers  mods 
)
protected

Definition at line 2352 of file Pane.cpp.

References wheelHorizontalFine().

Referenced by wheelEvent().

◆ wheelHorizontalFine()

void Pane::wheelHorizontalFine ( int  pixels,
Qt::KeyboardModifiers   
)
protected

◆ drawVerticalScale()

◆ drawFeatureDescription()

void Pane::drawFeatureDescription ( Layer topLayer,
QPainter &  paint 
)
protected

Definition at line 664 of file Pane.cpp.

References Layer::getFeatureDescription(), View::hasLightBackground(), and m_identifyPoint.

Referenced by paintEvent().

◆ drawCentreLine()

void Pane::drawCentreLine ( int  sampleRate,
QPainter &  paint,
bool  omitLine 
)
protected

◆ drawModelTimeExtents()

void Pane::drawModelTimeExtents ( QRect  r,
QPainter &  paint,
const Model *  model 
)
protected

Definition at line 787 of file Pane.cpp.

References View::getXForFrame(), and View::hasLightBackground().

Referenced by paintEvent().

◆ drawDurationAndRate()

void Pane::drawDurationAndRate ( QRect  r,
const Model *  waveformModel,
int  sampleRate,
QPainter &  paint 
)
protected

◆ drawWorkTitle()

void Pane::drawWorkTitle ( QRect  r,
QPainter &  paint,
const Model *  model 
)
protected

Definition at line 878 of file Pane.cpp.

References View::drawVisibleText(), m_scaleWidth, and View::OutlinedText.

Referenced by paintEvent().

◆ drawLayerNames()

void Pane::drawLayerNames ( QRect  r,
QPainter &  paint 
)
protected

◆ drawEditingSelection()

void Pane::drawEditingSelection ( QPainter &  paint)
protected

◆ drawAlignmentStatus()

void Pane::drawAlignmentStatus ( QRect  r,
QPainter &  paint,
const Model *  model,
bool  down 
)
protected

Definition at line 818 of file Pane.cpp.

References View::drawVisibleText(), m_scaleWidth, and View::OutlinedText.

Referenced by paintEvent().

◆ render()

bool Pane::render ( QPainter &  paint,
int  x0,
int  f0,
int  f1 
)
protectedvirtual

◆ getSelectionAt()

Selection Pane::getSelectionAt ( int  x,
bool &  closeToLeft,
bool &  closeToRight 
) const
protected

◆ editSelectionStart()

bool Pane::editSelectionStart ( QMouseEvent *  e)
protected

◆ editSelectionDrag()

bool Pane::editSelectionDrag ( QMouseEvent *  e)
protected

Definition at line 2571 of file Pane.cpp.

References m_editingSelection, and m_mousePos.

Referenced by mouseMoveEvent().

◆ editSelectionEnd()

◆ selectionIsBeingEdited()

bool Pane::selectionIsBeingEdited ( ) const
protected

Definition at line 387 of file Pane.cpp.

References View::getFrameForX(), m_clickPos, m_editingSelection, and m_mousePos.

Referenced by paintEvent(), and shouldIlluminateLocalSelection().

◆ updateHeadsUpDisplay()

◆ updateVerticalPanner()

◆ canTopLayerMoveVertical()

bool Pane::canTopLayerMoveVertical ( )
protected

Definition at line 1220 of file Pane.cpp.

References getTopLayerDisplayExtents().

Referenced by dragTopLayer().

◆ getTopLayerDisplayExtents()

bool Pane::getTopLayerDisplayExtents ( float &  valueMin,
float &  valueMax,
float &  displayMin,
float &  displayMax,
QString *  unit = 0 
)
protected

◆ setTopLayerDisplayExtents()

bool Pane::setTopLayerDisplayExtents ( float  displayMin,
float  displayMax 
)
protected

◆ dragTopLayer()

◆ dragExtendSelection()

◆ updateContextHelp()

void Pane::updateContextHelp ( const QPoint *  pos)
protected

!! could call through to a layer function to find out exact meaning

!! could call through to a layer function to find out exact meaning

!! could call through to layer

Definition at line 2754 of file Pane.cpp.

References View::contextHelpChanged(), ViewManager::DrawMode, ViewManager::EditMode, ViewManager::EraseMode, View::getInteractionLayer(), getSelectionAt(), ViewManager::getSelections(), ViewManager::getToolModeFor(), View::hasTopLayerTimeXAxis(), Layer::isLayerEditable(), m_clickedInRange, View::m_manager, ViewManager::NavigateMode, and ViewManager::SelectMode.

Referenced by mouseMoveEvent().

◆ edgeScrollMaybe()

◆ getTopFlexiNoteLayer()

Layer * Pane::getTopFlexiNoteLayer ( )
protected

◆ schedulePlaybackFrameMove()

void Pane::schedulePlaybackFrameMove ( int  frame)
protected

◆ updateDragMode()

Pane::DragMode Pane::updateDragMode ( DragMode  currentMode,
QPoint  origin,
QPoint  currentPoint,
bool  canMoveHorizontal,
bool  canMoveVertical,
bool  resistHorizontal,
bool  resistVertical 
)
protected

Definition at line 2014 of file Pane.cpp.

References FreeDrag, HorizontalDrag, UnresolvedDrag, and VerticalDrag.

Referenced by dragTopLayer(), and mouseMoveEvent().

◆ getStartFrame()

◆ setStartFrame()

void View::setStartFrame ( int  f)
inherited

Set the widget pan based on the given first visible frame.

The frame value may be negative.

Definition at line 314 of file View.cpp.

References View::m_zoomLevel, and View::setCentreFrame().

Referenced by zoomToRegion().

◆ getCentreFrame()

int View::getCentreFrame ( ) const
inlineinherited

Return the centre frame of the visible widget.

This is an exact value that does not depend on the zoom block size. Other frame values (start, end) are calculated from this based on the zoom and other factors.

Definition at line 81 of file View.h.

References View::m_centreFrame.

Referenced by SliceLayer::paint(), SpectrumLayer::paint(), and View::paintEvent().

◆ setCentreFrame() [1/2]

void View::setCentreFrame ( int  f)
inlineinherited

◆ setCentreFrame() [2/2]

bool View::setCentreFrame ( int  f,
bool  doEmit 
)
protectedinherited

◆ getEndFrame()

◆ getXForFrame()

int View::getXForFrame ( int  frame) const
inherited

Return the pixel x-coordinate corresponding to a given sample frame (which may be negative).

Definition at line 357 of file View.cpp.

References View::getStartFrame(), and View::m_zoomLevel.

Referenced by dragTopLayer(), drawEditingSelection(), drawModelTimeExtents(), View::drawSelections(), editSelectionEnd(), NoteLayer::editStart(), FlexiNoteLayer::editStart(), RegionLayer::editStart(), TextLayer::getFeatureDescription(), TimeInstantLayer::getFeatureDescription(), NoteLayer::getFeatureDescription(), TimeValueLayer::getFeatureDescription(), FlexiNoteLayer::getFeatureDescription(), RegionLayer::getFeatureDescription(), TextLayer::getLocalPoints(), ImageLayer::getLocalPoints(), TimeInstantLayer::getLocalPoints(), RegionLayer::getLocalPoints(), NoteLayer::getLocalPoints(), TimeValueLayer::getLocalPoints(), FlexiNoteLayer::getLocalPoints(), TextLayer::getPointToDrag(), FlexiNoteLayer::getRelativeMousePosition(), getSelectionAt(), SpectrogramLayer::illuminateLocalFeatures(), SpectrogramLayer::invalidateImageCaches(), View::movePlayPointer(), TextLayer::paint(), TimeRulerLayer::paint(), TimeInstantLayer::paint(), NoteLayer::paint(), TimeValueLayer::paint(), SliceLayer::paint(), FlexiNoteLayer::paint(), ImageLayer::paint(), RegionLayer::paint(), Colour3DPlotLayer::paint(), SpectrogramLayer::paint(), Overview::paintEvent(), View::paintEvent(), Layer::paintMeasurementRect(), TextLayer::snapToFeatureFrame(), TimeInstantLayer::snapToFeatureFrame(), TimeRulerLayer::snapToFeatureFrame(), NoteLayer::snapToFeatureFrame(), ImageLayer::snapToFeatureFrame(), TimeValueLayer::snapToFeatureFrame(), FlexiNoteLayer::snapToFeatureFrame(), RegionLayer::snapToFeatureFrame(), Layer::updateMeasurePixrects(), and Overview::viewManagerPlaybackFrameChanged().

◆ getFrameForX()

int View::getFrameForX ( int  x) const
inherited

Return the closest frame to the given pixel x-coordinate.

Definition at line 363 of file View.cpp.

References View::m_centreFrame, and View::m_zoomLevel.

Referenced by FlexiNoteLayer::addNote(), dragExtendSelection(), dragTopLayer(), TextLayer::drawDrag(), TimeInstantLayer::drawDrag(), NoteLayer::drawDrag(), ImageLayer::drawDrag(), FlexiNoteLayer::drawDrag(), TimeValueLayer::drawDrag(), RegionLayer::drawDrag(), drawEditingSelection(), View::drawSelections(), TextLayer::drawStart(), TimeInstantLayer::drawStart(), ImageLayer::drawStart(), NoteLayer::drawStart(), FlexiNoteLayer::drawStart(), TimeValueLayer::drawStart(), RegionLayer::drawStart(), edgeScrollMaybe(), TextLayer::editDrag(), ImageLayer::editDrag(), TimeInstantLayer::editDrag(), NoteLayer::editDrag(), FlexiNoteLayer::editDrag(), TimeValueLayer::editDrag(), RegionLayer::editDrag(), editSelectionEnd(), View::getEndFrame(), Colour3DPlotLayer::getFeatureDescription(), getFirstVisibleFrame(), TextLayer::getLocalPoints(), TimeInstantLayer::getLocalPoints(), RegionLayer::getLocalPoints(), NoteLayer::getLocalPoints(), TimeValueLayer::getLocalPoints(), FlexiNoteLayer::getLocalPoints(), FlexiNoteLayer::getNoteToEdit(), TextLayer::getPointToDrag(), RegionLayer::getPointToDrag(), NoteLayer::getPointToDrag(), FlexiNoteLayer::getPointToDrag(), getSelectionAt(), WaveformLayer::getSourceFramesForX(), View::getStartFrame(), SpectrogramLayer::getXBinRange(), Layer::getXScaleValue(), Overview::mouseDoubleClickEvent(), mouseDoubleClickEvent(), Overview::mousePressEvent(), mousePressEvent(), mouseReleaseEvent(), View::movePlayPointer(), TimeRulerLayer::paint(), TextLayer::paint(), TimeInstantLayer::paint(), NoteLayer::paint(), TimeValueLayer::paint(), FlexiNoteLayer::paint(), SliceLayer::paint(), ImageLayer::paint(), RegionLayer::paint(), Colour3DPlotLayer::paint(), SpectrogramLayer::paint(), SpectrogramLayer::paintCrosshairs(), Colour3DPlotLayer::paintDense(), Overview::paintEvent(), selectionIsBeingEdited(), Layer::setMeasureRectFromPixrect(), FlexiNoteLayer::splitEnd(), and zoomToRegion().

◆ getYForFrequency()

float View::getYForFrequency ( float  frequency,
float  minFreq,
float  maxFreq,
bool  logarithmic 
) const
inherited

Return the pixel y-coordinate corresponding to a given frequency, if the frequency range is as specified.

This does not imply any policy about layer frequency ranges, but it might be useful for layers to match theirs up if desired.

Not thread-safe in logarithmic mode. Call only from GUI thread.

Definition at line 377 of file View.cpp.

Referenced by SpectrogramLayer::getYForFrequency(), SpectrogramLayer::paintDrawBufferPeakFrequencies(), and PianoScale::paintPianoVertical().

◆ getFrequencyForY()

float View::getFrequencyForY ( int  y,
float  minFreq,
float  maxFreq,
bool  logarithmic 
) const
inherited

Return the closest frequency to the given pixel y-coordinate, if the frequency range is as specified.

Not thread-safe in logarithmic mode. Call only from GUI thread.

Definition at line 411 of file View.cpp.

Referenced by SpectrogramLayer::getFrequencyForY(), SpectrogramLayer::getSmoothedYBinRange(), and SpectrogramLayer::getYBinRange().

◆ getZoomLevel()

◆ setZoomLevel()

void View::setZoomLevel ( int  z)
virtualinherited

Set the zoom level, i.e.

the number of frames per pixel. The centre frame will be unchanged; the start and end frames will change.

Definition at line 452 of file View.cpp.

References View::m_followZoom, View::m_zoomLevel, and View::zoomLevelChanged().

Referenced by horizontalThumbwheelMoved(), View::setViewManager(), View::viewZoomLevelChanged(), wheelVertical(), View::zoom(), and zoomToRegion().

◆ zoom()

void View::zoom ( bool  in)
virtualinherited

Zoom in or out.

Definition at line 1475 of file View.cpp.

References View::getZoomConstraintBlockSize(), View::m_zoomLevel, and View::setZoomLevel().

◆ scroll()

void View::scroll ( bool  right,
bool  lots,
bool  doEmit = true 
)
virtualinherited

Scroll left or right by a smallish or largish amount.

Definition at line 1493 of file View.cpp.

References View::getEndFrame(), View::getModelsEndFrame(), View::getStartFrame(), View::m_centreFrame, and View::setCentreFrame().

◆ addLayer()

◆ removeLayer()

void View::removeLayer ( Layer v)
virtualinherited

◆ getLayerCount()

◆ getLayer()

◆ getFixedOrderLayer()

virtual Layer* View::getFixedOrderLayer ( int  n)
inlinevirtualinherited

Return the nth layer, counted in the order they were added.

Unlike the stacking order used in getLayer(), which changes each time a layer is selected, this ordering remains fixed. The returned layer may be visible or it may be dormant, i.e. invisible.

Definition at line 186 of file View.h.

References View::m_fixedOrderLayers.

◆ getInteractionLayer() [1/2]

Layer * View::getInteractionLayer ( )
virtualinherited

Return the layer currently active for tool interaction.

This is the topmost non-dormant (i.e. visible) layer in the view. If there are no visible layers in the view, return 0.

Definition at line 650 of file View.cpp.

References View::getLayer(), View::getLayerCount(), View::getSelectedLayer(), Layer::isLayerDormant(), and View::m_layerStack.

Referenced by dragExtendSelection(), editSelectionEnd(), View::getInteractionLayer(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), shouldIlluminateLocalFeatures(), shouldIlluminateLocalSelection(), and updateContextHelp().

◆ getInteractionLayer() [2/2]

const Layer * View::getInteractionLayer ( ) const
virtualinherited

Definition at line 670 of file View.cpp.

References View::getInteractionLayer().

◆ getSelectedLayer() [1/2]

Layer * View::getSelectedLayer ( )
virtualinherited

Return the layer most recently selected by the user.

This is the layer that any non-tool-driven commands should operate on, in the case where this view is the "current" one.

If the user has selected the view itself more recently than any of the layers on it, this function will return 0, and any non-tool-driven layer commands should be deactivated while this view is current. It will also return 0 if there are no layers in the view.

Note that, unlike getInteractionLayer(), this could return an invisible (dormant) layer.

Definition at line 676 of file View.cpp.

References View::getLayer(), View::getLayerCount(), View::m_haveSelectedLayer, and View::m_layerStack.

Referenced by View::getInteractionLayer(), and View::getSelectedLayer().

◆ getSelectedLayer() [2/2]

const Layer * View::getSelectedLayer ( ) const
virtualinherited

Definition at line 686 of file View.cpp.

References View::getSelectedLayer().

◆ getTopLayer()

virtual Layer* View::getTopLayer ( )
inlinevirtualinherited

Return the "top" layer in the view, whether visible or dormant.

This is the same as getLayer(getLayerCount()-1) if there is at least one layer, and 0 otherwise.

For most purposes involving interaction or commands, you probably want either getInteractionLayer() or getSelectedLayer() instead.

Definition at line 227 of file View.h.

References View::m_layerStack.

Referenced by getImageSize(), getTopLayerDisplayExtents(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), paintEvent(), render(), setTopLayerDisplayExtents(), and toNewImage().

◆ setViewManager() [1/2]

◆ setViewManager() [2/2]

void View::setViewManager ( ViewManager m,
int  initialFrame 
)
virtualinherited

Definition at line 766 of file View.cpp.

References View::setCentreFrame(), and View::setViewManager().

◆ getViewManager()

◆ setFollowGlobalPan()

void View::setFollowGlobalPan ( bool  f)
virtualinherited

◆ getFollowGlobalPan()

virtual bool View::getFollowGlobalPan ( ) const
inlinevirtualinherited

Definition at line 236 of file View.h.

References View::m_followPan.

◆ setFollowGlobalZoom()

void View::setFollowGlobalZoom ( bool  f)
virtualinherited

◆ getFollowGlobalZoom()

virtual bool View::getFollowGlobalZoom ( ) const
inlinevirtualinherited

Definition at line 239 of file View.h.

References View::m_followZoom.

◆ hasLightBackground()

◆ getForeground()

◆ getBackground()

◆ drawVisibleText()

◆ drawMeasurementRect()

void View::drawMeasurementRect ( QPainter &  p,
const Layer topLayer,
QRect  rect,
bool  focus 
) const
virtualinherited

◆ shouldShowFeatureLabels()

virtual bool View::shouldShowFeatureLabels ( ) const
inlinevirtualinherited

Definition at line 257 of file View.h.

References View::m_manager, and ViewManager::shouldShowFeatureLabels().

Referenced by TimeValueLayer::paint().

◆ setPlaybackFollow()

void View::setPlaybackFollow ( PlaybackFollowMode  m)
virtualinherited

◆ getPlaybackFollow()

virtual PlaybackFollowMode View::getPlaybackFollow ( ) const
inlinevirtualinherited

Definition at line 268 of file View.h.

References View::m_followPlay.

◆ getProperties()

PropertyContainer::PropertyList View::getProperties ( ) const
virtualinherited

Definition at line 82 of file View.cpp.

Referenced by ViewPropertyContainer::getProperties().

◆ getPropertyLabel()

QString View::getPropertyLabel ( const PropertyName pn) const
virtualinherited

Definition at line 92 of file View.cpp.

Referenced by ViewPropertyContainer::getPropertyLabel().

◆ getPropertyType()

PropertyContainer::PropertyType View::getPropertyType ( const PropertyName name) const
virtualinherited

Definition at line 101 of file View.cpp.

Referenced by ViewPropertyContainer::getPropertyType().

◆ getPropertyRangeAndValue()

int View::getPropertyRangeAndValue ( const PropertyName name,
int *  min,
int *  max,
int *  deflt 
) const
virtualinherited

◆ getPropertyValueLabel()

QString View::getPropertyValueLabel ( const PropertyName name,
int  value 
) const
virtualinherited

Definition at line 133 of file View.cpp.

Referenced by ViewPropertyContainer::getPropertyValueLabel().

◆ setProperty()

void View::setProperty ( const PropertyName name,
int  value 
)
virtualinherited

◆ getPropertyContainerName()

virtual QString View::getPropertyContainerName ( ) const
inlinevirtualinherited

Definition at line 284 of file View.h.

Referenced by ViewPropertyContainer::getPropertyContainerName().

◆ getPropertyContainerCount()

int View::getPropertyContainerCount ( ) const
virtualinherited

Definition at line 165 of file View.cpp.

References View::m_fixedOrderLayers.

Referenced by PropertyStack::containsContainer(), and PropertyStack::repopulate().

◆ getPropertyContainer() [1/2]

const PropertyContainer * View::getPropertyContainer ( int  i) const
virtualinherited

◆ getPropertyContainer() [2/2]

PropertyContainer * View::getPropertyContainer ( int  i)
virtualinherited

Definition at line 178 of file View.cpp.

References View::m_fixedOrderLayers, and View::m_propertyContainer.

◆ getTextLabelHeight()

int View::getTextLabelHeight ( const Layer layer,
QPainter &  paint 
) const
virtualinherited

Definition at line 222 of file View.cpp.

References View::m_layerStack.

Referenced by TimeInstantLayer::paint(), TimeValueLayer::paint(), and RegionLayer::paint().

◆ getValueExtents()

bool View::getValueExtents ( QString  unit,
float &  min,
float &  max,
bool &  log 
) const
virtualinherited

◆ getLastVisibleFrame()

int View::getLastVisibleFrame ( ) const
virtualinherited

Definition at line 1181 of file View.cpp.

References View::getEndFrame(), and View::getModelsEndFrame().

◆ getModelsStartFrame()

int View::getModelsStartFrame ( ) const
inherited

◆ getModelsEndFrame()

◆ getModels()

View::ModelSet View::getModels ( )
inherited

Definition at line 1251 of file View.cpp.

References View::getLayer(), View::getLayerCount(), and Layer::getModel().

◆ getAligningModel()

◆ alignFromReference()

int View::alignFromReference ( int  f) const
inherited

◆ alignToReference()

◆ getAlignedPlaybackFrame()

◆ propertyContainerAdded

void View::propertyContainerAdded ( PropertyContainer *  pc)
signalinherited

Referenced by View::addLayer().

◆ propertyContainerRemoved

void View::propertyContainerRemoved ( PropertyContainer *  pc)
signalinherited

Referenced by View::removeLayer().

◆ propertyContainerPropertyChanged

void View::propertyContainerPropertyChanged ( PropertyContainer *  pc)
signalinherited

◆ propertyContainerPropertyRangeChanged

void View::propertyContainerPropertyRangeChanged ( PropertyContainer *  pc)
signalinherited

◆ propertyContainerNameChanged

void View::propertyContainerNameChanged ( PropertyContainer *  pc)
signalinherited

Referenced by View::layerNameChanged().

◆ propertyContainerSelected [2/2]

void View::propertyContainerSelected ( PropertyContainer *  pc)
signalinherited

◆ propertyChanged

void View::propertyChanged ( PropertyContainer::PropertyName  )
signalinherited

◆ layerModelChanged

void View::layerModelChanged ( )
signalinherited

Referenced by View::modelChanged().

◆ centreFrameChanged

void View::centreFrameChanged ( int  frame,
bool  globalScroll,
PlaybackFollowMode  followMode 
)
signalinherited

◆ zoomLevelChanged

void View::zoomLevelChanged ( int  ,
bool   
)
signalinherited

◆ contextHelpChanged

void View::contextHelpChanged ( const QString &  )
signalinherited

◆ modelChanged

void View::modelChanged ( )
virtualslotinherited

◆ modelChangedWithin

void View::modelChangedWithin ( int  startFrame,
int  endFrame 
)
virtualslotinherited

◆ modelCompletionChanged

void View::modelCompletionChanged ( )
virtualslotinherited

Definition at line 929 of file View.cpp.

References View::checkProgress().

Referenced by View::addLayer(), and View::removeLayer().

◆ modelReplaced

void View::modelReplaced ( )
virtualslotinherited

Definition at line 947 of file View.cpp.

References View::m_cache.

Referenced by View::addLayer(), Overview::modelReplaced(), and View::removeLayer().

◆ layerParameterRangesChanged

void View::layerParameterRangesChanged ( )
virtualslotinherited

Definition at line 977 of file View.cpp.

References View::propertyContainerPropertyRangeChanged().

Referenced by View::addLayer(), and View::removeLayer().

◆ layerMeasurementRectsChanged

void View::layerMeasurementRectsChanged ( )
virtualslotinherited

Definition at line 984 of file View.cpp.

Referenced by View::addLayer().

◆ layerNameChanged

void View::layerNameChanged ( )
virtualslotinherited

Definition at line 991 of file View.cpp.

References View::propertyContainerNameChanged().

Referenced by View::addLayer(), and View::removeLayer().

◆ globalCentreFrameChanged

void View::globalCentreFrameChanged ( int  rf)
virtualslotinherited

Definition at line 998 of file View.cpp.

References View::alignFromReference(), View::m_followPan, and View::setCentreFrame().

Referenced by View::setViewManager().

◆ viewCentreFrameChanged

void View::viewCentreFrameChanged ( View ,
int   
)
virtualslotinherited

Definition at line 1011 of file View.cpp.

Referenced by View::setViewManager().

◆ viewManagerPlaybackFrameChanged

void View::viewManagerPlaybackFrameChanged ( int  f)
virtualslotinherited

◆ selectionChanged

void View::selectionChanged ( )
virtualslotinherited

Definition at line 1161 of file View.cpp.

References View::m_cache, and View::m_selectionCached.

Referenced by View::setViewManager().

◆ overlayModeChanged

void View::overlayModeChanged ( )
virtualslotinherited

Definition at line 288 of file View.cpp.

References View::m_cache.

Referenced by View::setViewManager().

◆ cancelClicked

void View::cancelClicked ( )
virtualslotinherited

Definition at line 1513 of file View.cpp.

References Layer::getModel(), and View::m_progressBars.

Referenced by View::addLayer().

◆ progressCheckStalledTimerElapsed

void View::progressCheckStalledTimerElapsed ( )
virtualslotinherited

Definition at line 1622 of file View.cpp.

References View::m_progressBars.

Referenced by View::addLayer().

◆ drawSelections()

◆ shouldLabelSelections()

virtual bool View::shouldLabelSelections ( ) const
inlineprotectedvirtualinherited

Reimplemented in Overview.

Definition at line 376 of file View.h.

Referenced by View::drawSelections().

◆ setPaintFont()

void View::setPaintFont ( QPainter &  paint)
protectedvirtualinherited

Definition at line 1654 of file View.cpp.

Referenced by paintEvent(), and View::paintEvent().

◆ getModelsSampleRate()

int View::getModelsSampleRate ( ) const
protectedinherited

!! Just go for the first, for now. If we were supporting

!! nah, this wants to always return the sr of the main model!

Definition at line 1234 of file View.cpp.

References View::m_layerStack.

Referenced by drawEditingSelection(), View::drawSelections(), and paintEvent().

◆ areLayersScrollable()

bool View::areLayersScrollable ( ) const
protectedinherited

Definition at line 1346 of file View.cpp.

References View::m_layerStack.

◆ getScrollableBackLayers()

View::LayerList View::getScrollableBackLayers ( bool  testChanged,
bool &  changed 
) const
protectedinherited

◆ getNonScrollableFrontLayers()

View::LayerList View::getNonScrollableFrontLayers ( bool  testChanged,
bool &  changed 
) const
protectedinherited

Definition at line 1392 of file View.cpp.

References View::m_lastNonScrollableBackLayers, and View::m_layerStack.

Referenced by View::paintEvent().

◆ getZoomConstraintBlockSize()

int View::getZoomConstraintBlockSize ( int  blockSize,
ZoomConstraint::RoundingDirection  dir = ZoomConstraint::RoundNearest 
) const
protectedinherited

◆ areLayerColoursSignificant()

bool View::areLayerColoursSignificant ( ) const
protectedinherited

Definition at line 1455 of file View.cpp.

References Layer::ColourHasMeaningfulValue, and View::m_layerStack.

Referenced by View::drawSelections().

◆ hasTopLayerTimeXAxis()

bool View::hasTopLayerTimeXAxis ( ) const
protectedinherited

◆ movePlayPointer()

◆ checkProgress()

void View::checkProgress ( void *  object)
protectedinherited

◆ getProgressBarWidth()

int View::getProgressBarWidth ( ) const
protectedinherited

Definition at line 1641 of file View.cpp.

References View::m_progressBars.

Referenced by drawDurationAndRate().

Member Data Documentation

◆ m_identifyFeatures

bool Pane::m_identifyFeatures
protected

◆ m_identifyPoint

QPoint Pane::m_identifyPoint
protected

◆ m_clickPos

◆ m_mousePos

◆ m_clickedInRange

bool Pane::m_clickedInRange
protected

◆ m_shiftPressed

bool Pane::m_shiftPressed
protected

◆ m_ctrlPressed

bool Pane::m_ctrlPressed
protected

Definition at line 163 of file Pane.h.

Referenced by dragExtendSelection(), mouseDoubleClickEvent(), and mousePressEvent().

◆ m_altPressed

bool Pane::m_altPressed
protected

Definition at line 164 of file Pane.h.

Referenced by dragTopLayer(), mouseDoubleClickEvent(), and mousePressEvent().

◆ m_navigating

bool Pane::m_navigating
protected

Definition at line 166 of file Pane.h.

Referenced by mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and paintEvent().

◆ m_resizing

bool Pane::m_resizing
protected

Definition at line 167 of file Pane.h.

Referenced by dragExtendSelection(), and mousePressEvent().

◆ m_editing

bool Pane::m_editing
protected

Definition at line 168 of file Pane.h.

Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().

◆ m_releasing

bool Pane::m_releasing
protected

Definition at line 169 of file Pane.h.

Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().

◆ m_dragCentreFrame

int Pane::m_dragCentreFrame
protected

Definition at line 170 of file Pane.h.

Referenced by dragTopLayer(), mouseDoubleClickEvent(), and mousePressEvent().

◆ m_dragStartMinValue

float Pane::m_dragStartMinValue
protected

Definition at line 171 of file Pane.h.

Referenced by dragTopLayer(), mouseDoubleClickEvent(), and mousePressEvent().

◆ m_centreLineVisible

bool Pane::m_centreLineVisible
protected

Definition at line 172 of file Pane.h.

Referenced by getCentreLineVisible(), paintEvent(), setCentreLineVisible(), and toXml().

◆ m_selectionStartFrame

int Pane::m_selectionStartFrame
protected

Definition at line 173 of file Pane.h.

Referenced by dragExtendSelection(), and mousePressEvent().

◆ m_editingSelection

Selection Pane::m_editingSelection
protected

◆ m_editingSelectionEdge

int Pane::m_editingSelectionEdge
protected

◆ m_scaleWidth

◆ m_pendingWheelAngle

int Pane::m_pendingWheelAngle
protected

Definition at line 178 of file Pane.h.

Referenced by wheelEvent().

◆ m_dragMode

DragMode Pane::m_dragMode
protected

Definition at line 186 of file Pane.h.

Referenced by dragTopLayer(), mouseDoubleClickEvent(), mouseMoveEvent(), and mousePressEvent().

◆ m_headsUpDisplay

QWidget* Pane::m_headsUpDisplay
protected

Definition at line 196 of file Pane.h.

Referenced by updateHeadsUpDisplay().

◆ m_vpan

Panner* Pane::m_vpan
protected

◆ m_hthumb

Thumbwheel* Pane::m_hthumb
protected

◆ m_vthumb

Thumbwheel* Pane::m_vthumb
protected

◆ m_reset

NotifyingPushButton* Pane::m_reset
protected

Definition at line 200 of file Pane.h.

Referenced by mouseEnteredWidget(), and updateHeadsUpDisplay().

◆ m_mouseInWidget

bool Pane::m_mouseInWidget
protected

Definition at line 202 of file Pane.h.

Referenced by enterEvent(), leaveEvent(), and paintEvent().

◆ m_playbackFrameMoveScheduled

bool Pane::m_playbackFrameMoveScheduled
protected

◆ m_playbackFrameMoveTo

int Pane::m_playbackFrameMoveTo
protected

Definition at line 205 of file Pane.h.

Referenced by playbackScheduleTimerElapsed(), and schedulePlaybackFrameMove().

◆ m_measureCursor1

QCursor * Pane::m_measureCursor1 = 0
staticprotected

!! ugh

!! for HUD – pull out into a separate class

Definition at line 207 of file Pane.h.

Referenced by mouseReleaseEvent(), and toolModeChanged().

◆ m_measureCursor2

QCursor * Pane::m_measureCursor2 = 0
staticprotected

Definition at line 208 of file Pane.h.

Referenced by mouseMoveEvent(), and toolModeChanged().

◆ m_centreFrame

◆ m_zoomLevel

◆ m_followPan

◆ m_followZoom

◆ m_followPlay

◆ m_followPlayIsDetached

bool View::m_followPlayIsDetached
protectedinherited

Definition at line 413 of file View.h.

Referenced by View::movePlayPointer().

◆ m_playPointerFrame

int View::m_playPointerFrame
protectedinherited

◆ m_lightBackground

bool View::m_lightBackground
protectedinherited

Definition at line 415 of file View.h.

◆ m_showProgress

bool View::m_showProgress
protectedinherited

Definition at line 416 of file View.h.

Referenced by View::checkProgress().

◆ m_cache

◆ m_cacheCentreFrame

int View::m_cacheCentreFrame
protectedinherited

Definition at line 419 of file View.h.

Referenced by View::paintEvent().

◆ m_cacheZoomLevel

int View::m_cacheZoomLevel
protectedinherited

Definition at line 420 of file View.h.

Referenced by View::paintEvent().

◆ m_selectionCached

bool View::m_selectionCached
protectedinherited

Definition at line 421 of file View.h.

Referenced by View::paintEvent(), and View::selectionChanged().

◆ m_deleting

bool View::m_deleting
protectedinherited

Definition at line 423 of file View.h.

Referenced by View::removeLayer(), and View::~View().

◆ m_layerStack

◆ m_fixedOrderLayers

LayerList View::m_fixedOrderLayers
protectedinherited

◆ m_haveSelectedLayer

bool View::m_haveSelectedLayer
protectedinherited

Definition at line 427 of file View.h.

Referenced by View::getSelectedLayer(), and View::propertyContainerSelected().

◆ m_lastError

QString View::m_lastError
protectedinherited

Definition at line 429 of file View.h.

Referenced by View::checkProgress().

◆ m_lastScrollableBackLayers

LayerList View::m_lastScrollableBackLayers
mutableprotectedinherited

Definition at line 432 of file View.h.

Referenced by View::getScrollableBackLayers().

◆ m_lastNonScrollableBackLayers

LayerList View::m_lastNonScrollableBackLayers
mutableprotectedinherited

Definition at line 433 of file View.h.

Referenced by View::getNonScrollableFrontLayers().

◆ m_progressBars

◆ m_manager

◆ m_propertyContainer


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