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 | drawXScopeSpanFeatures () |
virtual void | drawYScopeSpanFeatures () |
virtual void | calculateDragDeltas () |
virtual bool | isVerticalDisplacementAboveThreshold () |
virtual void | drawSelectionRectangleAndPrepareZoom (bool as_line_segment=false, bool for_integration=false) |
virtual void | updateIntegrationScopeDrawing (bool as_line_segment=false, bool for_integration=false) |
virtual void | resetSelectionRectangle () |
virtual void | hideSelectionRectangle (bool reset_values=false) |
virtual bool | isSelectionRectangleVisible () |
virtual SelectionDrawingLines | 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 | updateIntegrationScope (bool for_integration=false) |
virtual void | updateIntegrationScopeRect (bool for_integration=false) |
virtual void | updateIntegrationScopeHorizontalRhomb (bool for_integration=false) |
virtual void | updateIntegrationScopeVerticalRhomb (bool for_integration=false) |
virtual void | updateIntegrationScopeRhomb (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 83 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 1679 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 2167 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 2108 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 2052 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_wasClickOnXAxis, pappso::BasePlotContext::m_xDelta, pappso::BasePlotContext::m_yDelta, plotRangesChangedSignal(), and updateContextXandYAxisRanges().
Referenced by mouseMoveHandlerLeftButtonDraggingCursor().
|
virtual |
Reimplemented in pappso::BaseTracePlotWidget.
Definition at line 2143 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 2591 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 221 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 817 of file baseplotwidget.cpp.
References horizontalMoveMouseCursorCountPixels(), m_context, pappso::BasePlotContext::m_keyboardModifiers, and verticalMoveMouseCursorCountPixels().
Referenced by keyPressEvent().
|
virtual |
Definition at line 859 of file baseplotwidget.cpp.
Referenced by keyReleaseEvent().
int pappso::BasePlotWidget::dragDirection | ( | ) |
MOUSE-related EVENTS.
MOUSE MOVEMENTS mouse/keyboard-triggered
Definition at line 1784 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_currentDragPoint, and pappso::BasePlotContext::m_startDragPoint.
|
virtual |
Definition at line 2310 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_isMeasuringDistance, mp_xDeltaTextItem, mp_yDeltaTextItem, updateIntegrationScopeDrawing(), and xAxisMeasurementSignal().
Referenced by mouseMoveHandlerLeftButtonDraggingCursor(), and mouseMoveHandlerRightButtonDraggingCursor().
|
virtual |
Definition at line 2343 of file baseplotwidget.cpp.
References pappso::BOTTOM_TO_TOP, m_context, pappso::BasePlotContext::m_dragDirections, pappso::BasePlotContext::m_isMeasuringDistance, pappso::BasePlotContext::m_xDelta, mp_hPosTracerItem, mp_vPosTracerItem, mp_xDeltaTextItem, pappso::BasePlotContext::msp_integrationScope, xAxisMeasurementSignal(), and pappso::Utils::zeroDecimalsInValue().
Referenced by mouseMoveHandlerLeftButtonDraggingCursor(), mouseMoveHandlerRightButtonDraggingCursor(), and updateIntegrationScopeDrawing().
|
virtual |
Definition at line 2485 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_dragDirections, pappso::BasePlotContext::m_isMeasuringDistance, pappso::BasePlotContext::m_yDelta, mp_hPosTracerItem, mp_vPosTracerItem, mp_yDeltaTextItem, pappso::BasePlotContext::msp_integrationScope, pappso::RIGHT_TO_LEFT, xAxisMeasurementSignal(), and pappso::Utils::zeroDecimalsInValue().
Referenced by mouseMoveHandlerLeftButtonDraggingCursor(), and mouseMoveHandlerRightButtonDraggingCursor().
|
virtual |
Definition at line 3336 of file baseplotwidget.cpp.
References m_context.
|
virtual |
Definition at line 2017 of file baseplotwidget.cpp.
References getRange(), pappso::innermost, and pappso::x.
|
virtual |
Definition at line 2032 of file baseplotwidget.cpp.
References getRange(), pappso::innermost, and pappso::y.
|
virtual |
Definition at line 2025 of file baseplotwidget.cpp.
References getRange(), pappso::outermost, and pappso::x.
|
virtual |
Definition at line 2040 of file baseplotwidget.cpp.
References getRange(), pappso::outermost, and pappso::y.
|
virtual |
|
virtual |
Reimplemented in pappso::BaseColorMapPlotWidget.
Definition at line 458 of file baseplotwidget.cpp.
References getPlottingColor().
|
virtual |
Definition at line 448 of file baseplotwidget.cpp.
Referenced by getPlottingColor().
QCPRange pappso::BasePlotWidget::getRange | ( | Axis | axis, |
RangeType | range_type, | ||
bool & | found_range ) const |
Definition at line 1925 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 1901 of file baseplotwidget.cpp.
|
virtual |
Definition at line 1913 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 2260 of file baseplotwidget.cpp.
References hideSelectionRectangle(), mp_xDeltaTextItem, and mp_yDeltaTextItem.
Referenced by restoreAxesRangeHistory().
|
virtual |
Definition at line 3202 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 2294 of file baseplotwidget.cpp.
References m_shouldTracersBeVisible, mp_hPosTracerItem, mp_vEndTracerItem, mp_vPosTracerItem, and mp_vStartTracerItem.
Referenced by keyReleaseEvent().
|
virtual |
Definition at line 1848 of file baseplotwidget.cpp.
References m_context, and pappso::BasePlotContext::m_lastCursorHoveredPoint.
Referenced by horizontalMoveMouseCursorCountPixels().
|
virtual |
Definition at line 1832 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 1728 of file baseplotwidget.cpp.
Referenced by mousePressHandler().
bool pappso::BasePlotWidget::isClickOntoYAxis | ( | const QPointF & | mousePoint | ) |
Definition at line 1754 of file baseplotwidget.cpp.
Referenced by mousePressHandler().
|
virtual |
Definition at line 3268 of file baseplotwidget.cpp.
References mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, and mp_selectionRectangeLine4.
|
virtual |
Definition at line 2612 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_currentDragPoint, and pappso::BasePlotContext::m_startDragPoint.
Referenced by keyReleaseEvent(), 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 619 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 648 of file baseplotwidget.cpp.
References directionKeyReleaseEvent(), hideTracers(), isVerticalDisplacementAboveThreshold(), keyReleaseEventSignal(), m_context, pappso::BasePlotContext::m_currentDragPoint, pappso::BasePlotContext::m_integrationScopeRhombHeight, pappso::BasePlotContext::m_integrationScopeRhombWidth, pappso::BasePlotContext::m_keyboardModifiers, m_leftMousePseudoButtonKey, pappso::BasePlotContext::m_pressedKeyCode, pappso::BasePlotContext::m_releasedKeyCode, m_rightMousePseudoButtonKey, 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 942 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 1054 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 1134 of file baseplotwidget.cpp.
References axisPan(), axisRescale(), drawSelectionRectangleAndPrepareZoom(), drawXScopeSpanFeatures(), drawYScopeSpanFeatures(), 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 990 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 1268 of file baseplotwidget.cpp.
References drawSelectionRectangleAndPrepareZoom(), drawXScopeSpanFeatures(), drawYScopeSpanFeatures(), 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 1320 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 867 of file baseplotwidget.cpp.
Referenced by keyPressEvent().
|
virtual |
Definition at line 875 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 |
Referenced by mouseReleaseHandler().
|
virtual |
Reimplemented in pappso::DriftSpecMassSpecColorMapPlotWidget, pappso::DriftSpecTracePlotWidget, pappso::MassSpecTracePlotWidget, pappso::TicXicChromDriftSpecColorMapPlotWidget, pappso::TicXicChromMassSpecColorMapPlotWidget, and pappso::TicXicChromTracePlotWidget.
Definition at line 1435 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, mouseReleaseEventSignal(), 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 1540 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 1619 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 1658 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 1812 of file baseplotwidget.cpp.
References moveMouseCursorPixelCoordToGlobal().
|
virtual |
Definition at line 1824 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 3300 of file baseplotwidget.cpp.
References m_focusedBrush, and m_unfocusedBrush.
|
virtual |
Definition at line 2207 of file baseplotwidget.cpp.
|
virtual |
Definition at line 2233 of file baseplotwidget.cpp.
|
virtual |
Definition at line 2244 of file baseplotwidget.cpp.
|
virtual |
Definition at line 485 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 3217 of file baseplotwidget.cpp.
References m_context, and pappso::BasePlotContext::msp_integrationScope.
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 562 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 534 of file baseplotwidget.cpp.
References m_lastAxisRangeHistoryIndex, and restoreAxesRangeHistory().
Referenced by keyReleaseEvent().
|
virtual |
Definition at line 470 of file baseplotwidget.cpp.
|
virtual |
Definition at line 477 of file baseplotwidget.cpp.
|
virtual |
PLOT ITEMS : TRACER TEXT ITEMS...
Definition at line 3286 of file baseplotwidget.cpp.
References setFocusSignal().
Referenced by mouseMoveHandler(), and mousePressHandler().
|
signal |
Referenced by setFocus().
|
virtual |
|
virtual |
Definition at line 433 of file baseplotwidget.cpp.
References setPlottingColor().
|
virtual |
Reimplemented in pappso::BaseColorMapPlotWidget.
Definition at line 415 of file baseplotwidget.cpp.
Referenced by setPlottingColor().
|
virtual |
Definition at line 343 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 2276 of file baseplotwidget.cpp.
References m_shouldTracersBeVisible, mp_hPosTracerItem, mp_vEndTracerItem, mp_vPosTracerItem, and mp_vStartTracerItem.
Referenced by keyReleaseEvent().
|
virtual |
Definition at line 810 of file baseplotwidget.cpp.
Referenced by keyReleaseEvent().
|
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 512 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 3326 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().
|
protectedvirtual |
Definition at line 2632 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_currentDragPoint, pappso::BasePlotContext::m_startDragPoint, mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, mp_selectionRectangeLine4, and pappso::BasePlotContext::updateIntegrationScope().
Referenced by updateIntegrationScopeDrawing().
|
virtual |
Definition at line 3088 of file baseplotwidget.cpp.
References drawXScopeSpanFeatures(), m_context, pappso::BasePlotContext::m_integrationScopeRhombHeight, pappso::BasePlotContext::m_integrationScopeRhombWidth, pappso::BasePlotContext::m_keyboardModifiers, pappso::BasePlotContext::m_xRegionRangeEnd, pappso::BasePlotContext::m_xRegionRangeStart, pappso::BasePlotContext::m_yRegionRangeEnd, pappso::BasePlotContext::m_yRegionRangeStart, pappso::BasePlotContext::msp_integrationScope, updateIntegrationScope(), updateIntegrationScopeRect(), and updateIntegrationScopeRhomb().
Referenced by drawSelectionRectangleAndPrepareZoom().
|
protectedvirtual |
Definition at line 2776 of file baseplotwidget.cpp.
References pappso::FLAT_ON_X_AXIS, m_context, mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, mp_selectionRectangeLine4, pappso::BasePlotContext::msp_integrationScope, and pappso::RHOMBOID_VERTICAL.
Referenced by updateIntegrationScopeRhomb().
|
protectedvirtual |
Definition at line 2691 of file baseplotwidget.cpp.
References m_context, mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, mp_selectionRectangeLine4, pappso::BasePlotContext::msp_integrationScope, and pappso::BasePlotContext::updateIntegrationScopeRect().
Referenced by updateIntegrationScopeDrawing().
|
protectedvirtual |
Definition at line 3000 of file baseplotwidget.cpp.
References m_context, pappso::BasePlotContext::m_integrationScopeRhombHeight, pappso::BasePlotContext::m_integrationScopeRhombWidth, updateIntegrationScopeHorizontalRhomb(), pappso::BasePlotContext::updateIntegrationScopeRhomb(), and updateIntegrationScopeVerticalRhomb().
Referenced by updateIntegrationScopeDrawing().
|
protectedvirtual |
Definition at line 2885 of file baseplotwidget.cpp.
References pappso::FLAT_ON_Y_AXIS, m_context, mp_selectionRectangeLine1, mp_selectionRectangeLine2, mp_selectionRectangeLine3, mp_selectionRectangeLine4, pappso::BasePlotContext::msp_integrationScope, and pappso::RHOMBOID_HORIZONTAL.
Referenced by updateIntegrationScopeRhomb().
|
virtual |
Definition at line 1881 of file baseplotwidget.cpp.
References m_context, and pappso::BasePlotContext::m_lastCursorHoveredPoint.
Referenced by verticalMoveMouseCursorCountPixels().
|
virtual |
Definition at line 1864 of file baseplotwidget.cpp.
References moveMouseCursorPixelCoordToGlobal(), and verticalGetGraphCoordNewPointCountPixels().
Referenced by directionKeyPressEvent().
|
virtual |
Definition at line 3224 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(), drawXScopeSpanFeatures(), and drawYScopeSpanFeatures().
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 269 of file baseplotwidget.h.
|
protected |
Definition at line 270 of file baseplotwidget.h.
|
protected |
Definition at line 272 of file baseplotwidget.h.
Referenced by pappso::DriftSpecTracePlotWidget::DriftSpecTracePlotWidget(), pappso::MassSpecTracePlotWidget::MassSpecTracePlotWidget(), pappso::MassSpecTracePlotWidget::MassSpecTracePlotWidget(), 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(), drawXScopeSpanFeatures(), drawYScopeSpanFeatures(), 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(), updateContextXandYAxisRanges(), updateIntegrationScope(), updateIntegrationScopeDrawing(), updateIntegrationScopeHorizontalRhomb(), updateIntegrationScopeRect(), updateIntegrationScopeRhomb(), updateIntegrationScopeVerticalRhomb(), and verticalGetGraphCoordNewPointCountPixels().
|
protected |
Description of the plot widget.
Definition at line 264 of file baseplotwidget.h.
|
protected |
The name of the data file from which the mass data were read.
Definition at line 267 of file baseplotwidget.h.
|
protected |
Color used for the background of focused plot.
Definition at line 353 of file baseplotwidget.h.
Referenced by redrawPlotBackground().
|
protected |
Color used for the background of focused plot.
Definition at line 351 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 314 of file baseplotwidget.h.
Referenced by resetAxesRangeHistory(), restorePreviousAxesRangeHistory(), and updateAxesRangeHistory().
|
protected |
Definition at line 274 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 332 of file baseplotwidget.h.
Referenced by mouseMoveHandlerLeftButtonDraggingCursor().
|
protected |
Counter to handle the "fat data" mouse move event handling.
Definition at line 340 of file baseplotwidget.h.
Referenced by mouseMoveHandlerLeftButtonDraggingCursor(), and mouseReleaseHandler().
|
protected |
Name of the plot widget.
Definition at line 261 of file baseplotwidget.h.
|
protected |
Pen used to draw the graph and textual elements in the plot widget.
Definition at line 356 of file baseplotwidget.h.
Referenced by BasePlotWidget(), BasePlotWidget(), createAllAncillaryItems(), getPen(), pappso::BaseTracePlotWidget::setGraphData(), and setPen().
|
protected |
Definition at line 275 of file baseplotwidget.h.
Referenced by keyPressEvent(), keyReleaseEvent(), and mousePseudoButtonKeyReleaseEvent().
|
protected |
Tells if the tracers should be visible.
Definition at line 291 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 348 of file baseplotwidget.h.
Referenced by redrawPlotBackground().
|
protected |
Color used for the background of unfocused plot.
Definition at line 346 of file baseplotwidget.h.
|
protected |
List of x axis ranges occurring during the panning zooming actions.
Definition at line 317 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 320 of file baseplotwidget.h.
Referenced by ~BasePlotWidget(), resetAxesRangeHistory(), restoreAxesRangeHistory(), and updateAxesRangeHistory().
|
protected |
Horizontal position tracer.
Definition at line 294 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), drawXScopeSpanFeatures(), drawYScopeSpanFeatures(), hideTracers(), mouseMoveHandlerDraggingCursor(), mouseMoveHandlerLeftButtonDraggingCursor(), mouseMoveHandlerNotDraggingCursor(), mouseMoveHandlerRightButtonDraggingCursor(), mouseReleaseHandler(), restoreAxesRangeHistory(), and showTracers().
|
protected |
Rectangle defining the borders of zoomed-in/out data.
Definition at line 281 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), hideSelectionRectangle(), isSelectionRectangleVisible(), updateIntegrationScope(), updateIntegrationScopeHorizontalRhomb(), updateIntegrationScopeRect(), updateIntegrationScopeVerticalRhomb(), and whatIsVisibleOfTheSelectionRectangle().
|
protected |
Definition at line 282 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), hideSelectionRectangle(), isSelectionRectangleVisible(), updateIntegrationScope(), updateIntegrationScopeHorizontalRhomb(), updateIntegrationScopeRect(), updateIntegrationScopeVerticalRhomb(), and whatIsVisibleOfTheSelectionRectangle().
|
protected |
Definition at line 283 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), hideSelectionRectangle(), isSelectionRectangleVisible(), updateIntegrationScope(), updateIntegrationScopeHorizontalRhomb(), updateIntegrationScopeRect(), updateIntegrationScopeVerticalRhomb(), and whatIsVisibleOfTheSelectionRectangle().
|
protected |
Definition at line 284 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), hideSelectionRectangle(), isSelectionRectangleVisible(), updateIntegrationScope(), updateIntegrationScopeHorizontalRhomb(), updateIntegrationScopeRect(), updateIntegrationScopeVerticalRhomb(), and whatIsVisibleOfTheSelectionRectangle().
|
protected |
Vertical selection end tracer (typically in red).
Definition at line 303 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), hideTracers(), mouseMoveHandlerDraggingCursor(), mouseMoveHandlerLeftButtonDraggingCursor(), mouseMoveHandlerNotDraggingCursor(), mouseMoveHandlerRightButtonDraggingCursor(), mouseReleaseHandler(), mouseReleaseHandlerRightButton(), restoreAxesRangeHistory(), and showTracers().
|
protected |
Vertical position tracer.
Definition at line 297 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), drawXScopeSpanFeatures(), drawYScopeSpanFeatures(), hideTracers(), mouseMoveHandlerDraggingCursor(), mouseMoveHandlerLeftButtonDraggingCursor(), mouseMoveHandlerNotDraggingCursor(), mouseMoveHandlerRightButtonDraggingCursor(), mouseReleaseHandler(), restoreAxesRangeHistory(), and showTracers().
|
protected |
Vertical selection start tracer (typically in green).
Definition at line 300 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 287 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), drawSelectionRectangleAndPrepareZoom(), drawXScopeSpanFeatures(), hideAllPlotItems(), mouseReleaseHandler(), and mouseReleaseHandlerRightButton().
|
protected |
Definition at line 288 of file baseplotwidget.h.
Referenced by createAllAncillaryItems(), drawSelectionRectangleAndPrepareZoom(), drawYScopeSpanFeatures(), hideAllPlotItems(), mouseReleaseHandler(), and mouseReleaseHandlerRightButton().