7#ifndef _CBRICKSDATABASEWIDGET_H
8#define _CBRICKSDATABASEWIDGET_H
11#include <QDesktopServices>
18#include <QStandardItemModel>
19#include <QStandardItem>
99 QToolBar* toolbarFile;
100 QAction* actionNewDatabase;
101 QAction* actionOpenDatabase;
102 QAction* actionSaveDatabase;
103 QAction* actionSaveDatabaseAs;
104 QAction* actionImportDatabase;
105 QAction* actionCloseWindow;
107 QToolBar* toolbarEdit;
108 QAction* actionAddRow;
109 QAction* actionRemoveSelectedRows;
110 QAction* actionSelectAll;
111 QAction* actionUnselectAll;
113 QToolBar* toolbarHelp;
114 QAction* actionHTMLDocumentation;
116 QToolBar* toolbarFilter;
117 QWidget* rowsfilterwidget;
118 QHBoxLayout* rowsfilterhbox;
119 QComboBox* rowsfilteroperator;
120 QComboBox* rowsfiltercombobox1;
121 QComboBox* rowsfiltercomparatorcombobox1;
122 QLineEdit* rowsfilterline1;
123 QComboBox* rowsfiltercombobox2;
124 QComboBox* rowsfiltercomparatorcombobox2;
125 QLineEdit* rowsfilterline2;
126 QCheckBox* rowsfiltercasesensitive;
127 QCheckBox* rowsfilterwholeword;
128 QPushButton* rowsfilterbutton;
129 QPushButton* rowsfilterclearbutton;
131 QTableView* database;
132 QStandardItemModel* databasemodel;
134 QVBoxLayout* mainlayout;
137 QString databasefile;
139 ifstream inputstream;
140 ofstream outputstream;
153 void setDataModified(
bool datamodified);
173 bool saveDatabaseAs();
175 void saveDatabaseCheck();
179 void removeSelectedRows();
181 void itemChanged(QStandardItem* item);
183 void headerItemClicked(
int index);
189 void createNewDatabase();
191 void importDatabase();
197 void showHTMLDocumentation();
The database of building blocks.
A proxy model for editor of database of building blocks.
A checkbox item delegate.
The representation of a set of peptide sequence candidates.
The class representing a database of building blocks (bricks).
Definition: cBricksDatabase.h:66
A proxy model for editor of database of building blocks.
Definition: cBricksDatabaseProxyModel.h:21
The class storing global preferences.
Definition: cGlobalPreferences.h:104
Auxiliary funtions and structures.