libpappsomspp
Library for mass spectrometry
|
#include <baseplotcontext.h>
Public Member Functions | |
BasePlotContext () | |
BasePlotContext (const BasePlotContext &other) | |
virtual | ~BasePlotContext () |
BasePlotContext & | operator= (const BasePlotContext &other) |
DragDirections | recordDragDirections () |
QString | toString () const |
Definition at line 35 of file baseplotcontext.h.
pappso::BasePlotContext::BasePlotContext | ( | ) |
Definition at line 9 of file baseplotcontext.cpp.
pappso::BasePlotContext::BasePlotContext | ( | const BasePlotContext & | other | ) |
Definition at line 14 of file baseplotcontext.cpp.
References m_currentDragPoint, m_dataKind, m_isKeyBoardDragging, m_isLeftPseudoButtonKeyPressed, m_isMeasuringDistance, m_isMouseDragging, m_isRightPseudoButtonKeyPressed, m_keyboardModifiers, m_lastCursorHoveredPoint, m_lastPressedMouseButton, m_lastReleasedMouseButton, m_mouseButtonsAtMousePress, m_mouseButtonsAtMouseRelease, m_pressedKeyCode, m_pressedMouseButtons, m_releasedKeyCode, m_selectionPolygon, m_selectRectangleWidth, m_startDragPoint, m_wasClickOnXAxis, m_wasClickOnYAxis, m_wasMouseDragging, m_wassKeyBoardDragging, m_xDelta, m_xRange, m_xRegionRangeEnd, m_xRegionRangeStart, m_yDelta, m_yRange, m_yRegionRangeEnd, and m_yRegionRangeStart.
|
virtual |
Definition at line 146 of file baseplotcontext.cpp.
BasePlotContext & pappso::BasePlotContext::operator= | ( | const BasePlotContext & | other | ) |
Definition at line 79 of file baseplotcontext.cpp.
References m_currentDragPoint, m_dataKind, m_isKeyBoardDragging, m_isLeftPseudoButtonKeyPressed, m_isMeasuringDistance, m_isMouseDragging, m_isRightPseudoButtonKeyPressed, m_keyboardModifiers, m_lastCursorHoveredPoint, m_lastPressedMouseButton, m_lastReleasedMouseButton, m_mouseButtonsAtMousePress, m_mouseButtonsAtMouseRelease, m_pressedKeyCode, m_pressedMouseButtons, m_releasedKeyCode, m_selectionPolygon, m_selectRectangleWidth, m_startDragPoint, m_wasClickOnXAxis, m_wasClickOnYAxis, m_wasMouseDragging, m_wassKeyBoardDragging, m_xDelta, m_xRange, m_xRegionRangeEnd, m_xRegionRangeStart, m_yDelta, m_yRange, m_yRegionRangeEnd, and m_yRegionRangeStart.
DragDirections pappso::BasePlotContext::recordDragDirections | ( | ) |
Definition at line 152 of file baseplotcontext.cpp.
References pappso::BOTTOM_TO_TOP, pappso::LEFT_TO_RIGHT, m_currentDragPoint, m_dragDirections, m_startDragPoint, pappso::NOT_SET, pappso::RIGHT_TO_LEFT, and pappso::TOP_TO_BOTTOM.
Referenced by pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor().
QString pappso::BasePlotContext::toString | ( | ) | const |
Definition at line 175 of file baseplotcontext.cpp.
References pappso::BOTTOM_TO_TOP, pappso::LEFT_TO_RIGHT, m_currentDragPoint, m_dataKind, m_dragDirections, m_isMeasuringDistance, m_isMouseDragging, m_keyboardModifiers, m_lastCursorHoveredPoint, m_lastPressedMouseButton, m_lastReleasedMouseButton, m_mouseButtonsAtMousePress, m_mouseButtonsAtMouseRelease, m_pressedKeyCode, m_pressedMouseButtons, m_selectionPolygon, m_startDragPoint, m_wasClickOnXAxis, m_wasClickOnYAxis, m_wasMouseDragging, m_xDelta, m_xRange, m_xRegionRangeEnd, m_xRegionRangeStart, m_yDelta, m_yRange, m_yRegionRangeEnd, m_yRegionRangeStart, pappso::RIGHT_TO_LEFT, pappso::TOP_TO_BOTTOM, and pappso::SelectionPolygon::toString().
Referenced by pappso::MassSpecTracePlotContext::toString().
QPointF pappso::BasePlotContext::m_currentDragPoint |
Definition at line 55 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisRescale(), pappso::BaseTracePlotWidget::axisRescale(), pappso::BasePlotWidget::calculateDragDeltas(), pappso::BasePlotWidget::dragDirection(), pappso::BasePlotWidget::drawXDeltaFeatures(), pappso::BasePlotWidget::isVerticalDisplacementAboveThreshold(), pappso::BasePlotWidget::keyReleaseEvent(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseReleaseHandlerRightButton(), operator=(), pappso::MassSpecTracePlotContext::operator=(), recordDragDirections(), toString(), pappso::BasePlotWidget::update1DSelectionRectangle(), pappso::BasePlotWidget::update2DSelectionRectangleSkewed(), and pappso::BasePlotWidget::update2DSelectionRectangleSquare().
DataKind pappso::BasePlotContext::m_dataKind = DataKind::unset |
Definition at line 44 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::DriftSpecTracePlotWidget::DriftSpecTracePlotWidget(), pappso::MassSpecTracePlotWidget::MassSpecTracePlotWidget(), pappso::TicXicChromTracePlotWidget::TicXicChromTracePlotWidget(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
DragDirections pappso::BasePlotContext::m_dragDirections = DragDirections::NOT_SET |
Definition at line 57 of file baseplotcontext.h.
Referenced by pappso::BasePlotWidget::drawXDeltaFeatures(), recordDragDirections(), and toString().
bool pappso::BasePlotContext::m_isKeyBoardDragging = false |
Definition at line 49 of file baseplotcontext.h.
Referenced by BasePlotContext(), operator=(), and pappso::MassSpecTracePlotContext::operator=().
bool pappso::BasePlotContext::m_isLeftPseudoButtonKeyPressed = false |
Definition at line 50 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::mousePseudoButtonKeyReleaseEvent(), operator=(), and pappso::MassSpecTracePlotContext::operator=().
bool pappso::BasePlotContext::m_isMeasuringDistance = false |
Definition at line 73 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::drawSelectionRectangleAndPrepareZoom(), pappso::BasePlotWidget::drawXDeltaFeatures(), pappso::BasePlotWidget::drawYDeltaFeatures(), pappso::MassSpecTracePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerLeftButtonDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerRightButtonDraggingCursor(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
bool pappso::BasePlotContext::m_isMouseDragging = false |
Definition at line 46 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerNotDraggingCursor(), pappso::BasePlotWidget::mouseReleaseHandler(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
bool pappso::BasePlotContext::m_isRightPseudoButtonKeyPressed = false |
Definition at line 51 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::mousePseudoButtonKeyReleaseEvent(), operator=(), and pappso::MassSpecTracePlotContext::operator=().
Qt::KeyboardModifiers pappso::BasePlotContext::m_keyboardModifiers |
Definition at line 93 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisDoubleClickHandler(), pappso::BaseTracePlotWidget::axisDoubleClickHandler(), pappso::BaseTracePlotWidget::axisPan(), pappso::BaseTracePlotWidget::axisReframe(), pappso::BaseTracePlotWidget::axisRescale(), pappso::BaseTracePlotWidget::axisZoom(), pappso::BasePlotWidget::directionKeyPressEvent(), pappso::BasePlotWidget::keyPressEvent(), pappso::BasePlotWidget::keyReleaseEvent(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerLeftButtonDraggingCursor(), pappso::BasePlotWidget::mousePseudoButtonKeyReleaseEvent(), pappso::BasePlotWidget::mouseReleaseHandler(), pappso::BasePlotWidget::mouseReleaseHandlerLeftButton(), operator=(), pappso::MassSpecTracePlotContext::operator=(), toString(), and pappso::BasePlotWidget::updateSelectionRectangle().
QPointF pappso::BasePlotContext::m_lastCursorHoveredPoint |
Definition at line 56 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::horizontalGetGraphCoordNewPointCountPixels(), pappso::BasePlotWidget::mouseMoveHandler(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerNotDraggingCursor(), pappso::BasePlotWidget::mousePressHandler(), pappso::BasePlotWidget::mousePseudoButtonKeyReleaseEvent(), pappso::BasePlotWidget::mouseReleaseHandler(), operator=(), pappso::MassSpecTracePlotContext::operator=(), toString(), and pappso::BasePlotWidget::verticalGetGraphCoordNewPointCountPixels().
Qt::MouseButtons pappso::BasePlotContext::m_lastPressedMouseButton |
Definition at line 95 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::mousePressHandler(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
Qt::MouseButtons pappso::BasePlotContext::m_lastReleasedMouseButton |
Definition at line 96 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::mouseReleaseHandler(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
Qt::MouseButtons pappso::BasePlotContext::m_mouseButtonsAtMousePress |
Definition at line 100 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::MassSpecTracePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mousePressHandler(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
Qt::MouseButtons pappso::BasePlotContext::m_mouseButtonsAtMouseRelease |
Definition at line 101 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::mouseReleaseHandler(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
int pappso::BasePlotContext::m_pressedKeyCode |
Definition at line 90 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::keyPressEvent(), pappso::BasePlotWidget::keyReleaseEvent(), pappso::BasePlotWidget::mouseMoveHandlerLeftButtonDraggingCursor(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
Qt::MouseButtons pappso::BasePlotContext::m_pressedMouseButtons |
Definition at line 98 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisDoubleClickHandler(), pappso::BaseTracePlotWidget::axisDoubleClickHandler(), pappso::BasePlotWidget::mouseMoveHandler(), pappso::BasePlotWidget::mousePressHandler(), pappso::BasePlotWidget::mouseReleaseHandler(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
int pappso::BasePlotContext::m_releasedKeyCode |
Definition at line 91 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::keyReleaseEvent(), operator=(), and pappso::MassSpecTracePlotContext::operator=().
SelectionPolygon pappso::BasePlotContext::m_selectionPolygon |
Definition at line 59 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::drawXDeltaFeatures(), pappso::BasePlotWidget::drawYDeltaFeatures(), operator=(), pappso::MassSpecTracePlotContext::operator=(), pappso::BasePlotWidget::resetSelectionRectangle(), toString(), pappso::BasePlotWidget::update1DSelectionRectangle(), pappso::BasePlotWidget::update2DSelectionRectangleSkewed(), pappso::BasePlotWidget::update2DSelectionRectangleSquare(), and pappso::BasePlotWidget::updateSelectionRectangle().
double pappso::BasePlotContext::m_selectRectangleWidth = 0 |
Definition at line 60 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::keyReleaseEvent(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and pappso::BasePlotWidget::update2DSelectionRectangleSkewed().
QPointF pappso::BasePlotContext::m_startDragPoint |
Definition at line 54 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisRescale(), pappso::BaseTracePlotWidget::axisRescale(), pappso::BasePlotWidget::calculateDragDeltas(), pappso::BasePlotWidget::dragDirection(), pappso::BasePlotWidget::isVerticalDisplacementAboveThreshold(), pappso::BasePlotWidget::keyReleaseEvent(), pappso::BasePlotWidget::mousePressHandler(), pappso::BasePlotWidget::mouseReleaseHandlerRightButton(), operator=(), pappso::MassSpecTracePlotContext::operator=(), recordDragDirections(), toString(), pappso::BasePlotWidget::update1DSelectionRectangle(), pappso::BasePlotWidget::update2DSelectionRectangleSkewed(), and pappso::BasePlotWidget::update2DSelectionRectangleSquare().
bool pappso::BasePlotContext::m_wasClickOnXAxis = false |
Definition at line 70 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisPan(), pappso::BaseTracePlotWidget::axisPan(), pappso::BasePlotWidget::axisRescale(), pappso::BaseTracePlotWidget::axisRescale(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerLeftButtonDraggingCursor(), pappso::BasePlotWidget::mousePressHandler(), pappso::BasePlotWidget::mouseReleaseHandlerLeftButton(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
bool pappso::BasePlotContext::m_wasClickOnYAxis = false |
Definition at line 71 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisPan(), pappso::BaseTracePlotWidget::axisPan(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerLeftButtonDraggingCursor(), pappso::BasePlotWidget::mousePressHandler(), pappso::BasePlotWidget::mouseReleaseHandlerLeftButton(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
bool pappso::BasePlotContext::m_wasMouseDragging = false |
Definition at line 47 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::mouseReleaseHandler(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
bool pappso::BasePlotContext::m_wassKeyBoardDragging = false |
Definition at line 52 of file baseplotcontext.h.
Referenced by BasePlotContext(), operator=(), and pappso::MassSpecTracePlotContext::operator=().
double pappso::BasePlotContext::m_xDelta = 0 |
Definition at line 87 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisPan(), pappso::BaseTracePlotWidget::axisPan(), pappso::BasePlotWidget::calculateDragDeltas(), pappso::MassSpecTracePlotWidget::computeResolvingPower(), pappso::MassSpecTracePlotWidget::deconvolute(), pappso::MassSpecTracePlotWidget::deconvoluteIsotopicCluster(), pappso::BasePlotWidget::drawXDeltaFeatures(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
QCPRange pappso::BasePlotContext::m_xRange |
Definition at line 63 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisPan(), pappso::BaseTracePlotWidget::axisPan(), pappso::BaseColorMapPlotWidget::currentXaxisRangeIndices(), pappso::BasePlotWidget::mouseWheelHandler(), operator=(), pappso::MassSpecTracePlotContext::operator=(), toString(), and pappso::BasePlotWidget::updateContextXandYAxisRanges().
double pappso::BasePlotContext::m_xRegionRangeEnd = std::numeric_limits<double>::min() |
Definition at line 82 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisReframe(), pappso::BaseTracePlotWidget::axisReframe(), pappso::BasePlotWidget::axisZoom(), pappso::BaseTracePlotWidget::axisZoom(), pappso::MassSpecTracePlotWidget::computeResolvingPower(), pappso::MassSpecTracePlotWidget::deconvoluteChargedState(), pappso::MassSpecTracePlotWidget::deconvoluteIsotopicCluster(), operator=(), pappso::MassSpecTracePlotContext::operator=(), toString(), and pappso::BasePlotWidget::updateSelectionRectangle().
double pappso::BasePlotContext::m_xRegionRangeStart = std::numeric_limits<double>::min() |
Definition at line 81 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisReframe(), pappso::BaseTracePlotWidget::axisReframe(), pappso::BasePlotWidget::axisZoom(), pappso::BaseTracePlotWidget::axisZoom(), pappso::MassSpecTracePlotWidget::computeResolvingPower(), pappso::MassSpecTracePlotWidget::deconvoluteChargedState(), pappso::MassSpecTracePlotWidget::deconvoluteIsotopicCluster(), operator=(), pappso::MassSpecTracePlotContext::operator=(), toString(), and pappso::BasePlotWidget::updateSelectionRectangle().
double pappso::BasePlotContext::m_yDelta = 0 |
Definition at line 88 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisPan(), pappso::BaseTracePlotWidget::axisPan(), pappso::BasePlotWidget::calculateDragDeltas(), pappso::BasePlotWidget::drawYDeltaFeatures(), operator=(), pappso::MassSpecTracePlotContext::operator=(), and toString().
QCPRange pappso::BasePlotContext::m_yRange |
Definition at line 64 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisPan(), pappso::BaseTracePlotWidget::axisPan(), pappso::BaseColorMapPlotWidget::currentYaxisRangeIndices(), pappso::BasePlotWidget::mouseWheelHandler(), operator=(), pappso::MassSpecTracePlotContext::operator=(), toString(), and pappso::BasePlotWidget::updateContextXandYAxisRanges().
double pappso::BasePlotContext::m_yRegionRangeEnd = std::numeric_limits<double>::min() |
Definition at line 85 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisReframe(), pappso::BaseTracePlotWidget::axisReframe(), pappso::BasePlotWidget::axisZoom(), pappso::BaseTracePlotWidget::axisZoom(), operator=(), pappso::MassSpecTracePlotContext::operator=(), toString(), and pappso::BasePlotWidget::updateSelectionRectangle().
double pappso::BasePlotContext::m_yRegionRangeStart = std::numeric_limits<double>::min() |
Definition at line 84 of file baseplotcontext.h.
Referenced by BasePlotContext(), pappso::BasePlotWidget::axisReframe(), pappso::BaseTracePlotWidget::axisReframe(), pappso::BasePlotWidget::axisZoom(), pappso::BaseTracePlotWidget::axisZoom(), operator=(), pappso::MassSpecTracePlotContext::operator=(), toString(), and pappso::BasePlotWidget::updateSelectionRectangle().