libpappsomspp
Library for mass spectrometry
|
#include <baseplotwidget.h>
Signals | |
void | setFocusSignal () |
void | lastCursorHoveredPointSignal (const QPointF &pointf) |
void | plotRangesChangedSignal (const BasePlotContext &context) |
void | xAxisMeasurementSignal (const BasePlotContext &context, bool with_delta) |
void | keyPressEventSignal (const BasePlotContext &context) |
void | keyReleaseEventSignal (const BasePlotContext &context) |
void | mouseReleaseEventSignal (const BasePlotContext &context) |
void | mouseWheelEventSignal (const BasePlotContext &context) |
void | plottableSelectionChangedSignal (QCPAbstractPlottable *plottable_p, bool selected) |
void | integrationRequestedSignal (const BasePlotContext &context) |
void | plottableDestructionRequestedSignal (BasePlotWidget *base_plot_widget_p, QCPAbstractPlottable *plottable_p, const BasePlotContext &context) |
Public Member Functions | |
BasePlotWidget (QWidget *parent) | |
BasePlotWidget (QWidget *parent, const QString &x_axis_label, const QString &y_axis_label) | |
virtual | ~BasePlotWidget () |
Destruct this BasePlotWidget instance. | |
virtual bool | setupWidget () |
virtual void | setPen (const QPen &pen) |
virtual const QPen & | getPen () const |
virtual void | setPlottingColor (QCPAbstractPlottable *plottable_p, const QColor &new_color) |
virtual void | setPlottingColor (int index, const QColor &new_color) |
virtual QColor | getPlottingColor (QCPAbstractPlottable *plottable_p) const |
virtual QColor | getPlottingColor (int index=0) const |
virtual void | setAxisLabelX (const QString &label) |
virtual void | setAxisLabelY (const QString &label) |
virtual void | resetAxesRangeHistory () |
virtual void | updateAxesRangeHistory () |
Create new axis range history items and append them to the history. | |
virtual void | restorePreviousAxesRangeHistory () |
Go up one history element in the axis history. | |
virtual void | restoreAxesRangeHistory (std::size_t index) |
Get the axis histories at index index and update the plot ranges. | |
virtual void | keyPressEvent (QKeyEvent *event) |
KEYBOARD-related EVENTS. | |
virtual void | keyReleaseEvent (QKeyEvent *event) |
Handle specific key codes and trigger respective actions. | |
virtual void | spaceKeyReleaseEvent (QKeyEvent *event) |
virtual void | directionKeyPressEvent (QKeyEvent *event) |
virtual void | directionKeyReleaseEvent (QKeyEvent *event) |
virtual void | mousePseudoButtonKeyPressEvent (QKeyEvent *event) |
virtual void | mousePseudoButtonKeyReleaseEvent (QKeyEvent *event) |
virtual void | mousePressHandler (QMouseEvent *event) |
KEYBOARD-related EVENTS. | |
virtual void | mouseReleaseHandler (QMouseEvent *event) |
virtual void | mouseReleaseHandlerLeftButton () |
virtual void | mouseReleaseHandlerRightButton () |
virtual void | mouseWheelHandler (QWheelEvent *event) |
virtual void | mouseMoveHandler (QMouseEvent *event) |
KEYBOARD-related EVENTS. | |
virtual void | mouseMoveHandlerNotDraggingCursor () |
virtual void | mouseMoveHandlerDraggingCursor () |
virtual void | mouseMoveHandlerLeftButtonDraggingCursor () |
virtual void | mouseMoveHandlerRightButtonDraggingCursor () |
virtual void | axisDoubleClickHandler (QCPAxis *axis, QCPAxis::SelectablePart part, QMouseEvent *event) |
bool | isClickOntoXAxis (const QPointF &mousePoint) |
bool | isClickOntoYAxis (const QPointF &mousePoint) |
int | dragDirection () |
MOUSE-related EVENTS. | |
virtual void | moveMouseCursorGraphCoordToGlobal (QPointF plot_coordinates) |
virtual void | moveMouseCursorPixelCoordToGlobal (QPointF local_coordinates) |
virtual void | horizontalMoveMouseCursorCountPixels (int pixel_count) |
virtual QPointF | horizontalGetGraphCoordNewPointCountPixels (int pixel_count) |
virtual void | verticalMoveMouseCursorCountPixels (int pixel_count) |
virtual QPointF | verticalGetGraphCoordNewPointCountPixels (int pixel_count) |
virtual QCPRange | getRangeX (bool &found_range, int index) const |
MOUSE MOVEMENTS mouse/keyboard-triggered. | |
virtual QCPRange | getRangeY (bool &found_range, int index) const |
QCPRange | getRange (Axis axis, RangeType range_type, bool &found_range) const |
virtual QCPRange | getInnermostRangeX (bool &found_range) const |
virtual QCPRange | getOutermostRangeX (bool &found_range) const |
virtual QCPRange | getInnermostRangeY (bool &found_range) const |
virtual QCPRange | getOutermostRangeY (bool &found_range) const |
void | yMinMaxOnXAxisCurrentRange (double &min, double &max, QCPAbstractPlottable *plottable_p=nullptr) |
void | yMinMaxOnXAxisCurrentRange (double &min, double &max, int index) |
virtual void | axisRescale () |
RANGE-related functions. | |
virtual void | axisReframe () |
virtual void | axisZoom () |
virtual void | axisPan () |
virtual void | replotWithAxesRanges (QCPRange xAxisRange, QCPRange yAxisRange, Axis axis) |
virtual void | replotWithAxisRangeX (double lower, double upper) |
virtual void | replotWithAxisRangeY (double lower, double upper) |
virtual void | hideAllPlotItems () |
PLOTTING / REPLOTTING functions. | |
virtual void | showTracers () |
Show the traces (vertical and horizontal). | |
virtual void | hideTracers () |
Hide the traces (vertical and horizontal). | |
virtual void | drawXDeltaFeatures () |
virtual void | drawYDeltaFeatures () |
virtual void | calculateDragDeltas () |
virtual bool | isVerticalDisplacementAboveThreshold () |
virtual void | drawSelectionRectangleAndPrepareZoom (bool as_line_segment=false, bool for_integration=false) |
virtual void | updateSelectionRectangle (bool as_line_segment=false, bool for_integration=false) |
virtual void | resetSelectionRectangle () |
virtual void | hideSelectionRectangle (bool reset_values=false) |
virtual bool | isSelectionRectangleVisible () |
virtual PolygonType | whatIsVisibleOfTheSelectionRectangle () |
virtual void | setFocus () |
PLOT ITEMS : TRACER TEXT ITEMS... | |
virtual void | redrawPlotBackground (QWidget *focusedPlotWidget) |
Redraw the background of the focusedPlotWidget plot widget. | |
virtual void | updateContextXandYAxisRanges () |
virtual const BasePlotContext & | getContext () const |
Protected Member Functions | |
virtual void | createAllAncillaryItems () |
virtual void | update1DSelectionRectangle (bool for_integration=false) |
virtual void | update2DSelectionRectangleSquare (bool for_integration=false) |
virtual void | update2DSelectionRectangleSkewed (bool for_integration=false) |
virtual QString | allLayerNamesToString () const |
virtual QString | layerableLayerName (QCPLayerable *layerable_p) const |
virtual int | layerableLayerIndex (QCPLayerable *layerable_p) const |
Protected Attributes | |
QString | m_name = "NOT_SET" |
Name of the plot widget. | |
QString | m_desc = "NOT_SET" |
Description of the plot widget. | |
QString | m_fileName |
The name of the data file from which the mass data were read. | |
QString | m_axisLabelX |
QString | m_axisLabelY |
BasePlotContext | m_context |
int | m_leftMousePseudoButtonKey = Qt::Key_Less |
int | m_rightMousePseudoButtonKey = Qt::Key_Greater |
QCPItemLine * | mp_selectionRectangeLine1 = nullptr |
Rectangle defining the borders of zoomed-in/out data. | |
QCPItemLine * | mp_selectionRectangeLine2 = nullptr |
QCPItemLine * | mp_selectionRectangeLine3 = nullptr |
QCPItemLine * | mp_selectionRectangeLine4 = nullptr |
QCPItemText * | mp_xDeltaTextItem = nullptr |
Text describing the x-axis delta value during a drag operation. | |
QCPItemText * | mp_yDeltaTextItem = nullptr |
bool | m_shouldTracersBeVisible = true |
Tells if the tracers should be visible. | |
QCPItemLine * | mp_hPosTracerItem = nullptr |
Horizontal position tracer. | |
QCPItemLine * | mp_vPosTracerItem = nullptr |
Vertical position tracer. | |
QCPItemLine * | mp_vStartTracerItem = nullptr |
Vertical selection start tracer (typically in green). | |
QCPItemLine * | mp_vEndTracerItem = nullptr |
Vertical selection end tracer (typically in red). | |
std::size_t | m_lastAxisRangeHistoryIndex = 0 |
Index of the last axis range history item. | |
std::vector< QCPRange * > | m_xAxisRangeHistory |
List of x axis ranges occurring during the panning zooming actions. | |
std::vector< QCPRange * > | m_yAxisRangeHistory |
List of y axis ranges occurring during the panning zooming actions. | |
int | m_mouseMoveHandlerSkipAmount = 10 |
How many mouse move events must be skipped */. | |
int | m_mouseMoveHandlerSkipCount = 0 |
Counter to handle the "fat data" mouse move event handling. | |
QColor | m_unfocusedColor = QColor("lightgray") |
Color used for the background of unfocused plot. | |
QBrush | m_unfocusedBrush = QBrush(m_unfocusedColor) |
Color used for the background of unfocused plot. | |
QColor | m_focusedColor = QColor(Qt::transparent) |
Color used for the background of focused plot. | |
QBrush | m_focusedBrush = QBrush(m_focusedColor) |
Color used for the background of focused plot. | |
QPen | m_pen |
Pen used to draw the graph and textual elements in the plot widget. | |
Definition at line 66 of file baseplotwidget.h.
|
explicit |
Definition at line 50 of file baseplotwidget.cpp.
References m_pen, and setupWidget().
|
explicit |
Definition at line 111 of file baseplotwidget.cpp.
References m_pen, and setupWidget().
|
virtual |
Destruct this
BasePlotWidget instance.
The destruction involves clearing the history, deleting all the axis range history items for x and y axes.
Definition at line 163 of file baseplotwidget.cpp.
References m_xAxisRangeHistory, and m_yAxisRangeHistory.
|
protectedvirtual |
Definition at line 176 of file baseplotwidget.cpp.
|
virtual |
Reimplemented in pappso::BaseTracePlotWidget.
Definition at line 1658 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_keyboardModifiers, pappso::BasePlotContext::m_pressedMouseButtons, plotRangesChangedSignal(), resetAxesRangeHistory(), updateAxesRangeHistory(), and updateContextXandYAxisRanges().
Referenced by setupWidget().
|
virtual |
Reimplemented in pappso::BaseTracePlotWidget.
Definition at line 2176 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_wasClickOnXAxis, pappso::BasePlotContext::m_wasClickOnYAxis, pappso::BasePlotContext::m_xDelta, pappso::BasePlotContext::m_xRange, pappso::BasePlotContext::m_yDelta, pappso::BasePlotContext::m_yRange, plotRangesChangedSignal(), and updateContextXandYAxisRanges().
Referenced by mouseMoveHandlerLeftButtonDraggingCursor().
|
virtual |
Reimplemented in pappso::BaseTracePlotWidget.
Definition at line 2118 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_xRegionRangeEnd, pappso::BasePlotContext::m_xRegionRangeStart, pappso::BasePlotContext::m_yRegionRangeEnd, pappso::BasePlotContext::m_yRegionRangeStart, plotRangesChangedSignal(), updateAxesRangeHistory(), and updateContextXandYAxisRanges().
Referenced by mouseReleaseHandlerLeftButton().
|
virtual |
RANGE-related functions.
PLOTTING / REPLOTTING functions
Reimplemented in pappso::BaseTracePlotWidget.
Definition at line 2033 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_currentDragPoint, pappso::BasePlotContext::m_startDragPoint, pappso::BasePlotContext::m_wasClickOnXAxis, plotRangesChangedSignal(), and updateContextXandYAxisRanges().
Referenced by mouseMoveHandlerLeftButtonDraggingCursor().
|
virtual |
Reimplemented in pappso::BaseTracePlotWidget.
Definition at line 2152 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_xRegionRangeEnd, pappso::BasePlotContext::m_xRegionRangeStart, pappso::BasePlotContext::m_yRegionRangeEnd, pappso::BasePlotContext::m_yRegionRangeStart, plotRangesChangedSignal(), updateAxesRangeHistory(), and updateContextXandYAxisRanges().
Referenced by mouseReleaseHandlerLeftButton().
|
virtual |
Definition at line 2536 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_currentDragPoint, pappso::BasePlotContext::m_startDragPoint, pappso::BasePlotContext::m_xDelta, and pappso::BasePlotContext::m_yDelta.
Referenced by mouseMoveHandlerDraggingCursor().
|
protectedvirtual |
Definition at line 222 of file baseplotwidget.cpp.
References m_pen, mp_hPosTracerItem, mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, mp_selectionRectangeLine4, mp_vEndTracerItem, mp_vPosTracerItem, mp_vStartTracerItem, mp_xDeltaTextItem, and mp_yDeltaTextItem.
Referenced by pappso::BaseTracePlotWidget::BaseTracePlotWidget(), pappso::BaseTracePlotWidget::BaseTracePlotWidget(), pappso::BaseColorMapPlotWidget::addColorMap(), and pappso::BaseColorMapPlotWidget::addColorMap().
|
virtual |
Definition at line 789 of file baseplotwidget.cpp.
References horizontalMoveMouseCursorCountPixels(), m_context, pappso::BasePlotContext::m_keyboardModifiers, and verticalMoveMouseCursorCountPixels().
Referenced by keyPressEvent().
|
virtual |
Definition at line 832 of file baseplotwidget.cpp.
Referenced by keyReleaseEvent().
int pappso::BasePlotWidget::dragDirection | ( | ) |
MOUSE-related EVENTS.
MOUSE MOVEMENTS mouse/keyboard-triggered
Definition at line 1765 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_currentDragPoint, and pappso::BasePlotContext::m_startDragPoint.
|
virtual |
Definition at line 2319 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_isMeasuringDistance, mp_xDeltaTextItem, mp_yDeltaTextItem, updateSelectionRectangle(), and xAxisMeasurementSignal().
Referenced by mouseMoveHandlerLeftButtonDraggingCursor(), and mouseMoveHandlerRightButtonDraggingCursor().
|
virtual |
Definition at line 2352 of file baseplotwidget.cpp.
References pappso::SelectionPolygon::getLeftMostPoint(), pappso::SelectionPolygon::getRightMostPoint(), m_context, pappso::BasePlotContext::m_currentDragPoint, pappso::BasePlotContext::m_dragDirections, pappso::BasePlotContext::m_isMeasuringDistance, pappso::BasePlotContext::m_selectionPolygon, pappso::BasePlotContext::m_xDelta, mp_hPosTracerItem, mp_vPosTracerItem, mp_xDeltaTextItem, pappso::TOP_TO_BOTTOM, xAxisMeasurementSignal(), and pappso::Utils::zeroDecimalsInValue().
Referenced by mouseMoveHandlerLeftButtonDraggingCursor(), mouseMoveHandlerRightButtonDraggingCursor(), and updateSelectionRectangle().
|
virtual |
Definition at line 2478 of file baseplotwidget.cpp.
References pappso::SelectionPolygon::getBottomMostPoint(), pappso::SelectionPolygon::getLeftMostPoint(), pappso::SelectionPolygon::getRightMostPoint(), pappso::SelectionPolygon::getTopMostPoint(), pappso::SelectionPolygon::is1D(), m_context, pappso::BasePlotContext::m_isMeasuringDistance, pappso::BasePlotContext::m_selectionPolygon, pappso::BasePlotContext::m_yDelta, mp_hPosTracerItem, mp_vPosTracerItem, mp_yDeltaTextItem, and xAxisMeasurementSignal().
Referenced by mouseMoveHandlerLeftButtonDraggingCursor(), and mouseMoveHandlerRightButtonDraggingCursor().
|
virtual |
Definition at line 3287 of file baseplotwidget.cpp.
References m_context.
|
virtual |
Definition at line 1998 of file baseplotwidget.cpp.
References getRange(), pappso::innermost, and pappso::x.
|
virtual |
Definition at line 2013 of file baseplotwidget.cpp.
References getRange(), pappso::innermost, and pappso::y.
|
virtual |
Definition at line 2006 of file baseplotwidget.cpp.
References getRange(), pappso::outermost, and pappso::x.
|
virtual |
Definition at line 2021 of file baseplotwidget.cpp.
References getRange(), pappso::outermost, and pappso::y.
|
virtual |
|
virtual |
Reimplemented in pappso::BaseColorMapPlotWidget.
Definition at line 459 of file baseplotwidget.cpp.
References getPlottingColor().
|
virtual |
Definition at line 449 of file baseplotwidget.cpp.
Referenced by getPlottingColor().
QCPRange pappso::BasePlotWidget::getRange | ( | Axis | axis, |
RangeType | range_type, | ||
bool & | found_range | ||
) | const |
Definition at line 1906 of file baseplotwidget.cpp.
References pappso::innermost, pappso::outermost, pappso::x, and pappso::y.
Referenced by getInnermostRangeX(), getInnermostRangeY(), getOutermostRangeX(), and getOutermostRangeY().
|
virtual |
MOUSE MOVEMENTS mouse/keyboard-triggered.
RANGE-related functions
Definition at line 1882 of file baseplotwidget.cpp.
|
virtual |
Definition at line 1894 of file baseplotwidget.cpp.
|
virtual |
PLOTTING / REPLOTTING functions.
PLOT ITEMS : TRACER TEXT ITEMS...
PLOT ITEMS : TRACER TEXT ITEMS... Hide the selection line, the xDelta text and the zoom rectangle items.
Definition at line 2269 of file baseplotwidget.cpp.
References hideSelectionRectangle(), mp_xDeltaTextItem, and mp_yDeltaTextItem.
Referenced by restoreAxesRangeHistory().
|
virtual |
Definition at line 3162 of file baseplotwidget.cpp.
References mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, mp_selectionRectangeLine4, and resetSelectionRectangle().
Referenced by hideAllPlotItems(), mouseReleaseHandlerLeftButton(), and mouseReleaseHandlerRightButton().
|
virtual |
Hide the traces (vertical and horizontal).
Definition at line 2303 of file baseplotwidget.cpp.
References m_shouldTracersBeVisible, mp_hPosTracerItem, mp_vEndTracerItem, mp_vPosTracerItem, and mp_vStartTracerItem.
Referenced by keyReleaseEvent().
|
virtual |
Definition at line 1829 of file baseplotwidget.cpp.
References m_context, and pappso::BasePlotContext::m_lastCursorHoveredPoint.
Referenced by horizontalMoveMouseCursorCountPixels().
|
virtual |
Definition at line 1813 of file baseplotwidget.cpp.
References horizontalGetGraphCoordNewPointCountPixels(), and moveMouseCursorPixelCoordToGlobal().
Referenced by directionKeyPressEvent().
|
signal |
Referenced by mouseReleaseHandlerRightButton().
bool pappso::BasePlotWidget::isClickOntoXAxis | ( | const QPointF & | mousePoint | ) |
Definition at line 1707 of file baseplotwidget.cpp.
Referenced by mousePressHandler().
bool pappso::BasePlotWidget::isClickOntoYAxis | ( | const QPointF & | mousePoint | ) |
Definition at line 1734 of file baseplotwidget.cpp.
Referenced by mousePressHandler().
|
virtual |
Definition at line 3219 of file baseplotwidget.cpp.
References mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, and mp_selectionRectangeLine4.
|
virtual |
Definition at line 2560 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_currentDragPoint, and pappso::BasePlotContext::m_startDragPoint.
Referenced by mouseMoveHandlerLeftButtonDraggingCursor(), and mouseMoveHandlerRightButtonDraggingCursor().
|
virtual |
KEYBOARD-related EVENTS.
Reimplemented in pappso::DriftSpecMassSpecColorMapPlotWidget, pappso::DriftSpecTracePlotWidget, pappso::MassSpecTracePlotWidget, pappso::TicXicChromDriftSpecColorMapPlotWidget, pappso::TicXicChromMassSpecColorMapPlotWidget, and pappso::TicXicChromTracePlotWidget.
Definition at line 620 of file baseplotwidget.cpp.
References directionKeyPressEvent(), m_context, pappso::BasePlotContext::m_keyboardModifiers, m_leftMousePseudoButtonKey, pappso::BasePlotContext::m_pressedKeyCode, m_rightMousePseudoButtonKey, and mousePseudoButtonKeyPressEvent().
Referenced by pappso::DriftSpecMassSpecColorMapPlotWidget::keyPressEvent(), pappso::DriftSpecTracePlotWidget::keyPressEvent(), pappso::MassSpecTracePlotWidget::keyPressEvent(), pappso::TicXicChromDriftSpecColorMapPlotWidget::keyPressEvent(), pappso::TicXicChromMassSpecColorMapPlotWidget::keyPressEvent(), and pappso::TicXicChromTracePlotWidget::keyPressEvent().
|
signal |
|
virtual |
Handle specific key codes and trigger respective actions.
Reimplemented in pappso::DriftSpecMassSpecColorMapPlotWidget, pappso::DriftSpecTracePlotWidget, pappso::MassSpecTracePlotWidget, pappso::TicXicChromDriftSpecColorMapPlotWidget, pappso::TicXicChromMassSpecColorMapPlotWidget, and pappso::TicXicChromTracePlotWidget.
Definition at line 649 of file baseplotwidget.cpp.
References directionKeyReleaseEvent(), hideTracers(), keyReleaseEventSignal(), m_context, pappso::BasePlotContext::m_currentDragPoint, pappso::BasePlotContext::m_keyboardModifiers, m_leftMousePseudoButtonKey, pappso::BasePlotContext::m_pressedKeyCode, pappso::BasePlotContext::m_releasedKeyCode, m_rightMousePseudoButtonKey, pappso::BasePlotContext::m_selectRectangleWidth, m_shouldTracersBeVisible, pappso::BasePlotContext::m_startDragPoint, mousePseudoButtonKeyReleaseEvent(), plottableDestructionRequestedSignal(), restorePreviousAxesRangeHistory(), showTracers(), and spaceKeyReleaseEvent().
Referenced by pappso::DriftSpecMassSpecColorMapPlotWidget::keyReleaseEvent(), pappso::DriftSpecTracePlotWidget::keyReleaseEvent(), pappso::MassSpecTracePlotWidget::keyReleaseEvent(), pappso::TicXicChromDriftSpecColorMapPlotWidget::keyReleaseEvent(), pappso::TicXicChromMassSpecColorMapPlotWidget::keyReleaseEvent(), and pappso::TicXicChromTracePlotWidget::keyReleaseEvent().
|
signal |
Referenced by keyReleaseEvent().
|
signal |
Referenced by mouseMoveHandlerNotDraggingCursor().
|
protectedvirtual |
Definition at line 204 of file baseplotwidget.cpp.
|
protectedvirtual |
Definition at line 192 of file baseplotwidget.cpp.
|
virtual |
KEYBOARD-related EVENTS.
MOUSE-related EVENTS
Reimplemented in pappso::DriftSpecMassSpecColorMapPlotWidget, pappso::DriftSpecTracePlotWidget, pappso::MassSpecTracePlotWidget, pappso::TicXicChromDriftSpecColorMapPlotWidget, pappso::TicXicChromMassSpecColorMapPlotWidget, and pappso::TicXicChromTracePlotWidget.
Definition at line 915 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_lastCursorHoveredPoint, pappso::BasePlotContext::m_pressedMouseButtons, mouseMoveHandlerDraggingCursor(), mouseMoveHandlerNotDraggingCursor(), and setFocus().
Referenced by pappso::DriftSpecMassSpecColorMapPlotWidget::mouseMoveHandler(), pappso::DriftSpecTracePlotWidget::mouseMoveHandler(), pappso::MassSpecTracePlotWidget::mouseMoveHandler(), pappso::TicXicChromDriftSpecColorMapPlotWidget::mouseMoveHandler(), pappso::TicXicChromMassSpecColorMapPlotWidget::mouseMoveHandler(), pappso::TicXicChromTracePlotWidget::mouseMoveHandler(), and setupWidget().
|
virtual |
Reimplemented in pappso::DriftSpecMassSpecColorMapPlotWidget, pappso::DriftSpecTracePlotWidget, pappso::MassSpecTracePlotWidget, pappso::TicXicChromDriftSpecColorMapPlotWidget, pappso::TicXicChromMassSpecColorMapPlotWidget, and pappso::TicXicChromTracePlotWidget.
Definition at line 1027 of file baseplotwidget.cpp.
References calculateDragDeltas(), m_context, pappso::BasePlotContext::m_currentDragPoint, pappso::BasePlotContext::m_isMouseDragging, pappso::BasePlotContext::m_keyboardModifiers, pappso::BasePlotContext::m_lastCursorHoveredPoint, pappso::BasePlotContext::m_mouseButtonsAtMousePress, m_shouldTracersBeVisible, pappso::BasePlotContext::m_wasClickOnXAxis, pappso::BasePlotContext::m_wasClickOnYAxis, mouseMoveHandlerLeftButtonDraggingCursor(), mouseMoveHandlerRightButtonDraggingCursor(), mp_hPosTracerItem, mp_vEndTracerItem, mp_vPosTracerItem, mp_vStartTracerItem, and pappso::BasePlotContext::recordDragDirections().
Referenced by mouseMoveHandler(), pappso::DriftSpecMassSpecColorMapPlotWidget::mouseMoveHandlerDraggingCursor(), pappso::DriftSpecTracePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::MassSpecTracePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::TicXicChromDriftSpecColorMapPlotWidget::mouseMoveHandlerDraggingCursor(), pappso::TicXicChromMassSpecColorMapPlotWidget::mouseMoveHandlerDraggingCursor(), and pappso::TicXicChromTracePlotWidget::mouseMoveHandlerDraggingCursor().
|
virtual |
Definition at line 1107 of file baseplotwidget.cpp.
References axisPan(), axisRescale(), drawSelectionRectangleAndPrepareZoom(), drawXDeltaFeatures(), drawYDeltaFeatures(), isVerticalDisplacementAboveThreshold(), m_context, pappso::BasePlotContext::m_isMeasuringDistance, pappso::BasePlotContext::m_keyboardModifiers, m_mouseMoveHandlerSkipAmount, m_mouseMoveHandlerSkipCount, pappso::BasePlotContext::m_pressedKeyCode, pappso::BasePlotContext::m_wasClickOnXAxis, pappso::BasePlotContext::m_wasClickOnYAxis, mp_hPosTracerItem, mp_vEndTracerItem, mp_vPosTracerItem, and mp_vStartTracerItem.
Referenced by mouseMoveHandlerDraggingCursor().
|
virtual |
Reimplemented in pappso::DriftSpecMassSpecColorMapPlotWidget, pappso::DriftSpecTracePlotWidget, pappso::MassSpecTracePlotWidget, pappso::TicXicChromDriftSpecColorMapPlotWidget, pappso::TicXicChromMassSpecColorMapPlotWidget, and pappso::TicXicChromTracePlotWidget.
Definition at line 963 of file baseplotwidget.cpp.
References lastCursorHoveredPointSignal(), m_context, pappso::BasePlotContext::m_isMouseDragging, pappso::BasePlotContext::m_lastCursorHoveredPoint, m_shouldTracersBeVisible, mp_hPosTracerItem, mp_vEndTracerItem, and mp_vPosTracerItem.
Referenced by mouseMoveHandler(), pappso::DriftSpecMassSpecColorMapPlotWidget::mouseMoveHandlerNotDraggingCursor(), pappso::DriftSpecTracePlotWidget::mouseMoveHandlerNotDraggingCursor(), pappso::MassSpecTracePlotWidget::mouseMoveHandlerNotDraggingCursor(), pappso::TicXicChromDriftSpecColorMapPlotWidget::mouseMoveHandlerNotDraggingCursor(), pappso::TicXicChromMassSpecColorMapPlotWidget::mouseMoveHandlerNotDraggingCursor(), and pappso::TicXicChromTracePlotWidget::mouseMoveHandlerNotDraggingCursor().
|
virtual |
Definition at line 1246 of file baseplotwidget.cpp.
References drawSelectionRectangleAndPrepareZoom(), drawXDeltaFeatures(), drawYDeltaFeatures(), isVerticalDisplacementAboveThreshold(), m_context, pappso::BasePlotContext::m_isMeasuringDistance, mp_hPosTracerItem, mp_vEndTracerItem, mp_vPosTracerItem, and mp_vStartTracerItem.
Referenced by mouseMoveHandlerDraggingCursor().
|
virtual |
KEYBOARD-related EVENTS.
MOUSE-related EVENTS
Reimplemented in pappso::DriftSpecMassSpecColorMapPlotWidget, pappso::DriftSpecTracePlotWidget, pappso::MassSpecTracePlotWidget, pappso::TicXicChromDriftSpecColorMapPlotWidget, pappso::TicXicChromMassSpecColorMapPlotWidget, and pappso::TicXicChromTracePlotWidget.
Definition at line 1300 of file baseplotwidget.cpp.
References isClickOntoXAxis(), isClickOntoYAxis(), m_context, pappso::BasePlotContext::m_lastCursorHoveredPoint, pappso::BasePlotContext::m_lastPressedMouseButton, pappso::BasePlotContext::m_mouseButtonsAtMousePress, pappso::BasePlotContext::m_pressedMouseButtons, m_shouldTracersBeVisible, pappso::BasePlotContext::m_startDragPoint, pappso::BasePlotContext::m_wasClickOnXAxis, pappso::BasePlotContext::m_wasClickOnYAxis, mp_vStartTracerItem, and setFocus().
Referenced by pappso::DriftSpecMassSpecColorMapPlotWidget::mousePressHandler(), pappso::DriftSpecTracePlotWidget::mousePressHandler(), pappso::MassSpecTracePlotWidget::mousePressHandler(), pappso::TicXicChromDriftSpecColorMapPlotWidget::mousePressHandler(), pappso::TicXicChromMassSpecColorMapPlotWidget::mousePressHandler(), pappso::TicXicChromTracePlotWidget::mousePressHandler(), mousePseudoButtonKeyReleaseEvent(), and setupWidget().
|
virtual |
Definition at line 840 of file baseplotwidget.cpp.
Referenced by keyPressEvent().
|
virtual |
Definition at line 848 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_isLeftPseudoButtonKeyPressed, pappso::BasePlotContext::m_isRightPseudoButtonKeyPressed, pappso::BasePlotContext::m_keyboardModifiers, pappso::BasePlotContext::m_lastCursorHoveredPoint, m_leftMousePseudoButtonKey, m_rightMousePseudoButtonKey, mousePressHandler(), and mouseReleaseHandler().
Referenced by keyReleaseEvent().
|
signal |
|
virtual |
Reimplemented in pappso::DriftSpecMassSpecColorMapPlotWidget, pappso::DriftSpecTracePlotWidget, pappso::MassSpecTracePlotWidget, pappso::TicXicChromDriftSpecColorMapPlotWidget, pappso::TicXicChromMassSpecColorMapPlotWidget, and pappso::TicXicChromTracePlotWidget.
Definition at line 1415 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_isMouseDragging, pappso::BasePlotContext::m_keyboardModifiers, pappso::BasePlotContext::m_lastCursorHoveredPoint, pappso::BasePlotContext::m_lastReleasedMouseButton, pappso::BasePlotContext::m_mouseButtonsAtMouseRelease, m_mouseMoveHandlerSkipCount, pappso::BasePlotContext::m_pressedMouseButtons, pappso::BasePlotContext::m_wasMouseDragging, mouseReleaseHandlerLeftButton(), mouseReleaseHandlerRightButton(), mp_hPosTracerItem, mp_vEndTracerItem, mp_vPosTracerItem, mp_xDeltaTextItem, and mp_yDeltaTextItem.
Referenced by mousePseudoButtonKeyReleaseEvent(), pappso::DriftSpecMassSpecColorMapPlotWidget::mouseReleaseHandler(), pappso::DriftSpecTracePlotWidget::mouseReleaseHandler(), pappso::MassSpecTracePlotWidget::mouseReleaseHandler(), pappso::TicXicChromDriftSpecColorMapPlotWidget::mouseReleaseHandler(), pappso::TicXicChromMassSpecColorMapPlotWidget::mouseReleaseHandler(), pappso::TicXicChromTracePlotWidget::mouseReleaseHandler(), and setupWidget().
|
virtual |
Definition at line 1513 of file baseplotwidget.cpp.
References axisReframe(), axisZoom(), pappso::FULL_POLYGON, hideSelectionRectangle(), m_context, pappso::BasePlotContext::m_keyboardModifiers, pappso::BasePlotContext::m_wasClickOnXAxis, pappso::BasePlotContext::m_wasClickOnYAxis, plotRangesChangedSignal(), pappso::TOP_LINE, updateAxesRangeHistory(), and whatIsVisibleOfTheSelectionRectangle().
Referenced by mouseReleaseHandler().
|
virtual |
Definition at line 1598 of file baseplotwidget.cpp.
References hideSelectionRectangle(), integrationRequestedSignal(), m_context, pappso::BasePlotContext::m_currentDragPoint, pappso::BasePlotContext::m_startDragPoint, mp_vEndTracerItem, mp_xDeltaTextItem, and mp_yDeltaTextItem.
Referenced by mouseReleaseHandler().
|
signal |
Referenced by mouseWheelHandler().
|
virtual |
Definition at line 1637 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_xRange, pappso::BasePlotContext::m_yRange, mouseWheelEventSignal(), plotRangesChangedSignal(), and updateAxesRangeHistory().
Referenced by setupWidget().
|
virtual |
Definition at line 1793 of file baseplotwidget.cpp.
References moveMouseCursorPixelCoordToGlobal().
|
virtual |
Definition at line 1805 of file baseplotwidget.cpp.
Referenced by horizontalMoveMouseCursorCountPixels(), moveMouseCursorGraphCoordToGlobal(), and verticalMoveMouseCursorCountPixels().
|
signal |
Referenced by axisDoubleClickHandler(), pappso::BaseTracePlotWidget::axisDoubleClickHandler(), axisPan(), pappso::BaseTracePlotWidget::axisPan(), axisReframe(), pappso::BaseTracePlotWidget::axisReframe(), axisRescale(), pappso::BaseTracePlotWidget::axisRescale(), axisZoom(), pappso::BaseTracePlotWidget::axisZoom(), mouseReleaseHandlerLeftButton(), mouseWheelHandler(), and restoreAxesRangeHistory().
|
signal |
Referenced by keyReleaseEvent().
|
signal |
|
virtual |
Redraw the background of the focusedPlotWidget
plot widget.
Definition at line 3251 of file baseplotwidget.cpp.
References m_focusedBrush, and m_unfocusedBrush.
|
virtual |
Definition at line 2216 of file baseplotwidget.cpp.
|
virtual |
Definition at line 2242 of file baseplotwidget.cpp.
|
virtual |
Definition at line 2253 of file baseplotwidget.cpp.
|
virtual |
Definition at line 486 of file baseplotwidget.cpp.
References m_lastAxisRangeHistoryIndex, m_xAxisRangeHistory, and m_yAxisRangeHistory.
Referenced by pappso::BaseColorMapPlotWidget::addColorMap(), pappso::BaseColorMapPlotWidget::addColorMap(), pappso::BaseTracePlotWidget::addTrace(), axisDoubleClickHandler(), pappso::BaseTracePlotWidget::axisDoubleClickHandler(), pappso::BaseTracePlotWidget::clearGraphData(), and pappso::BaseTracePlotWidget::setGraphData().
|
virtual |
Definition at line 3177 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_selectionPolygon, and pappso::SelectionPolygon::resetPoints().
Referenced by hideSelectionRectangle().
|
virtual |
Get the axis histories at index index
and update the plot ranges.
index | index at which to select the axis history item. |
Definition at line 563 of file baseplotwidget.cpp.
References hideAllPlotItems(), m_context, m_xAxisRangeHistory, m_yAxisRangeHistory, mp_hPosTracerItem, mp_vEndTracerItem, mp_vPosTracerItem, mp_vStartTracerItem, plotRangesChangedSignal(), and updateContextXandYAxisRanges().
Referenced by restorePreviousAxesRangeHistory().
|
virtual |
Go up one history element in the axis history.
If possible, back up one history item in the axis histories and update the plot's x/y-axis ranges to match that history item.
Definition at line 535 of file baseplotwidget.cpp.
References m_lastAxisRangeHistoryIndex, and restoreAxesRangeHistory().
Referenced by keyReleaseEvent().
|
virtual |
Definition at line 471 of file baseplotwidget.cpp.
|
virtual |
Definition at line 478 of file baseplotwidget.cpp.
|
virtual |
PLOT ITEMS : TRACER TEXT ITEMS...
Definition at line 3237 of file baseplotwidget.cpp.
References setFocusSignal().
Referenced by mouseMoveHandler(), and mousePressHandler().
|
signal |
Referenced by setFocus().
|
virtual |
|
virtual |
Definition at line 434 of file baseplotwidget.cpp.
References setPlottingColor().
|
virtual |
Reimplemented in pappso::BaseColorMapPlotWidget.
Definition at line 416 of file baseplotwidget.cpp.
Referenced by setPlottingColor().
|
virtual |
Definition at line 344 of file baseplotwidget.cpp.
References axisDoubleClickHandler(), mouseMoveHandler(), mousePressHandler(), mouseReleaseHandler(), and mouseWheelHandler().
Referenced by BasePlotWidget(), and BasePlotWidget().
|
virtual |
Show the traces (vertical and horizontal).
Definition at line 2285 of file baseplotwidget.cpp.
References m_shouldTracersBeVisible, mp_hPosTracerItem, mp_vEndTracerItem, mp_vPosTracerItem, and mp_vStartTracerItem.
Referenced by keyReleaseEvent().
|
virtual |
Definition at line 782 of file baseplotwidget.cpp.
Referenced by keyReleaseEvent().
|
protectedvirtual |
Definition at line 2582 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_currentDragPoint, pappso::BasePlotContext::m_selectionPolygon, pappso::BasePlotContext::m_startDragPoint, mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, mp_selectionRectangeLine4, and pappso::SelectionPolygon::set1D().
Referenced by updateSelectionRectangle().
|
protectedvirtual |
Definition at line 2835 of file baseplotwidget.cpp.
References pappso::BOTTOM_LEFT_POINT, pappso::BOTTOM_RIGHT_POINT, pappso::SelectionPolygon::getPoint(), m_context, pappso::BasePlotContext::m_currentDragPoint, pappso::BasePlotContext::m_selectionPolygon, pappso::BasePlotContext::m_selectRectangleWidth, pappso::BasePlotContext::m_startDragPoint, mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, mp_selectionRectangeLine4, pappso::SelectionPolygon::resetPoints(), pappso::SelectionPolygon::setPoint(), pappso::TOP_LEFT_POINT, and pappso::TOP_RIGHT_POINT.
Referenced by updateSelectionRectangle().
|
protectedvirtual |
Definition at line 2650 of file baseplotwidget.cpp.
References pappso::BOTTOM_LEFT_POINT, pappso::BOTTOM_RIGHT_POINT, pappso::SelectionPolygon::getPoint(), m_context, pappso::BasePlotContext::m_currentDragPoint, pappso::BasePlotContext::m_selectionPolygon, pappso::BasePlotContext::m_startDragPoint, mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, mp_selectionRectangeLine4, pappso::SelectionPolygon::resetPoints(), pappso::SelectionPolygon::setPoint(), pappso::TOP_LEFT_POINT, and pappso::TOP_RIGHT_POINT.
Referenced by updateSelectionRectangle().
|
virtual |
Create new axis range history items and append them to the history.
The plot widget is queried to get the current x/y-axis ranges and the current ranges are appended to the history for x-axis and for y-axis.
Definition at line 513 of file baseplotwidget.cpp.
References m_lastAxisRangeHistoryIndex, m_xAxisRangeHistory, and m_yAxisRangeHistory.
Referenced by axisDoubleClickHandler(), pappso::BaseTracePlotWidget::axisDoubleClickHandler(), axisReframe(), pappso::BaseTracePlotWidget::axisReframe(), axisZoom(), pappso::BaseTracePlotWidget::axisZoom(), mouseReleaseHandlerLeftButton(), and mouseWheelHandler().
|
virtual |
Definition at line 3277 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_xRange, and pappso::BasePlotContext::m_yRange.
Referenced by axisDoubleClickHandler(), pappso::BaseTracePlotWidget::axisDoubleClickHandler(), axisPan(), pappso::BaseTracePlotWidget::axisPan(), axisReframe(), pappso::BaseTracePlotWidget::axisReframe(), axisRescale(), pappso::BaseTracePlotWidget::axisRescale(), axisZoom(), pappso::BaseTracePlotWidget::axisZoom(), and restoreAxesRangeHistory().
|
virtual |
Definition at line 3097 of file baseplotwidget.cpp.
References drawXDeltaFeatures(), pappso::SelectionPolygon::getBottomMostPoint(), pappso::SelectionPolygon::getLeftMostPoint(), pappso::SelectionPolygon::getRightMostPoint(), pappso::SelectionPolygon::getTopMostPoint(), m_context, pappso::BasePlotContext::m_keyboardModifiers, pappso::BasePlotContext::m_selectionPolygon, pappso::BasePlotContext::m_xRegionRangeEnd, pappso::BasePlotContext::m_xRegionRangeStart, pappso::BasePlotContext::m_yRegionRangeEnd, pappso::BasePlotContext::m_yRegionRangeStart, update1DSelectionRectangle(), update2DSelectionRectangleSkewed(), and update2DSelectionRectangleSquare().
Referenced by drawSelectionRectangleAndPrepareZoom().
|
virtual |
Definition at line 1862 of file baseplotwidget.cpp.
References m_context, and pappso::BasePlotContext::m_lastCursorHoveredPoint.
Referenced by verticalMoveMouseCursorCountPixels().
|
virtual |
Definition at line 1845 of file baseplotwidget.cpp.
References moveMouseCursorPixelCoordToGlobal(), and verticalGetGraphCoordNewPointCountPixels().
Referenced by directionKeyPressEvent().
|
virtual |
Definition at line 3184 of file baseplotwidget.cpp.
References pappso::BOTTOM_LINE, pappso::LEFT_LINE, mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, mp_selectionRectangeLine4, pappso::NOT_SET, pappso::RIGHT_LINE, and pappso::TOP_LINE.
Referenced by mouseReleaseHandlerLeftButton().
|
signal |
Referenced by drawSelectionRectangleAndPrepareZoom(), drawXDeltaFeatures(), and drawYDeltaFeatures().
void pappso::BasePlotWidget::yMinMaxOnXAxisCurrentRange | ( | double & | min, |
double & | max, | ||
int | index | ||
) |
void pappso::BasePlotWidget::yMinMaxOnXAxisCurrentRange | ( | double & | min, |
double & | max, | ||
QCPAbstractPlottable * | plottable_p = nullptr |
||
) |
|
protected |
Definition at line 252 of file baseplotwidget.h.
|
protected |
Definition at line 253 of file baseplotwidget.h.
|
protected |
Definition at line 255 of file baseplotwidget.h.
Referenced by pappso::DriftSpecTracePlotWidget::DriftSpecTracePlotWidget(), pappso::TicXicChromTracePlotWidget::TicXicChromTracePlotWidget(), axisDoubleClickHandler(), pappso::BaseTracePlotWidget::axisDoubleClickHandler(), axisPan(), pappso::BaseTracePlotWidget::axisPan(), axisReframe(), pappso::BaseTracePlotWidget::axisReframe(), axisRescale(), pappso::BaseTracePlotWidget::axisRescale(), axisZoom(), pappso::BaseTracePlotWidget::axisZoom(), calculateDragDeltas(), pappso::BaseColorMapPlotWidget::currentXaxisRangeIndices(), pappso::BaseColorMapPlotWidget::currentYaxisRangeIndices(), directionKeyPressEvent(), dragDirection(), drawSelectionRectangleAndPrepareZoom(), drawXDeltaFeatures(), drawYDeltaFeatures(), getContext(), horizontalGetGraphCoordNewPointCountPixels(), isVerticalDisplacementAboveThreshold(), keyPressEvent(), pappso::DriftSpecTracePlotWidget::keyPressEvent(), pappso::TicXicChromTracePlotWidget::keyPressEvent(), keyReleaseEvent(), mouseMoveHandler(), mouseMoveHandlerDraggingCursor(), mouseMoveHandlerLeftButtonDraggingCursor(), mouseMoveHandlerNotDraggingCursor(), mouseMoveHandlerRightButtonDraggingCursor(), mousePressHandler(), mousePseudoButtonKeyReleaseEvent(), mouseReleaseHandler(), mouseReleaseHandlerLeftButton(), mouseReleaseHandlerRightButton(), mouseWheelHandler(), pappso::MassSpecTracePlotWidget::refreshBaseContext(), resetSelectionRectangle(), restoreAxesRangeHistory(), update1DSelectionRectangle(), update2DSelectionRectangleSkewed(), update2DSelectionRectangleSquare(), updateContextXandYAxisRanges(), updateSelectionRectangle(), and verticalGetGraphCoordNewPointCountPixels().
|
protected |
Description of the plot widget.
Definition at line 247 of file baseplotwidget.h.
|
protected |
The name of the data file from which the mass data were read.
Definition at line 250 of file baseplotwidget.h.
|
protected |
Color used for the background of focused plot.
Definition at line 336 of file baseplotwidget.h.
Referenced by redrawPlotBackground().
|
protected |
Color used for the background of focused plot.
Definition at line 334 of file baseplotwidget.h.
|
protected |
Index of the last axis range history item.
Each time the user modifies the ranges (x/y axis) during panning or zooming of the graph, the new axis ranges are stored in a axis ranges history list. This index allows to point to the last range of that history.
Definition at line 297 of file baseplotwidget.h.
Referenced by resetAxesRangeHistory(), restorePreviousAxesRangeHistory(), and updateAxesRangeHistory().
|
protected |
Definition at line 257 of file baseplotwidget.h.
Referenced by keyPressEvent(), keyReleaseEvent(), and mousePseudoButtonKeyReleaseEvent().
|
protected |
How many mouse move events must be skipped */.
when the data are so massive that the graph panning becomes sluggish. By default, the value is 10 events to be skipped before accounting one. The "fat data" mouse movement handler mechanism is actuated by using a keyboard key combination. There is no automatic shift between normal processing and "fat data" processing.
Definition at line 315 of file baseplotwidget.h.
Referenced by mouseMoveHandlerLeftButtonDraggingCursor().
|
protected |
Counter to handle the "fat data" mouse move event handling.
Definition at line 323 of file baseplotwidget.h.
Referenced by mouseMoveHandlerLeftButtonDraggingCursor(), and mouseReleaseHandler().
|
protected |
Name of the plot widget.
Definition at line 244 of file baseplotwidget.h.
|
protected |
Pen used to draw the graph and textual elements in the plot widget.
Definition at line 339 of file baseplotwidget.h.
Referenced by BasePlotWidget(), BasePlotWidget(), createAllAncillaryItems(), getPen(), pappso::BaseTracePlotWidget::setGraphData(), and setPen().
|
protected |
Definition at line 258 of file baseplotwidget.h.
Referenced by keyPressEvent(), keyReleaseEvent(), and mousePseudoButtonKeyReleaseEvent().
|
protected |
Tells if the tracers should be visible.
Definition at line 274 of file baseplotwidget.h.
Referenced by hideTracers(), keyReleaseEvent(), mouseMoveHandlerDraggingCursor(), mouseMoveHandlerNotDraggingCursor(), mousePressHandler(), and showTracers().
|
protected |
Color used for the background of unfocused plot.
Definition at line 331 of file baseplotwidget.h.
Referenced by redrawPlotBackground().
|
protected |
Color used for the background of unfocused plot.
Definition at line 329 of file baseplotwidget.h.
|
protected |
List of x axis ranges occurring during the panning zooming actions.
Definition at line 300 of file baseplotwidget.h.
Referenced by ~BasePlotWidget(), resetAxesRangeHistory(), restoreAxesRangeHistory(), and updateAxesRangeHistory().
|
protected |
List of y axis ranges occurring during the panning zooming actions.
Definition at line 303 of file baseplotwidget.h.
Referenced by ~BasePlotWidget(), resetAxesRangeHistory(), restoreAxesRangeHistory(), and updateAxesRangeHistory().
|
protected |
Horizontal position tracer.
Definition at line 277 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), drawXDeltaFeatures(), drawYDeltaFeatures(), hideTracers(), mouseMoveHandlerDraggingCursor(), mouseMoveHandlerLeftButtonDraggingCursor(), mouseMoveHandlerNotDraggingCursor(), mouseMoveHandlerRightButtonDraggingCursor(), mouseReleaseHandler(), restoreAxesRangeHistory(), and showTracers().
|
protected |
Rectangle defining the borders of zoomed-in/out data.
Definition at line 264 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), hideSelectionRectangle(), isSelectionRectangleVisible(), update1DSelectionRectangle(), update2DSelectionRectangleSkewed(), update2DSelectionRectangleSquare(), and whatIsVisibleOfTheSelectionRectangle().
|
protected |
Definition at line 265 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), hideSelectionRectangle(), isSelectionRectangleVisible(), update1DSelectionRectangle(), update2DSelectionRectangleSkewed(), update2DSelectionRectangleSquare(), and whatIsVisibleOfTheSelectionRectangle().
|
protected |
Definition at line 266 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), hideSelectionRectangle(), isSelectionRectangleVisible(), update1DSelectionRectangle(), update2DSelectionRectangleSkewed(), update2DSelectionRectangleSquare(), and whatIsVisibleOfTheSelectionRectangle().
|
protected |
Definition at line 267 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), hideSelectionRectangle(), isSelectionRectangleVisible(), update1DSelectionRectangle(), update2DSelectionRectangleSkewed(), update2DSelectionRectangleSquare(), and whatIsVisibleOfTheSelectionRectangle().
|
protected |
Vertical selection end tracer (typically in red).
Definition at line 286 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), hideTracers(), mouseMoveHandlerDraggingCursor(), mouseMoveHandlerLeftButtonDraggingCursor(), mouseMoveHandlerNotDraggingCursor(), mouseMoveHandlerRightButtonDraggingCursor(), mouseReleaseHandler(), mouseReleaseHandlerRightButton(), restoreAxesRangeHistory(), and showTracers().
|
protected |
Vertical position tracer.
Definition at line 280 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), drawXDeltaFeatures(), drawYDeltaFeatures(), hideTracers(), mouseMoveHandlerDraggingCursor(), mouseMoveHandlerLeftButtonDraggingCursor(), mouseMoveHandlerNotDraggingCursor(), mouseMoveHandlerRightButtonDraggingCursor(), mouseReleaseHandler(), restoreAxesRangeHistory(), and showTracers().
|
protected |
Vertical selection start tracer (typically in green).
Definition at line 283 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), hideTracers(), mouseMoveHandlerDraggingCursor(), mouseMoveHandlerLeftButtonDraggingCursor(), mouseMoveHandlerRightButtonDraggingCursor(), mousePressHandler(), restoreAxesRangeHistory(), and showTracers().
|
protected |
Text describing the x-axis delta value during a drag operation.
Definition at line 270 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), drawSelectionRectangleAndPrepareZoom(), drawXDeltaFeatures(), hideAllPlotItems(), mouseReleaseHandler(), and mouseReleaseHandlerRightButton().
|
protected |
Definition at line 271 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), drawSelectionRectangleAndPrepareZoom(), drawYDeltaFeatures(), hideAllPlotItems(), mouseReleaseHandler(), and mouseReleaseHandlerRightButton().