Visualization of a branched peptide.
More...
#include <cBranchedWidget.h>
Visualization of a branched peptide.
◆ exportToPDF()
void cBranchedWidget::exportToPDF |
( |
QString |
filename, |
|
|
bool |
postscript |
|
) |
| |
Export peptide into a PDF or a PS file.
- Parameters
-
filename | filename |
postscript | if true then PS file is generated instead of PDF |
◆ exportToPNG()
void cBranchedWidget::exportToPNG |
( |
QString |
filename | ) |
|
Export peptide scene into a PNG file.
- Parameters
-
◆ exportToSVG()
void cBranchedWidget::exportToSVG |
( |
QString |
filename | ) |
|
Export peptide scene into a SVG file.
- Parameters
-
◆ hidePeakLabels()
void cBranchedWidget::hidePeakLabels |
( |
bool |
state | ) |
|
Hide/Show labels of peaks.
- Parameters
-
state | the peak labels are hidden when state is true |
◆ initialize()
Initialize the widget.
- Parameters
-
parameters | a pointer to parameters |
theoreticalspectrum | a pointer to a theoretical spectrum |
◆ paintEvent()
void cBranchedWidget::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
Handle the paint event.
- Parameters
-
event | pointer to QPaintEvent |
◆ setReportIsomers()
void cBranchedWidget::setReportIsomers |
( |
bool |
reportisomers | ) |
|
Set the report isomers state.
- Parameters
-
reportisomers | true if isomers are reported; false otherwise |
The documentation for this class was generated from the following files: