libpappsomspp
Library for mass spectrometry
driftspectraceplotwidget.h
Go to the documentation of this file.
1 /* This code comes right from the msXpertSuite software project.
2  *
3  * msXpertSuite - mass spectrometry software suite
4  * -----------------------------------------------
5  * Copyright(C) 2009,...,2018 Filippo Rusconi
6  *
7  * http://www.msxpertsuite.org
8  *
9  * This program is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21  *
22  * END software license
23  */
24 
25 
26 #pragma once
27 
28 /////////////////////// StdLib includes
29 
30 
31 /////////////////////// Qt includes
32 #include <QObject>
33 #include <QString>
34 #include <QWidget>
35 #include <QBrush>
36 #include <QColor>
37 #include <QVector>
38 
39 
40 /////////////////////// QCustomPlot
41 #include <qcustomplot.h>
42 
43 
44 /////////////////////// Local includes
45 #include "../../exportinmportconfig.h"
46 #include "basetraceplotwidget.h"
47 
48 
49 namespace pappso
50 {
51 
52 
54 {
55  Q_OBJECT;
56 
57  public:
58  explicit DriftSpecTracePlotWidget(QWidget *parent,
59  const QString &x_axis_label,
60  const QString &y_axis_label);
61  virtual ~DriftSpecTracePlotWidget();
62 
63  /******* Mouse and keyboard event handlers *******/
64  /******* Mouse and keyboard event handlers *******/
65  virtual void keyPressEvent(QKeyEvent *event) override;
66  virtual void keyReleaseEvent(QKeyEvent *event) override;
67 
68  virtual void mouseMoveHandler(QMouseEvent *event) override;
69 
70  virtual void mousePressHandler(QMouseEvent *event) override;
71  virtual void mouseReleaseHandler(QMouseEvent *event) override;
72 
73  virtual void mouseMoveHandlerNotDraggingCursor() override;
74  virtual void mouseMoveHandlerDraggingCursor() override;
75  /******* Mouse and keyboard event handlers *******/
76 
77  signals:
78 
79  // Here we have signals that are specific of the mass spectrum-oriented
80  // version of the plot widget.
81 
82  protected:
83 };
84 
85 
86 } // namespace pappso
#define PMSPP_LIB_DECL
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39