CycloBranch
cPatternSimulatorWidget Class Reference

The implementation of an isotopic pattern simulator (window). More...

#include <cPatternSimulatorWidget.h>

Inheritance diagram for cPatternSimulatorWidget:

Signals

void emitMZInterval (double minmz, double maxmz)
 The signal is emitted when the range of m/z ratios is changed. More...
 
void rawDataStateChangedSignal (bool state)
 The signal is emitted when raw data state was changed. More...
 

Public Member Functions

 cPatternSimulatorWidget (cGlobalPreferences *globalpreferences, QWidget *parent)
 The constructor. More...
 
 ~cPatternSimulatorWidget ()
 The destructor.
 
void closeEvent (QCloseEvent *event)
 Handle the window close event. More...
 
void applyGlobalPreferences (cGlobalPreferences *globalpreferences)
 Apply new global preferences. More...
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 Handle a key press event. More...
 

Detailed Description

The implementation of an isotopic pattern simulator (window).

Constructor & Destructor Documentation

◆ cPatternSimulatorWidget()

cPatternSimulatorWidget::cPatternSimulatorWidget ( cGlobalPreferences globalpreferences,
QWidget *  parent 
)

The constructor.

Parameters
globalpreferencesglobal preferences of the application
parentpointer to a parent widget

Member Function Documentation

◆ applyGlobalPreferences()

void cPatternSimulatorWidget::applyGlobalPreferences ( cGlobalPreferences globalpreferences)

Apply new global preferences.

Parameters
globalpreferencesglobal preferences of the application

◆ closeEvent()

void cPatternSimulatorWidget::closeEvent ( QCloseEvent *  event)

Handle the window close event.

Parameters
eventpointer to QCloseEvent

◆ emitMZInterval

void cPatternSimulatorWidget::emitMZInterval ( double  minmz,
double  maxmz 
)
signal

The signal is emitted when the range of m/z ratios is changed.

Parameters
minmza minimum threshold of m/z ratio
maxmza maximum threshold of m/z ratio

◆ keyPressEvent()

void cPatternSimulatorWidget::keyPressEvent ( QKeyEvent *  event)
protected

Handle a key press event.

Parameters
eventpointer to QKeyEvent

◆ rawDataStateChangedSignal

void cPatternSimulatorWidget::rawDataStateChangedSignal ( bool  state)
signal

The signal is emitted when raw data state was changed.

Parameters
statecurrent state

The documentation for this class was generated from the following files: