Loading...
Searching...
No Matches
ticxicchrommassspeccolormapplotwidget.h
Go to the documentation of this file.
/* This code comes right from the msXpertSuite software project.
*
* msXpertSuite - mass spectrometry software suite
* -----------------------------------------------
* Copyright(C) 2009,...,2018 Filippo Rusconi
*
* http://www.msxpertsuite.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* END software license
*/
#pragma once
/////////////////////// StdLib includes
/////////////////////// Qt includes
#include <QObject>
#include <QString>
#include <QWidget>
#include <QBrush>
#include <QColor>
#include <QVector>
/////////////////////// QCustomPlot
#include <qcustomplot.h>
/////////////////////// Local includes
#include "pappsomspp/export-import-config.h"
#include "basecolormapplotwidget.h"
namespace pappso
{
class PMSPP_LIB_DECL TicXicChromMassSpecColorMapPlotWidget
: public BaseColorMapPlotWidget
{
Q_OBJECT
public:
explicit TicXicChromMassSpecColorMapPlotWidget(QWidget *parent,
const QString &x_axis_label,
const QString &y_axis_label);
virtual ~TicXicChromMassSpecColorMapPlotWidget();
virtual void keyPressEvent(QKeyEvent *event) override;
virtual void keyReleaseEvent(QKeyEvent *event) override;
virtual void mouseMoveHandler(QMouseEvent *event) override;
virtual void mousePressHandler(QMouseEvent *event) override;
virtual void mouseReleaseHandler(QMouseEvent *event) override;
virtual void mouseMoveHandlerNotDraggingCursor(QMouseEvent *event) override;
virtual void mouseMoveHandlerDraggingCursor(QMouseEvent *event) override;
signals:
// Here we have signals that are specific of the mass spectrum-oriented
// version of the plot widget.
protected:
};
} // namespace pappso
basecolormapplotwidget.h
pappso::BaseColorMapPlotWidget::BaseColorMapPlotWidget
BaseColorMapPlotWidget(QWidget *parent)
Definition basecolormapplotwidget.cpp:71
pappso::TicXicChromMassSpecColorMapPlotWidget::mouseMoveHandlerDraggingCursor
virtual void mouseMoveHandlerDraggingCursor(QMouseEvent *event) override
Definition ticxicchrommassspeccolormapplotwidget.cpp:100
pappso::TicXicChromMassSpecColorMapPlotWidget::mouseReleaseHandler
virtual void mouseReleaseHandler(QMouseEvent *event) override
React to the release of the mouse buttons.
Definition ticxicchrommassspeccolormapplotwidget.cpp:116
pappso::TicXicChromMassSpecColorMapPlotWidget::mouseMoveHandlerNotDraggingCursor
virtual void mouseMoveHandlerNotDraggingCursor(QMouseEvent *event) override
Definition ticxicchrommassspeccolormapplotwidget.cpp:93
pappso::TicXicChromMassSpecColorMapPlotWidget::TicXicChromMassSpecColorMapPlotWidget
TicXicChromMassSpecColorMapPlotWidget(QWidget *parent, const QString &x_axis_label, const QString &y_axis_label)
Definition ticxicchrommassspeccolormapplotwidget.cpp:43
pappso::TicXicChromMassSpecColorMapPlotWidget::keyPressEvent
virtual void keyPressEvent(QKeyEvent *event) override
Set the m_pressedKeyCode to the key code in event.
Definition ticxicchrommassspeccolormapplotwidget.cpp:57
pappso::TicXicChromMassSpecColorMapPlotWidget::mouseMoveHandler
virtual void mouseMoveHandler(QMouseEvent *event) override
Handle mouse movements, in particular record all the last visited points.
Definition ticxicchrommassspeccolormapplotwidget.cpp:86
pappso::TicXicChromMassSpecColorMapPlotWidget::keyReleaseEvent
virtual void keyReleaseEvent(QKeyEvent *event) override
Handle specific key codes and trigger respective actions.
Definition ticxicchrommassspeccolormapplotwidget.cpp:66
pappso::TicXicChromMassSpecColorMapPlotWidget::mousePressHandler
virtual void mousePressHandler(QMouseEvent *event) override
Record the clicks of the mouse.
Definition ticxicchrommassspeccolormapplotwidget.cpp:108
export-import-config.h
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition export-import-config.h:14
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition aa.cpp:39