|
libpappsomspp
Library for mass spectrometry
|
#include <baseplotcontext.h>
Public Member Functions | |
| BasePlotContext () | |
| virtual | ~BasePlotContext () |
| BasePlotContext * | clone () |
| void | initialize (const BasePlotContext &other) |
| BasePlotContext (const BasePlotContext &other) | |
| BasePlotContext & | operator= (const BasePlotContext &other) |
| void | updateIntegrationScope () |
| void | updateIntegrationScopeRect () |
| void | updateIntegrationScopeRhomb () |
| void | updateIntegrationScopeRhombHorizontal () |
| void | updateIntegrationScopeRhombVertical () |
| DragDirections | recordDragDirections () |
| QString | toString () const |
| QString | dragDirectionsToString () const |
Definition at line 44 of file baseplotcontext.h.
|
explicit |
Definition at line 38 of file baseplotcontext.cpp.
Referenced by BasePlotContext(), pappso::MassSpecTracePlotContext::MassSpecTracePlotContext(), pappso::MassSpecTracePlotContext::MassSpecTracePlotContext(), clone(), initialize(), pappso::MassSpecTracePlotContext::initialize(), operator=(), and pappso::MassSpecTracePlotContext::operator=().
|
virtual |
Definition at line 119 of file baseplotcontext.cpp.
References mpa_integrationScope.
| pappso::BasePlotContext::BasePlotContext | ( | const BasePlotContext & | other | ) |
Definition at line 42 of file baseplotcontext.cpp.
References BasePlotContext(), pappso::IntegrationScopeBase::clone(), initialize(), m_currentDragPoint, m_dataKind, m_dragDirections, m_integrationScopeRhombHeight, m_integrationScopeRhombWidth, 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_pressedKeyCodes, m_pressedKeyText, m_pressedMouseButtons, m_releasedKeyCode, m_releasedKeyCodes, m_releasedKeyText, m_selectionPolygon, m_startDragPoint, m_wasClickOnXAxis, m_wasClickOnYAxis, m_wasKeyBoardDragging, m_wasMouseDragging, m_xDelta, m_xRange, m_xRegionRangeStart, m_xRegionRangeStop, m_yDelta, m_yRange, m_yRegionRangeStart, m_yRegionRangeStop, and mpa_integrationScope.
| BasePlotContext * pappso::BasePlotContext::clone | ( | ) |
| QString pappso::BasePlotContext::dragDirectionsToString | ( | ) | const |
Definition at line 973 of file baseplotcontext.cpp.
References pappso::BOTTOM_TO_TOP, pappso::LEFT_TO_RIGHT, m_dragDirections, m_isMouseDragging, pappso::RIGHT_TO_LEFT, and pappso::TOP_TO_BOTTOM.
Referenced by toString().
| void pappso::BasePlotContext::initialize | ( | const BasePlotContext & | other | ) |
Definition at line 132 of file baseplotcontext.cpp.
References BasePlotContext(), pappso::IntegrationScopeBase::clone(), m_currentDragPoint, m_dataKind, m_dragDirections, m_integrationScopeRhombHeight, m_integrationScopeRhombWidth, 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_pressedKeyCodes, m_pressedKeyText, m_pressedMouseButtons, m_releasedKeyCode, m_releasedKeyCodes, m_releasedKeyText, m_selectionPolygon, m_startDragPoint, m_wasClickOnXAxis, m_wasClickOnYAxis, m_wasKeyBoardDragging, m_wasMouseDragging, m_xDelta, m_xRange, m_xRegionRangeStart, m_xRegionRangeStop, m_yDelta, m_yRange, m_yRegionRangeStart, m_yRegionRangeStop, and mpa_integrationScope.
Referenced by BasePlotContext(), pappso::MassSpecTracePlotContext::initialize(), pappso::MassSpecTracePlotContext::initialize(), and pappso::MassSpecTracePlotContext::operator=().
| BasePlotContext & pappso::BasePlotContext::operator= | ( | const BasePlotContext & | other | ) |
Definition at line 756 of file baseplotcontext.cpp.
References BasePlotContext(), pappso::IntegrationScopeBase::clone(), m_currentDragPoint, m_dataKind, m_integrationScopeRhombHeight, m_integrationScopeRhombWidth, 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_pressedKeyText, m_pressedMouseButtons, m_releasedKeyCode, m_releasedKeyText, m_selectionPolygon, m_startDragPoint, m_wasClickOnXAxis, m_wasClickOnYAxis, m_wasKeyBoardDragging, m_wasMouseDragging, m_xDelta, m_xRange, m_xRegionRangeStart, m_xRegionRangeStop, m_yDelta, m_yRange, m_yRegionRangeStart, m_yRegionRangeStop, and mpa_integrationScope.
| DragDirections pappso::BasePlotContext::recordDragDirections | ( | ) |
Definition at line 827 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.
| QString pappso::BasePlotContext::toString | ( | ) | const |
Definition at line 849 of file baseplotcontext.cpp.
References dragDirectionsToString(), m_currentDragPoint, m_dataKind, m_isMeasuringDistance, m_isMouseDragging, m_keyboardModifiers, m_lastCursorHoveredPoint, m_lastPressedMouseButton, m_lastReleasedMouseButton, m_mouseButtonsAtMousePress, m_mouseButtonsAtMouseRelease, m_pressedKeyCode, m_pressedKeyCodes, m_pressedMouseButtons, m_releasedKeyCode, m_releasedKeyCodes, m_startDragPoint, m_wasClickOnXAxis, m_wasClickOnYAxis, m_wasMouseDragging, m_xDelta, m_xRange, m_xRegionRangeStart, m_xRegionRangeStop, m_yDelta, m_yRange, m_yRegionRangeStart, m_yRegionRangeStop, mpa_integrationScope, pappso::qtKeyboardModifierMap, and pappso::qtMouseButtonsMap.
Referenced by pappso::MassSpecTracePlotContext::toString().
| void pappso::BasePlotContext::updateIntegrationScope | ( | ) |
Definition at line 206 of file baseplotcontext.cpp.
References m_currentDragPoint, m_startDragPoint, and mpa_integrationScope.
| void pappso::BasePlotContext::updateIntegrationScopeRect | ( | ) |
Definition at line 236 of file baseplotcontext.cpp.
References pappso::BOTTOM_TO_TOP, pappso::LEFT_TO_RIGHT, m_currentDragPoint, m_dragDirections, m_startDragPoint, mpa_integrationScope, pappso::RIGHT_TO_LEFT, and pappso::TOP_TO_BOTTOM.
| void pappso::BasePlotContext::updateIntegrationScopeRhomb | ( | ) |
Definition at line 672 of file baseplotcontext.cpp.
References m_integrationScopeRhombHeight, m_integrationScopeRhombWidth, updateIntegrationScopeRhombHorizontal(), and updateIntegrationScopeRhombVertical().
| void pappso::BasePlotContext::updateIntegrationScopeRhombHorizontal | ( | ) |
Definition at line 348 of file baseplotcontext.cpp.
References pappso::BOTTOM_TO_TOP, pappso::LEFT_TO_RIGHT, m_currentDragPoint, m_dragDirections, m_integrationScopeRhombWidth, m_startDragPoint, mpa_integrationScope, pappso::RIGHT_TO_LEFT, and pappso::TOP_TO_BOTTOM.
Referenced by updateIntegrationScopeRhomb().
| void pappso::BasePlotContext::updateIntegrationScopeRhombVertical | ( | ) |
Definition at line 508 of file baseplotcontext.cpp.
References pappso::BOTTOM_TO_TOP, pappso::LEFT_TO_RIGHT, m_currentDragPoint, m_dragDirections, m_integrationScopeRhombHeight, m_startDragPoint, mpa_integrationScope, pappso::RIGHT_TO_LEFT, and pappso::TOP_TO_BOTTOM.
Referenced by updateIntegrationScopeRhomb().
| QPointF pappso::BasePlotContext::m_currentDragPoint |
Definition at line 68 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), recordDragDirections(), toString(), updateIntegrationScope(), updateIntegrationScopeRect(), updateIntegrationScopeRhombHorizontal(), and updateIntegrationScopeRhombVertical().
| Enums::DataKind pappso::BasePlotContext::m_dataKind = Enums::DataKind::unset |
Definition at line 57 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| DragDirections pappso::BasePlotContext::m_dragDirections = DragDirections::NOT_SET |
Definition at line 70 of file baseplotcontext.h.
Referenced by BasePlotContext(), dragDirectionsToString(), initialize(), recordDragDirections(), updateIntegrationScopeRect(), updateIntegrationScopeRhombHorizontal(), and updateIntegrationScopeRhombVertical().
| double pappso::BasePlotContext::m_integrationScopeRhombHeight = 0 |
Definition at line 75 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), updateIntegrationScopeRhomb(), and updateIntegrationScopeRhombVertical().
| double pappso::BasePlotContext::m_integrationScopeRhombWidth = 0 |
Definition at line 74 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), updateIntegrationScopeRhomb(), and updateIntegrationScopeRhombHorizontal().
| bool pappso::BasePlotContext::m_isKeyBoardDragging = false |
Definition at line 62 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), and operator=().
| bool pappso::BasePlotContext::m_isLeftPseudoButtonKeyPressed = false |
Definition at line 63 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), and operator=().
| bool pappso::BasePlotContext::m_isMeasuringDistance = false |
Definition at line 88 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| bool pappso::BasePlotContext::m_isMouseDragging = false |
Definition at line 59 of file baseplotcontext.h.
Referenced by BasePlotContext(), dragDirectionsToString(), initialize(), operator=(), and toString().
| bool pappso::BasePlotContext::m_isRightPseudoButtonKeyPressed = false |
Definition at line 64 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), and operator=().
| Qt::KeyboardModifiers pappso::BasePlotContext::m_keyboardModifiers |
Definition at line 112 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| QPointF pappso::BasePlotContext::m_lastCursorHoveredPoint |
Definition at line 69 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| Qt::MouseButtons pappso::BasePlotContext::m_lastPressedMouseButton |
Definition at line 114 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| Qt::MouseButtons pappso::BasePlotContext::m_lastReleasedMouseButton |
Definition at line 115 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| Qt::MouseButtons pappso::BasePlotContext::m_mouseButtonsAtMousePress |
Definition at line 119 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| Qt::MouseButtons pappso::BasePlotContext::m_mouseButtonsAtMouseRelease |
Definition at line 120 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| int pappso::BasePlotContext::m_pressedKeyCode |
Definition at line 105 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| QSet<int> pappso::BasePlotContext::m_pressedKeyCodes |
Definition at line 106 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), and toString().
| QString pappso::BasePlotContext::m_pressedKeyText |
Definition at line 107 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), and operator=().
| Qt::MouseButtons pappso::BasePlotContext::m_pressedMouseButtons |
Definition at line 117 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| int pappso::BasePlotContext::m_releasedKeyCode |
Definition at line 108 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| QSet<int> pappso::BasePlotContext::m_releasedKeyCodes |
Definition at line 109 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), and toString().
| QString pappso::BasePlotContext::m_releasedKeyText |
Definition at line 110 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), and operator=().
| SelectionPolygon pappso::BasePlotContext::m_selectionPolygon |
Definition at line 73 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), and operator=().
| QPointF pappso::BasePlotContext::m_startDragPoint |
Definition at line 67 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), recordDragDirections(), toString(), updateIntegrationScope(), updateIntegrationScopeRect(), updateIntegrationScopeRhombHorizontal(), and updateIntegrationScopeRhombVertical().
| bool pappso::BasePlotContext::m_wasClickOnXAxis = false |
Definition at line 85 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| bool pappso::BasePlotContext::m_wasClickOnYAxis = false |
Definition at line 86 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| bool pappso::BasePlotContext::m_wasKeyBoardDragging = false |
Definition at line 65 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), and operator=().
| bool pappso::BasePlotContext::m_wasMouseDragging = false |
Definition at line 60 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| double pappso::BasePlotContext::m_xDelta = 0 |
Definition at line 102 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| QCPRange pappso::BasePlotContext::m_xRange |
Definition at line 78 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| double pappso::BasePlotContext::m_xRegionRangeStart = std::numeric_limits<double>::min() |
Definition at line 96 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| double pappso::BasePlotContext::m_xRegionRangeStop = std::numeric_limits<double>::min() |
Definition at line 97 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| double pappso::BasePlotContext::m_yDelta = 0 |
Definition at line 103 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| QCPRange pappso::BasePlotContext::m_yRange |
Definition at line 79 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| double pappso::BasePlotContext::m_yRegionRangeStart = std::numeric_limits<double>::min() |
Definition at line 99 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| double pappso::BasePlotContext::m_yRegionRangeStop = std::numeric_limits<double>::min() |
Definition at line 100 of file baseplotcontext.h.
Referenced by BasePlotContext(), initialize(), operator=(), and toString().
| IntegrationScopeBase* pappso::BasePlotContext::mpa_integrationScope = nullptr |
Definition at line 72 of file baseplotcontext.h.
Referenced by BasePlotContext(), ~BasePlotContext(), initialize(), operator=(), toString(), updateIntegrationScope(), updateIntegrationScopeRect(), updateIntegrationScopeRhombHorizontal(), and updateIntegrationScopeRhombVertical().