CycloBranch
cFragmentIonsListWidget.h
Go to the documentation of this file.
1
7#ifndef _CFRAGMENTIONSLISTWIDGET_H
8#define _CFRAGMENTIONSLISTWIDGET_H
9
10#include <string>
11#include <QListWidget>
12#include <QHBoxLayout>
13#include <QVBoxLayout>
14
15
16// forward declaration
17class QPushButton;
18class QHBoxLayout;
19class QVBoxLayout;
20
21
25class cFragmentIonsListWidget : public QWidget
26{
27 Q_OBJECT
28
29public:
30
31
36 cFragmentIonsListWidget(QObject* parent);
37
38
43
44
49 QListWidget* getList();
50
51
52private:
53 QObject* parent;
54
55 QListWidget* list;
56 QPushButton* selectallbutton;
57 QPushButton* clearallbutton;
58 QPushButton* resetbutton;
59
60 QHBoxLayout* hbox;
61 QVBoxLayout* vbox1;
62 QVBoxLayout* vbox2;
63
64
65private slots:
66
67 void selectAllItems();
68
69 void clearAllItems();
70
71 void sendResetReleased();
72
73signals:
74
79
80};
81
82#endif
The widget for selection of fragment ion types.
Definition: cFragmentIonsListWidget.h:26
cFragmentIonsListWidget(QObject *parent)
The constructor.
Definition: cFragmentIonsListWidget.cpp:8
~cFragmentIonsListWidget()
The destructor.
Definition: cFragmentIonsListWidget.cpp:47
void resetReleased()
Reset button has been released.
QListWidget * getList()
Access to QListWidget.
Definition: cFragmentIonsListWidget.cpp:59