libpappsomspp
Library for mass spectrometry
|
#include <baseplotwidget.h>
Public Member Functions | |
QString | toString () const |
Public Attributes | |
DataKind | dataKind = DataKind::unset |
bool | isMouseDragging = false |
bool | wasMouseDragging = false |
bool | isKeyBoardDragging = false |
bool | isLeftPseudoButtonKeyPressed = false |
bool | isRightPseudoButtonKeyPressed = false |
bool | wassKeyBoardDragging = false |
QPointF | startDragPoint |
QPointF | currentDragPoint |
QPointF | lastCursorHoveredPoint |
QCPRange | xRange |
QCPRange | yRange |
bool | wasClickOnXAxis = false |
bool | wasClickOnYAxis = false |
bool | isMeasuringDistance = false |
double | xRegionRangeStart = std::numeric_limits<double>::min() |
double | xRegionRangeEnd = std::numeric_limits<double>::min() |
double | yRegionRangeStart = std::numeric_limits<double>::min() |
double | yRegionRangeEnd = std::numeric_limits<double>::min() |
double | xDelta = 0 |
double | yDelta = 0 |
int | pressedKeyCode |
int | releasedKeyCode |
Qt::KeyboardModifiers | keyboardModifiers |
Qt::MouseButtons | lastPressedMouseButton |
Qt::MouseButtons | lastReleasedMouseButton |
Qt::MouseButtons | pressedMouseButtons |
Qt::MouseButtons | mouseButtonsAtMousePress |
Qt::MouseButtons | mouseButtonsAtMouseRelease |
Definition at line 69 of file baseplotwidget.h.
QString pappso::BasePlotContext::toString | ( | ) | const |
Definition at line 50 of file baseplotwidget.cpp.
References currentDragPoint, dataKind, isMeasuringDistance, isMouseDragging, keyboardModifiers, lastCursorHoveredPoint, lastPressedMouseButton, lastReleasedMouseButton, mouseButtonsAtMousePress, mouseButtonsAtMouseRelease, pressedKeyCode, pressedMouseButtons, startDragPoint, wasClickOnXAxis, wasClickOnYAxis, wasMouseDragging, xDelta, xRange, xRegionRangeEnd, xRegionRangeStart, yDelta, yRange, yRegionRangeEnd, and yRegionRangeStart.
Referenced by pappso::MassSpecTracePlotContext::toString().
QPointF pappso::BasePlotContext::currentDragPoint |
Definition at line 82 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisRescale(), pappso::BasePlotWidget::axisRescale(), pappso::BasePlotWidget::calculateDragDeltas(), pappso::BasePlotWidget::calculateDragDeltasAndUnSortedRegionCorners(), pappso::BasePlotWidget::dragDirection(), pappso::BasePlotWidget::drawRectangleAndPrepareZoom(), pappso::BasePlotWidget::isProperSelectionRectangle(), pappso::MassSpecTracePlotWidget::keyPressEvent(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseReleaseHandlerRightButton(), pappso::BasePlotWidget::prepareXDeltaLineAndMeasure(), and toString().
DataKind pappso::BasePlotContext::dataKind = DataKind::unset |
Definition at line 71 of file baseplotwidget.h.
Referenced by pappso::DriftSpecTracePlotWidget::DriftSpecTracePlotWidget(), pappso::MassSpecTracePlotWidget::MassSpecTracePlotWidget(), pappso::TicXicChromTracePlotWidget::TicXicChromTracePlotWidget(), and toString().
bool pappso::BasePlotContext::isKeyBoardDragging = false |
Definition at line 76 of file baseplotwidget.h.
bool pappso::BasePlotContext::isLeftPseudoButtonKeyPressed = false |
Definition at line 77 of file baseplotwidget.h.
Referenced by pappso::BasePlotWidget::mousePseudoButtonKeyReleaseEvent().
bool pappso::BasePlotContext::isMeasuringDistance = false |
Definition at line 96 of file baseplotwidget.h.
Referenced by pappso::BasePlotWidget::drawRectangleAndPrepareZoom(), pappso::MassSpecTracePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerLeftButtonDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerRightButtonDraggingCursor(), pappso::BasePlotWidget::prepareXDeltaLineAndMeasure(), and toString().
bool pappso::BasePlotContext::isMouseDragging = false |
Definition at line 73 of file baseplotwidget.h.
Referenced by pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerNotDraggingCursor(), pappso::BasePlotWidget::mouseReleaseHandler(), and toString().
bool pappso::BasePlotContext::isRightPseudoButtonKeyPressed = false |
Definition at line 78 of file baseplotwidget.h.
Referenced by pappso::BasePlotWidget::mousePseudoButtonKeyReleaseEvent().
Qt::KeyboardModifiers pappso::BasePlotContext::keyboardModifiers |
Definition at line 116 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisDoubleClickHandler(), pappso::BasePlotWidget::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(), and toString().
QPointF pappso::BasePlotContext::lastCursorHoveredPoint |
Definition at line 83 of file baseplotwidget.h.
Referenced by pappso::BasePlotWidget::horizontalGetGraphCoordNewPointCountPixels(), pappso::BasePlotWidget::mouseMoveHandler(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerNotDraggingCursor(), pappso::BasePlotWidget::mousePressHandler(), pappso::BasePlotWidget::mousePseudoButtonKeyReleaseEvent(), pappso::BasePlotWidget::mouseReleaseHandler(), toString(), and pappso::BasePlotWidget::verticalGetGraphCoordNewPointCountPixels().
Qt::MouseButtons pappso::BasePlotContext::lastPressedMouseButton |
Definition at line 118 of file baseplotwidget.h.
Referenced by pappso::BasePlotWidget::mousePressHandler(), and toString().
Qt::MouseButtons pappso::BasePlotContext::lastReleasedMouseButton |
Definition at line 119 of file baseplotwidget.h.
Referenced by pappso::BasePlotWidget::mouseReleaseHandler(), and toString().
Qt::MouseButtons pappso::BasePlotContext::mouseButtonsAtMousePress |
Definition at line 123 of file baseplotwidget.h.
Referenced by pappso::MassSpecTracePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mousePressHandler(), and toString().
Qt::MouseButtons pappso::BasePlotContext::mouseButtonsAtMouseRelease |
Definition at line 124 of file baseplotwidget.h.
Referenced by pappso::BasePlotWidget::mouseReleaseHandler(), and toString().
int pappso::BasePlotContext::pressedKeyCode |
Definition at line 113 of file baseplotwidget.h.
Referenced by pappso::BasePlotWidget::keyPressEvent(), pappso::BasePlotWidget::keyReleaseEvent(), pappso::BasePlotWidget::mouseMoveHandlerLeftButtonDraggingCursor(), and toString().
Qt::MouseButtons pappso::BasePlotContext::pressedMouseButtons |
Definition at line 121 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisDoubleClickHandler(), pappso::BasePlotWidget::axisDoubleClickHandler(), pappso::BasePlotWidget::mouseMoveHandler(), pappso::BasePlotWidget::mousePressHandler(), pappso::BasePlotWidget::mouseReleaseHandler(), and toString().
int pappso::BasePlotContext::releasedKeyCode |
Definition at line 114 of file baseplotwidget.h.
Referenced by pappso::BasePlotWidget::keyReleaseEvent().
QPointF pappso::BasePlotContext::startDragPoint |
Definition at line 81 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisRescale(), pappso::BasePlotWidget::axisRescale(), pappso::BasePlotWidget::calculateDragDeltas(), pappso::BasePlotWidget::calculateDragDeltasAndUnSortedRegionCorners(), pappso::BasePlotWidget::dragDirection(), pappso::BasePlotWidget::drawRectangleAndPrepareZoom(), pappso::BasePlotWidget::isProperSelectionRectangle(), pappso::BasePlotWidget::mousePressHandler(), pappso::BasePlotWidget::mouseReleaseHandlerRightButton(), pappso::BasePlotWidget::prepareXDeltaLineAndMeasure(), and toString().
bool pappso::BasePlotContext::wasClickOnXAxis = false |
Definition at line 93 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisPan(), pappso::BasePlotWidget::axisPan(), pappso::BaseTracePlotWidget::axisRescale(), pappso::BasePlotWidget::axisRescale(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerLeftButtonDraggingCursor(), pappso::BasePlotWidget::mousePressHandler(), pappso::BasePlotWidget::mouseReleaseHandlerLeftButton(), and toString().
bool pappso::BasePlotContext::wasClickOnYAxis = false |
Definition at line 94 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisPan(), pappso::BasePlotWidget::axisPan(), pappso::BasePlotWidget::mouseMoveHandlerDraggingCursor(), pappso::BasePlotWidget::mouseMoveHandlerLeftButtonDraggingCursor(), pappso::BasePlotWidget::mousePressHandler(), pappso::BasePlotWidget::mouseReleaseHandlerLeftButton(), and toString().
bool pappso::BasePlotContext::wasMouseDragging = false |
Definition at line 74 of file baseplotwidget.h.
Referenced by pappso::BasePlotWidget::mouseReleaseHandler(), and toString().
bool pappso::BasePlotContext::wassKeyBoardDragging = false |
Definition at line 79 of file baseplotwidget.h.
double pappso::BasePlotContext::xDelta = 0 |
Definition at line 110 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisPan(), pappso::BasePlotWidget::axisPan(), pappso::BasePlotWidget::calculateDragDeltas(), pappso::MassSpecTracePlotWidget::computeResolvingPower(), pappso::MassSpecTracePlotWidget::deconvolute(), pappso::MassSpecTracePlotWidget::deconvoluteIsotopicCluster(), pappso::BasePlotWidget::prepareXDeltaLineAndMeasure(), and toString().
QCPRange pappso::BasePlotContext::xRange |
Definition at line 86 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisPan(), pappso::BasePlotWidget::axisPan(), toString(), and pappso::BasePlotWidget::updateContextRanges().
double pappso::BasePlotContext::xRegionRangeEnd = std::numeric_limits<double>::min() |
Definition at line 105 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisReframe(), pappso::BasePlotWidget::axisReframe(), pappso::BaseTracePlotWidget::axisZoom(), pappso::BasePlotWidget::axisZoom(), pappso::BasePlotWidget::calculateDragDeltasAndUnSortedRegionCorners(), pappso::MassSpecTracePlotWidget::computeResolvingPower(), pappso::MassSpecTracePlotWidget::deconvoluteChargedState(), pappso::MassSpecTracePlotWidget::deconvoluteIsotopicCluster(), pappso::BasePlotWidget::drawRectangleAndPrepareZoom(), pappso::BasePlotWidget::prepareXDeltaLineAndMeasure(), and toString().
double pappso::BasePlotContext::xRegionRangeStart = std::numeric_limits<double>::min() |
Definition at line 104 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisReframe(), pappso::BasePlotWidget::axisReframe(), pappso::BaseTracePlotWidget::axisZoom(), pappso::BasePlotWidget::axisZoom(), pappso::BasePlotWidget::calculateDragDeltasAndUnSortedRegionCorners(), pappso::MassSpecTracePlotWidget::computeResolvingPower(), pappso::MassSpecTracePlotWidget::deconvoluteChargedState(), pappso::MassSpecTracePlotWidget::deconvoluteIsotopicCluster(), pappso::BasePlotWidget::drawRectangleAndPrepareZoom(), pappso::BasePlotWidget::prepareXDeltaLineAndMeasure(), and toString().
double pappso::BasePlotContext::yDelta = 0 |
Definition at line 111 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisPan(), pappso::BasePlotWidget::axisPan(), pappso::BasePlotWidget::calculateDragDeltas(), and toString().
QCPRange pappso::BasePlotContext::yRange |
Definition at line 87 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisPan(), pappso::BasePlotWidget::axisPan(), toString(), and pappso::BasePlotWidget::updateContextRanges().
double pappso::BasePlotContext::yRegionRangeEnd = std::numeric_limits<double>::min() |
Definition at line 108 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisReframe(), pappso::BasePlotWidget::axisReframe(), pappso::BaseTracePlotWidget::axisZoom(), pappso::BasePlotWidget::axisZoom(), pappso::BasePlotWidget::calculateDragDeltasAndUnSortedRegionCorners(), pappso::BasePlotWidget::drawRectangleAndPrepareZoom(), and toString().
double pappso::BasePlotContext::yRegionRangeStart = std::numeric_limits<double>::min() |
Definition at line 107 of file baseplotwidget.h.
Referenced by pappso::BaseTracePlotWidget::axisReframe(), pappso::BasePlotWidget::axisReframe(), pappso::BaseTracePlotWidget::axisZoom(), pappso::BasePlotWidget::axisZoom(), pappso::BasePlotWidget::calculateDragDeltasAndUnSortedRegionCorners(), pappso::BasePlotWidget::drawRectangleAndPrepareZoom(), and toString().