CycloBranch
cDrawPeptideWidget Class Reference

Draw a peptide from a sequence of building blocks. More...

#include <cDrawPeptideWidget.h>

Inheritance diagram for cDrawPeptideWidget:

Signals

void sendSequence (int peptidetypeindex, QString sequence)
 Send index of peptide type and searched sequence (a request for cParametersWidget). More...
 
void sendTag (int peptidetypeindex, QString tag)
 Send index of peptide type and sequence tag (a request for cParametersWidget). More...
 
void sendInsert (int peptidetypeindex, QString sequence)
 Send index of peptide type and sequence (a request for cSequenceDatabaseWidget). More...
 

Public Member Functions

 cDrawPeptideWidget (QWidget *parent=(QWidget *) 0)
 The constructor. More...
 
 ~cDrawPeptideWidget ()
 The destructor.
 
void closeEvent (QCloseEvent *event)
 Handle the window close event. More...
 
void setSequence (int peptidetypeindex, QString sequence)
 Set peptide sequence. More...
 

Protected Member Functions

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

Detailed Description

Draw a peptide from a sequence of building blocks.

Constructor & Destructor Documentation

◆ cDrawPeptideWidget()

cDrawPeptideWidget::cDrawPeptideWidget ( QWidget *  parent = (QWidget *)0)

The constructor.

Parameters
parentpointer to a parent widget

Member Function Documentation

◆ closeEvent()

void cDrawPeptideWidget::closeEvent ( QCloseEvent *  event)

Handle the window close event.

Parameters
eventpointer to QCloseEvent

◆ keyPressEvent()

void cDrawPeptideWidget::keyPressEvent ( QKeyEvent *  event)
protected

Handle a key press event.

Parameters
eventpointer to QKeyEvent

◆ sendInsert

void cDrawPeptideWidget::sendInsert ( int  peptidetypeindex,
QString  sequence 
)
signal

Send index of peptide type and sequence (a request for cSequenceDatabaseWidget).

Parameters
peptidetypeindexan index of current peptide type
sequencesequence

◆ sendSequence

void cDrawPeptideWidget::sendSequence ( int  peptidetypeindex,
QString  sequence 
)
signal

Send index of peptide type and searched sequence (a request for cParametersWidget).

Parameters
peptidetypeindexan index of current peptide type
sequencesearched sequence

◆ sendTag

void cDrawPeptideWidget::sendTag ( int  peptidetypeindex,
QString  tag 
)
signal

Send index of peptide type and sequence tag (a request for cParametersWidget).

Parameters
peptidetypeindexan index of current peptide type
tagsequence tag

◆ setSequence()

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

Set peptide sequence.

Parameters
peptidetypeindexan index of current peptide type
sequencesearched sequence

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