7#ifndef _CDRAWPEPTIDEWIDGET_H
8#define _CDRAWPEPTIDEWIDGET_H
11#include <QDesktopServices>
75 void setSequence(
int peptidetypeindex, QString sequence);
92 QWidget* drawpeptideformwidget;
93 QFormLayout* drawpeptideformlayout;
94 QComboBox* peptidetypecombobox;
96 QLineEdit* sequenceline;
97 QLabel* sequencestatuslabel;
98 QAction *sequenceactioncopy;
99 QAction *sequenceactionsetsequence;
100 QAction *sequenceactionsettag;
101 QAction *sequenceactioninsert;
103 QToolButton* sequencetoolbutton;
104 QToolBar *sequencetoolbar;
105 QHBoxLayout* sequencelayout;
107 QCheckBox* separateblocks;
108 QSpinBox* numberofblocksbackbone;
109 QSpinBox* numberofblocksbranch;
110 QSpinBox* branchposition;
111 QHBoxLayout* backboneblocks;
112 QWidget* backboneblockswidget;
113 QHBoxLayout* branchblocks;
114 QWidget* branchblockswidget;
123 QHBoxLayout* mainbox;
126 void drawPeptide(vector<string>& composition,
cBricksDatabase& bricksdb,
int branchstart,
int branchend);
131 void separateBlocksChanged(
int state);
133 void numberOfBackboneBlocksChanged(
int numberofblocks);
135 void numberOfBranchBlocksChanged(
int numberofblocks);
137 void peptideTypeChanged(
int index);
141 void sequenceSetSequence();
143 void sequenceSetTag();
145 void sequenceInsert();
147 void blocksChanged();
149 void sequenceChanged();
167 void sendTag(
int peptidetypeindex, QString tag);
The class representing a database of building blocks (bricks).
Definition: cBricksDatabase.h:66
The class representing a theoretical mass spectrum.
Definition: cTheoreticalSpectrum.h:106