#include <Pane.h>
Inherits View.
Inheritance diagram for Pane:


Definition at line 35 of file Pane.h.
Public Types | |
| enum | TextStyle { BoxedText, OutlinedText } |
| typedef PropertyContainer::PropertyName | PropertyName |
| typedef std::set< Model * > | ModelSet |
Public Slots | |
| virtual void | toolModeChanged () |
| virtual void | zoomWheelsEnabledChanged () |
| virtual void | viewZoomLevelChanged (View *v, unsigned long 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 | propertyContainerSelected (View *, PropertyContainer *pc) |
| void | mouseEnteredWidget () |
| void | mouseLeftWidget () |
| virtual void | modelChanged () |
| virtual void | modelChanged (size_t startFrame, size_t endFrame) |
| virtual void | modelCompletionChanged () |
| virtual void | modelReplaced () |
| virtual void | layerParametersChanged () |
| virtual void | layerParameterRangesChanged () |
| virtual void | layerMeasurementRectsChanged () |
| virtual void | layerNameChanged () |
| virtual void | globalCentreFrameChanged (unsigned long) |
| virtual void | viewCentreFrameChanged (View *, unsigned long) |
| virtual void | viewManagerPlaybackFrameChanged (unsigned long) |
| virtual void | selectionChanged () |
| virtual void | overlayModeChanged () |
Signals | |
| void | paneInteractedWith () |
| void | rightButtonMenuRequested (QPoint position) |
| void | dropAccepted (QStringList uriList) |
| void | dropAccepted (QString text) |
| 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 (unsigned long frame, bool globalScroll, PlaybackFollowMode followMode) |
| void | zoomLevelChanged (unsigned long, 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 size_t | getFirstVisibleFrame () const |
| virtual size_t | getVerticalScaleWidth () const |
| virtual QImage * | toNewImage (size_t f0, size_t f1) |
| virtual QImage * | toNewImage () |
| virtual QSize | getImageSize (size_t f0, size_t f1) |
| virtual QSize | getImageSize () |
| virtual void | toXml (QTextStream &stream, QString indent="", QString extraAttributes="") const |
| Stream this exportable object out to XML on a text stream. | |
| long | getStartFrame () const |
| Retrieve the first visible sample frame on the widget. | |
| void | setStartFrame (long) |
| Set the widget pan based on the given first visible frame. | |
| size_t | getCentreFrame () const |
| Return the centre frame of the visible widget. | |
| void | setCentreFrame (size_t f) |
| Set the centre frame of the visible widget. | |
| size_t | getEndFrame () const |
| Retrieve the last visible sample frame on the widget. | |
| int | getXForFrame (long frame) const |
| Return the pixel x-coordinate corresponding to a given sample frame (which may be negative). | |
| long | getFrameForX (int x) const |
| Return the closest frame to the given pixel x-coordinate. | |
| 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. | |
| 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. | |
| int | getZoomLevel () const |
| Return the zoom level, i.e. | |
| virtual void | setZoomLevel (size_t z) |
| Set the zoom level, i.e. | |
| virtual void | zoom (bool in) |
| Zoom in or out. | |
| virtual void | scroll (bool right, bool lots) |
| Scroll left or right by a smallish or largish amount. | |
| virtual void | addLayer (Layer *v) |
| virtual void | removeLayer (Layer *v) |
| virtual int | getLayerCount () const |
| virtual Layer * | getLayer (int n) |
| Return a layer, counted in stacking order. | |
| virtual Layer * | getTopLayer () |
| Return the top layer. | |
| virtual Layer * | getSelectedLayer () |
| Return the layer last selected by the user. | |
| virtual const Layer * | getSelectedLayer () const |
| virtual void | setViewManager (ViewManager *m) |
| virtual ViewManager * | getViewManager () 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 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 size_t | getPropertyContainerCount () const |
| virtual const PropertyContainer * | getPropertyContainer (size_t i) const |
| virtual PropertyContainer * | getPropertyContainer (size_t i) |
| virtual int | getTextLabelHeight (const Layer *layer, QPainter &) const |
| virtual bool | getValueExtents (QString unit, float &min, float &max, bool &log) const |
| virtual size_t | getLastVisibleFrame () const |
| size_t | getModelsStartFrame () const |
| size_t | getModelsEndFrame () const |
| ModelSet | getModels () |
| Model * | getAligningModel () const |
| !! | |
| size_t | alignFromReference (size_t) const |
| size_t | alignToReference (size_t) const |
| int | getAlignedPlaybackFrame () const |
| virtual QString | toXmlString (QString indent="", QString extraAttributes="") const |
| Convert this exportable object to XML in a string. | |
Static Public Member Functions | |
| static void | registerShortcuts (KeyReference &kr) |
| static QString | encodeEntities (QString) |
| static QString | encodeColour (QColor) |
| static int | getObjectExportId (const void *) |
Protected Types | |
| enum | DragMode { UnresolvedDrag, VerticalDrag, HorizontalDrag, FreeDrag } |
| typedef std::vector< Layer * > | LayerList |
| typedef std::map< Layer *, LayerProgressBar * > | ProgressMap |
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 | drawVerticalScale (QRect r, Layer *, QPainter &) |
| void | drawFeatureDescription (Layer *, QPainter &) |
| void | drawCentreLine (int, QPainter &, bool omitLine) |
| 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, size_t f0, size_t 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 | zoomToRegion (int x0, int y0, int x1, int y1) |
| void | updateContextHelp (const QPoint *pos) |
| void | edgeScrollMaybe (int x) |
| DragMode | updateDragMode (DragMode currentMode, QPoint origin, QPoint currentPoint, bool canMoveHorizontal, bool canMoveVertical, bool resistHorizontal, bool resistVertical) |
| bool | setCentreFrame (size_t 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 |
| size_t | getZoomConstraintBlockSize (size_t blockSize, ZoomConstraint::RoundingDirection dir=ZoomConstraint::RoundNearest) const |
| bool | areLayerColoursSignificant () const |
| bool | hasTopLayerTimeXAxis () const |
| void | checkProgress (void *object) |
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_navigating |
| bool | m_resizing |
| bool | m_editing |
| bool | m_releasing |
| size_t | m_dragCentreFrame |
| float | m_dragStartMinValue |
| bool | m_centreLineVisible |
| size_t | m_selectionStartFrame |
| Selection | m_editingSelection |
| int | m_editingSelectionEdge |
| int | m_scaleWidth |
| DragMode | m_dragMode |
| QWidget * | m_headsUpDisplay |
| Panner * | m_vpan |
| Thumbwheel * | m_hthumb |
| Thumbwheel * | m_vthumb |
| NotifyingPushButton * | m_reset |
| bool | m_mouseInWidget |
| size_t | m_centreFrame |
| int | m_zoomLevel |
| bool | m_followPan |
| bool | m_followZoom |
| PlaybackFollowMode | m_followPlay |
| size_t | m_playPointerFrame |
| bool | m_lightBackground |
| bool | m_showProgress |
| QPixmap * | m_cache |
| size_t | m_cacheCentreFrame |
| int | m_cacheZoomLevel |
| bool | m_selectionCached |
| bool | m_deleting |
| LayerList | m_layers |
| bool | m_haveSelectedLayer |
| LayerList | m_lastScrollableBackLayers |
| LayerList | m_lastNonScrollableBackLayers |
| ProgressMap | m_progressBars |
| ViewManager * | m_manager |
| ViewPropertyContainer * | m_propertyContainer |
Static Protected Attributes | |
| static QCursor * | m_measureCursor1 |
| static QCursor * | m_measureCursor2 |
typedef PropertyContainer::PropertyName View::PropertyName [inherited] |
typedef std::set<Model *> View::ModelSet [inherited] |
typedef std::vector<Layer *> View::LayerList [protected, inherited] |
typedef std::map<Layer *, LayerProgressBar *> View::ProgressMap [protected, inherited] |
enum Pane::DragMode [protected] |
enum View::TextStyle [inherited] |
| Pane::Pane | ( | QWidget * | parent = 0 |
) |
| virtual QString Pane::getPropertyContainerIconName | ( | ) | const [inline, virtual] |
| bool Pane::shouldIlluminateLocalFeatures | ( | const Layer * | layer, | |
| QPoint & | pos | |||
| ) | const [virtual] |
Reimplemented from View.
Definition at line 315 of file Pane.cpp.
References View::getSelectedLayer(), ViewManager::getToolMode(), m_identifyFeatures, m_identifyPoint, View::m_manager, ViewManager::MeasureMode, ViewManager::shouldIlluminateLocalFeatures(), and shouldIlluminateLocalSelection().
| bool Pane::shouldIlluminateLocalSelection | ( | QPoint & | pos, | |
| bool & | closeToLeft, | |||
| bool & | closeToRight | |||
| ) | const [virtual] |
Reimplemented from View.
Definition at line 339 of file Pane.cpp.
References ViewManager::EditMode, View::getSelectedLayer(), getSelectionAt(), ViewManager::getSelections(), ViewManager::getToolMode(), m_identifyFeatures, m_identifyPoint, View::m_manager, and selectionIsBeingEdited().
Referenced by shouldIlluminateLocalFeatures().
| void Pane::setCentreLineVisible | ( | bool | visible | ) |
Definition at line 377 of file Pane.cpp.
References m_centreLineVisible.
Referenced by SVFileReader::readView().
| bool Pane::getCentreLineVisible | ( | ) | const [inline] |
| size_t Pane::getFirstVisibleFrame | ( | ) | const [virtual] |
Reimplemented from View.
Definition at line 1074 of file Pane.cpp.
References View::getFirstVisibleFrame(), View::getFrameForX(), and m_scaleWidth.
Referenced by MainWindow::exportImage(), and MainWindow::updateVisibleRangeDisplay().
| size_t Pane::getVerticalScaleWidth | ( | ) | const [virtual] |
Definition at line 525 of file Pane.cpp.
References m_scaleWidth.
Referenced by MainWindowBase::zoomToFit().
| QImage * Pane::toNewImage | ( | size_t | f0, | |
| size_t | f1 | |||
| ) | [virtual] |
Reimplemented from View.
Definition at line 1015 of file Pane.cpp.
References View::getZoomLevel(), View::m_layers, View::m_manager, m_scaleWidth, render(), and ViewManager::shouldShowVerticalScale().
Referenced by MainWindow::exportImage().
| virtual QImage* Pane::toNewImage | ( | ) | [inline, virtual] |
| QSize Pane::getImageSize | ( | size_t | f0, | |
| size_t | f1 | |||
| ) | [virtual] |
Reimplemented from View.
Definition at line 1054 of file Pane.cpp.
References View::getImageSize(), View::m_layers, View::m_manager, and ViewManager::shouldShowVerticalScale().
Referenced by MainWindow::exportImage().
| virtual QSize Pane::getImageSize | ( | ) | [inline, virtual] |
| void Pane::toXml | ( | QTextStream & | stream, | |
| QString | indent = "", |
|||
| QString | extraAttributes = "" | |||
| ) | const [virtual] |
Stream this exportable object out to XML on a text stream.
Reimplemented from View.
Definition at line 2508 of file Pane.cpp.
References m_centreLineVisible, and View::toXml().
Referenced by MainWindowBase::toXml().
| void Pane::registerShortcuts | ( | KeyReference & | kr | ) | [static] |
Definition at line 1148 of file Pane.cpp.
References KeyReference::registerAlternativeShortcut(), KeyReference::registerShortcut(), and KeyReference::setCategory().
Referenced by MainWindow::setupToolbars().
| void Pane::paneInteractedWith | ( | ) | [signal] |
Referenced by mousePressEvent(), mouseReleaseEvent(), and wheelEvent().
| void Pane::rightButtonMenuRequested | ( | QPoint | position | ) | [signal] |
Referenced by mousePressEvent().
| void Pane::dropAccepted | ( | QStringList | uriList | ) | [signal] |
Referenced by dropEvent().
| void Pane::dropAccepted | ( | QString | text | ) | [signal] |
| void Pane::toolModeChanged | ( | ) | [virtual, slot] |
Reimplemented from View.
Definition at line 2284 of file Pane.cpp.
References ViewManager::DrawMode, ViewManager::EditMode, ViewManager::EraseMode, ViewManager::getToolMode(), View::m_manager, m_measureCursor1, m_measureCursor2, ViewManager::MeasureMode, ViewManager::NavigateMode, and ViewManager::SelectMode.
Referenced by mouseReleaseEvent().
| void Pane::zoomWheelsEnabledChanged | ( | ) | [virtual, slot] |
Reimplemented from View.
Definition at line 2333 of file Pane.cpp.
References updateHeadsUpDisplay().
| void Pane::viewZoomLevelChanged | ( | View * | v, | |
| unsigned long | z, | |||
| bool | locked | |||
| ) | [virtual, slot] |
Reimplemented from View.
Definition at line 2340 of file Pane.cpp.
References ViewManager::getZoomWheelsEnabled(), View::m_followZoom, m_hthumb, View::m_manager, updateHeadsUpDisplay(), and View::viewZoomLevelChanged().
| void Pane::modelAlignmentCompletionChanged | ( | ) | [virtual, slot] |
Reimplemented from View.
Definition at line 808 of file Pane.cpp.
References View::modelAlignmentCompletionChanged().
| void Pane::horizontalThumbwheelMoved | ( | int | value | ) | [virtual, slot] |
Definition at line 2046 of file Pane.cpp.
References Thumbwheel::getMaximumValue(), View::getZoomConstraintBlockSize(), m_hthumb, View::m_layers, ZoomConstraint::RoundUp, and View::setZoomLevel().
Referenced by updateHeadsUpDisplay().
| void Pane::verticalThumbwheelMoved | ( | int | value | ) | [virtual, slot] |
Definition at line 2098 of file Pane.cpp.
References View::getLayer(), View::getLayerCount(), Layer::getVerticalZoomSteps(), Layer::setVerticalZoomStep(), updateHeadsUpDisplay(), and updateVerticalPanner().
Referenced by updateHeadsUpDisplay().
| void Pane::verticalZoomChanged | ( | ) | [virtual, slot] |
Definition at line 2386 of file Pane.cpp.
References Layer::getCurrentVerticalZoomStep(), View::getLayer(), View::getLayerCount(), m_vthumb, and Thumbwheel::setValue().
Referenced by propertyContainerSelected().
| void Pane::verticalPannerMoved | ( | float | x, | |
| float | y, | |||
| float | w, | |||
| float | h | |||
| ) | [virtual, slot] |
Definition at line 2118 of file Pane.cpp.
References getTopLayerDisplayExtents(), and setTopLayerDisplayExtents().
Referenced by updateHeadsUpDisplay().
| void Pane::editVerticalPannerExtents | ( | ) | [virtual, slot] |
Definition at line 2131 of file Pane.cpp.
References RangeInputDialog::getRange(), getTopLayerDisplayExtents(), ViewManager::getZoomWheelsEnabled(), View::m_manager, m_vpan, RangeInputDialog::setRange(), setTopLayerDisplayExtents(), and updateVerticalPanner().
Referenced by updateHeadsUpDisplay().
| void Pane::propertyContainerSelected | ( | View * | , | |
| PropertyContainer * | pc | |||
| ) | [virtual, slot] |
Reimplemented from View.
Definition at line 2359 of file Pane.cpp.
References View::getLayer(), View::getLayerCount(), Layer::getNewVerticalZoomRangeMapper(), m_vthumb, View::propertyContainerSelected(), Thumbwheel::setRangeMapper(), updateHeadsUpDisplay(), and verticalZoomChanged().
| void Pane::mouseEnteredWidget | ( | ) | [slot] |
Definition at line 2485 of file Pane.cpp.
References View::contextHelpChanged(), m_hthumb, m_reset, m_vpan, and m_vthumb.
Referenced by updateHeadsUpDisplay().
| void Pane::mouseLeftWidget | ( | ) | [slot] |
Definition at line 2502 of file Pane.cpp.
References View::contextHelpChanged().
Referenced by updateHeadsUpDisplay().
| void Pane::paintEvent | ( | QPaintEvent * | e | ) | [protected, virtual] |
Reimplemented from View.
Definition at line 384 of file Pane.cpp.
References drawAlignmentStatus(), drawCentreLine(), drawDurationAndRate(), drawEditingSelection(), drawFeatureDescription(), drawLayerNames(), drawVerticalScale(), drawWorkTitle(), ViewManager::getAlignMode(), View::getModelsSampleRate(), Model::getSourceModel(), ViewManager::getToolMode(), View::getTopLayer(), ViewManager::isPlaying(), m_centreLineVisible, m_clickedInRange, m_clickPos, m_identifyFeatures, m_identifyPoint, View::m_layers, View::m_manager, m_mouseInWidget, m_mousePos, m_navigating, m_scaleWidth, m_shiftPressed, ViewManager::MeasureMode, ViewManager::NavigateMode, View::paintEvent(), Layer::paintMeasurementRects(), selectionIsBeingEdited(), View::setPaintFont(), ViewManager::shouldIlluminateLocalFeatures(), ViewManager::shouldShowCentreLine(), ViewManager::shouldShowDuration(), ViewManager::shouldShowLayerNames(), ViewManager::shouldShowVerticalScale(), and ViewManager::shouldShowWorkTitle().
| void Pane::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 1210 of file Pane.cpp.
References View::alignToReference(), View::contextHelpChanged(), ViewManager::DrawMode, Layer::drawStart(), ViewManager::EditMode, ViewManager::EraseMode, Layer::eraseStart(), View::getFrameForX(), View::getSelectedLayer(), getSelectionAt(), ViewManager::getToolMode(), View::getTopLayer(), getTopLayerDisplayExtents(), View::hasTopLayerTimeXAxis(), Layer::isLayerEditable(), View::m_centreFrame, m_clickedInRange, m_clickPos, m_ctrlPressed, m_dragCentreFrame, m_dragMode, m_dragStartMinValue, m_editing, m_editingSelection, m_editingSelectionEdge, View::m_manager, m_mousePos, m_navigating, m_releasing, m_resizing, m_selectionStartFrame, m_shiftPressed, ViewManager::MeasureMode, Layer::measureStart(), ViewManager::NavigateMode, paneInteractedWith(), ViewManager::removeSelection(), rightButtonMenuRequested(), ViewManager::SelectMode, ViewManager::setInProgressSelection(), Layer::SnapLeft, Layer::snapToFeatureFrame(), and UnresolvedDrag.
| void Pane::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 1331 of file Pane.cpp.
References ViewManager::addSelection(), ViewManager::clearInProgressSelection(), Layer::drawEnd(), ViewManager::DrawMode, Layer::editEnd(), ViewManager::EditMode, editSelectionEnd(), Layer::eraseEnd(), ViewManager::EraseMode, Selection::getEndFrame(), ViewManager::getInProgressSelection(), View::getSelectedLayer(), Selection::getStartFrame(), ViewManager::getToolMode(), View::getTopLayer(), View::hasTopLayerTimeXAxis(), ViewManager::haveInProgressSelection(), Layer::isLayerEditable(), m_clickedInRange, m_clickPos, m_editing, View::m_manager, m_measureCursor1, m_mousePos, m_navigating, m_releasing, m_shiftPressed, Layer::measureEnd(), ViewManager::MeasureMode, mouseMoveEvent(), ViewManager::NavigateMode, paneInteractedWith(), ViewManager::SelectMode, ViewManager::setSelection(), toolModeChanged(), and zoomToRegion().
| void Pane::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 1438 of file Pane.cpp.
References dragExtendSelection(), dragTopLayer(), Layer::drawDrag(), ViewManager::DrawMode, edgeScrollMaybe(), Layer::editDrag(), ViewManager::EditMode, editSelectionDrag(), editSelectionStart(), Layer::editStart(), Layer::eraseDrag(), ViewManager::EraseMode, View::getSelectedLayer(), getSelectionAt(), ViewManager::getToolMode(), View::getTopLayer(), Layer::hasTimeXAxis(), View::hasTopLayerTimeXAxis(), Layer::isLayerEditable(), ViewManager::isPlaying(), m_clickedInRange, m_clickPos, m_dragMode, m_editing, m_identifyFeatures, m_identifyPoint, View::m_manager, m_measureCursor2, m_mousePos, m_navigating, m_releasing, m_shiftPressed, Layer::measureDrag(), ViewManager::MeasureMode, ViewManager::NavigateMode, ViewManager::SelectMode, ViewManager::shouldIlluminateLocalFeatures(), UnresolvedDrag, updateContextHelp(), and updateDragMode().
Referenced by mouseReleaseEvent().
| void Pane::mouseDoubleClickEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 1892 of file Pane.cpp.
References ViewManager::EditMode, Layer::editOpen(), View::getFrameForX(), View::getSelectedLayer(), ViewManager::getToolMode(), View::getTopLayer(), getTopLayerDisplayExtents(), Layer::isLayerEditable(), m_clickedInRange, m_clickPos, m_ctrlPressed, m_dragCentreFrame, m_dragMode, m_dragStartMinValue, View::m_manager, m_shiftPressed, Layer::measureDoubleClick(), ViewManager::MeasureMode, ViewManager::NavigateMode, View::setCentreFrame(), and UnresolvedDrag.
| void Pane::enterEvent | ( | QEvent * | e | ) | [protected, virtual] |
| void Pane::leaveEvent | ( | QEvent * | e | ) | [protected, virtual] |
Definition at line 1950 of file Pane.cpp.
References View::contextHelpChanged(), m_identifyFeatures, and m_mouseInWidget.
| void Pane::wheelEvent | ( | QWheelEvent * | e | ) | [protected, virtual] |
Definition at line 1966 of file Pane.cpp.
References View::getEndFrame(), View::getModelsEndFrame(), View::getStartFrame(), View::getZoomConstraintBlockSize(), View::m_centreFrame, m_vpan, m_vthumb, View::m_zoomLevel, paneInteractedWith(), ZoomConstraint::RoundDown, ZoomConstraint::RoundUp, View::setCentreFrame(), and View::setZoomLevel().
| void Pane::resizeEvent | ( | QResizeEvent * | e | ) | [protected, vi |