7#ifndef _CSPECTRUMSCENEWIDGET_H
8#define _CSPECTRUMSCENEWIDGET_H
12#include <QGraphicsView>
24class QGraphicsItemGroup;
25class QGraphicsRectItem;
26class QGraphicsSimpleTextItem;
68 void exportToPDF(QString filename,
bool postscript);
161 QGraphicsScene* scene;
162 QMatrix originalmatrix;
164 QGraphicsItemGroup* zoomgroup;
165 QGraphicsRectItem* zoomrect;
166 QGraphicsSimpleTextItem* zoomsimpletextitem;
168 QGraphicsSimpleTextItem* cursorsimpletextitem;
180 bool calledbyresizeevent;
182 deque<int> oldheight;
184 string visibleionseriespart1;
185 string visibleionseriespart2;
186 string visibleneutralloss;
187 int coloredrotationid;
188 string coloredrotationstring;
189 int coloredtrotationid;
191 bool absoluteintensity;
213 bool enablemousemzselection;
215 double maxmzoverhead;
220 double getMZRatioFromXPosition(
int x,
int w);
223 int getXPositionFromMZRatio(
double mzratio,
int w);
226 double getIntensityFromYPosition(
int y,
int h);
232 void updateZoomGroup();
235 void calculateMinMaxMZ();
238 double getMaximumIntensity();
264 void absoluteIntensityStateChanged(
bool state);
267 void rawDataStateChanged(
bool state);
270 void setMZInterval(
double minmz,
double maxmz);
273 void resetMZInterval();
276 void ionSeriesChanged(QString text);
279 void neutralLossChanged(QString text);
282 void rotationChanged(
int index);
285 void trotationChanged(
int index);
288 void rotationChanged(QString text);
291 void enableMouseMzSelectionTool(
bool enable);
The representation of a theoretical mass spectrum.
The class storing parameters of the application.
Definition: cParameters.h:82
The class representing a series of peaklists.
Definition: cPeakListSeries.h:21
The class representing a peak list.
Definition: cPeaksList.h:68
The class representing a theoretical mass spectrum.
Definition: cTheoreticalSpectrum.h:106