7#ifndef _CPATTERNSIMULATORSCENEWIDGET_H
8#define _CPATTERNSIMULATORSCENEWIDGET_H
12#include <QGraphicsView>
24class QGraphicsItemGroup;
25class QGraphicsRectItem;
26class QGraphicsSimpleTextItem;
87 void exportToPDF(QString filename,
bool postscript);
159 QGraphicsScene* scene;
160 QMatrix originalmatrix;
162 QGraphicsItemGroup* zoomgroup;
163 QGraphicsRectItem* zoomrect;
164 QGraphicsSimpleTextItem* zoomsimpletextitem;
166 QGraphicsSimpleTextItem* cursorsimpletextitem;
176 bool calledbyresizeevent;
178 deque<int> oldheight;
180 bool absoluteintensity;
199 bool enablemousemzselection;
205 double getMZRatioFromXPosition(
int x,
int w);
208 int getXPositionFromMZRatio(
double mzratio,
int w);
211 double getIntensityFromYPosition(
int y,
int h);
214 int getYPositionFromIntensity(
double intensity,
int h);
220 void updateZoomGroup();
223 void calculateMinMaxMZ();
226 double getMaximumIntensity();
252 void absoluteIntensityStateChanged(
bool state);
255 void rawDataStateChanged(
bool state);
258 void setMZInterval(
double minmz,
double maxmz);
261 void resetMZInterval();
264 void enableMouseMzSelectionTool(
bool enable);
The representation of a theoretical mass spectrum.
The class representing a peak list.
Definition: cPeaksList.h:68