CycloBranch
cBranchCyclicWidget Class Reference

Visualization of a branch-cyclic peptide. More...

#include <cBranchCyclicWidget.h>

Inheritance diagram for cBranchCyclicWidget:

Public Member Functions

 cBranchCyclicWidget ()
 The constructor.
 
void initialize (cParameters *parameters, cTheoreticalSpectrum *theoreticalspectrum)
 Initialize the widget. More...
 
void exportToPDF (QString filename, bool postscript)
 Export peptide into a PDF or a PS file. More...
 
void exportToPNG (QString filename)
 Export peptide scene into a PNG file. More...
 
void exportToSVG (QString filename)
 Export peptide scene into a SVG file. More...
 
void setReportIsomers (bool reportisomers)
 Set the report isomers state. More...
 
void hidePeakLabels (bool state)
 Hide/Show labels of peaks. More...
 

Protected Member Functions

void paintEvent (QPaintEvent *event)
 Handle the paint event. More...
 

Detailed Description

Visualization of a branch-cyclic peptide.

Member Function Documentation

◆ exportToPDF()

void cBranchCyclicWidget::exportToPDF ( QString  filename,
bool  postscript 
)

Export peptide into a PDF or a PS file.

Parameters
filenamefilename
postscriptif true then PS file is generated instead of PDF

◆ exportToPNG()

void cBranchCyclicWidget::exportToPNG ( QString  filename)

Export peptide scene into a PNG file.

Parameters
filenamefilename

◆ exportToSVG()

void cBranchCyclicWidget::exportToSVG ( QString  filename)

Export peptide scene into a SVG file.

Parameters
filenamefilename

◆ hidePeakLabels()

void cBranchCyclicWidget::hidePeakLabels ( bool  state)

Hide/Show labels of peaks.

Parameters
statethe peak labels are hidden when state is true

◆ initialize()

void cBranchCyclicWidget::initialize ( cParameters parameters,
cTheoreticalSpectrum theoreticalspectrum 
)

Initialize the widget.

Parameters
parametersa pointer to parameters
theoreticalspectruma pointer to a theoretical spectrum

◆ paintEvent()

void cBranchCyclicWidget::paintEvent ( QPaintEvent *  event)
protected

Handle the paint event.

Parameters
eventpointer to QPaintEvent

◆ setReportIsomers()

void cBranchCyclicWidget::setReportIsomers ( bool  reportisomers)

Set the report isomers state.

Parameters
reportisomerstrue if isomers are reported; false otherwise

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