7#ifndef _CMODIFICATIONSWIDGET_H
8#define _CMODIFICATIONSWIDGET_H
11#include <QDesktopServices>
18#include <QStandardItemModel>
19#include <QStandardItem>
90 QToolBar* toolbarFile;
91 QAction* actionNewDatabase;
92 QAction* actionOpenDatabase;
93 QAction* actionSaveDatabase;
94 QAction* actionSaveDatabaseAs;
95 QAction* actionImportDatabase;
96 QAction* actionCloseWindow;
98 QToolBar* toolbarEdit;
99 QAction* actionAddRow;
100 QAction* actionRemoveSelectedRows;
101 QAction* actionSelectAll;
102 QAction* actionUnselectAll;
104 QToolBar* toolbarHelp;
105 QAction* actionHTMLDocumentation;
107 QToolBar* toolbarFilter;
108 QWidget* rowsfilterwidget;
109 QHBoxLayout* rowsfilterhbox;
110 QComboBox* rowsfilteroperator;
111 QComboBox* rowsfiltercombobox1;
112 QComboBox* rowsfiltercomparatorcombobox1;
113 QLineEdit* rowsfilterline1;
114 QComboBox* rowsfiltercombobox2;
115 QComboBox* rowsfiltercomparatorcombobox2;
116 QLineEdit* rowsfilterline2;
117 QCheckBox* rowsfiltercasesensitive;
118 QCheckBox* rowsfilterwholeword;
119 QPushButton* rowsfilterbutton;
120 QPushButton* rowsfilterclearbutton;
122 QTableView* database;
123 QStandardItemModel* databasemodel;
125 QVBoxLayout* mainlayout;
128 QString databasefile;
130 ifstream inputstream;
131 ofstream outputstream;
132 vector<cFragmentIonType> modifications;
142 bool checkFormula(
int row,
const string& summary);
144 void setDataModified(
bool datamodified);
164 bool saveDatabaseAs();
166 void saveDatabaseCheck();
170 void removeSelectedRows();
172 void itemChanged(QStandardItem* item);
174 void headerItemClicked(
int index);
180 void createNewDatabase();
182 void importDatabase();
188 void showHTMLDocumentation();
A checkbox item delegate.
Basic definitions of fragment ions occurring in the mass spectra.
The representation of a set of peptide sequence candidates.
A proxy model for editor of database of modifications.
The class storing global preferences.
Definition: cGlobalPreferences.h:104
A proxy model for editor of database of modifications.
Definition: cModificationsProxyModel.h:21
Auxiliary funtions and structures.