CycloBranch
cParametersWidget Class Reference

The class representing a widget for editing parameters of the application. More...

#include <cParametersWidget.h>

Inheritance diagram for cParametersWidget:

Signals

void sendSequenceLine (int peptidetypeindex, QString sequence)
 Send index of peptide type and searched sequence. More...
 
void setHCON ()
 Set list of neutral losses to HCON.
 
void clearIonSelection ()
 Clear the selection of ions.
 

Public Member Functions

 cParametersWidget (cGlobalPreferences *globalpreferences, QWidget *parent=(QWidget *) 0)
 The constructor. More...
 
 ~cParametersWidget ()
 The destructor.
 
cParametersgetParameters ()
 Get parameters. More...
 
void setAndRestoreParameters (cParameters &parameters)
 Set and restore parameters. More...
 
void closeEvent (QCloseEvent *event)
 Handle the window close event. More...
 
void setSequence (int peptidetypeindex, QString sequence)
 Set peptide type and searched sequence. More...
 
void setTag (int peptidetypeindex, QString tag)
 Set peptide type and sequence tag. 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 class representing a widget for editing parameters of the application.

Constructor & Destructor Documentation

◆ cParametersWidget()

cParametersWidget::cParametersWidget ( cGlobalPreferences globalpreferences,
QWidget *  parent = (QWidget *)0 
)

The constructor.

Parameters
globalpreferencesglobal preferences of the application
parentpointer to a parent widget

Member Function Documentation

◆ applyGlobalPreferences()

void cParametersWidget::applyGlobalPreferences ( cGlobalPreferences globalpreferences)

Apply new global preferences.

Parameters
globalpreferencesglobal preferences of the application

◆ closeEvent()

void cParametersWidget::closeEvent ( QCloseEvent *  event)

Handle the window close event.

Parameters
eventpointer to QCloseEvent

◆ getParameters()

cParameters & cParametersWidget::getParameters ( )

Get parameters.

Return values
cParametersreference to parameters

◆ keyPressEvent()

void cParametersWidget::keyPressEvent ( QKeyEvent *  event)
protected

Handle a key press event.

Parameters
eventpointer to QKeyEvent

◆ sendSequenceLine

void cParametersWidget::sendSequenceLine ( int  peptidetypeindex,
QString  sequence 
)
signal

Send index of peptide type and searched sequence.

Parameters
peptidetypeindexan index of current peptide type
sequencesearched sequence

◆ setAndRestoreParameters()

void cParametersWidget::setAndRestoreParameters ( cParameters parameters)

Set and restore parameters.

Parameters
parametersreference to parameters

◆ setSequence()

void cParametersWidget::setSequence ( int  peptidetypeindex,
QString  sequence 
)

Set peptide type and searched sequence.

Parameters
peptidetypeindexan index of current peptide type
sequencesearched sequence

◆ setTag()

void cParametersWidget::setTag ( int  peptidetypeindex,
QString  tag 
)

Set peptide type and sequence tag.

Parameters
peptidetypeindexan index of current peptide type
tagsequence tag

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