forked from avartak/TkCommissioner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrmdetails.h
54 lines (41 loc) · 1.37 KB
/
frmdetails.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef DETAILS_H
#define DETAILS_H
#include "ui_frmdetails.h"
#include <QStandardItemModel>
#include <QString>
#include <QVector>
#include <TTree.h>
#include <utility>
#include <map>
#include "TreeViewerRunInfo.h"
class SelectionDetails : public QConnectedTabWidget, private Ui::SelectionDetails {
Q_OBJECT
public:
SelectionDetails(QWidget*, const TreeViewerRunInfo&);
~SelectionDetails();
void populate(TTree* tree, const QVector<int>& sel, const QString& varname);
public Q_SLOTS:
void on_btnSelectAll_clicked();
void on_btnUnselectAll_clicked();
void on_btnSelectTagged_clicked();
void on_btnUnselectTagged_clicked();
void on_btnShowTaggedSelected_clicked();
void on_btnShowAllSelected_clicked();
void on_btnShowTaggedAll_clicked();
void on_btnAddTag_clicked();
void on_btnTagSelected_clicked();
void on_btnShowSource_clicked();
void on_btnShowTrend_clicked();
void on_btnSave_clicked();
private:
QVector<QStandardItem*> getSelectedList();
std::map<int, std::string> dbTags;
QStandardItemModel* selModel;
QStandardItemModel* tagModel;
QStandardItemModel* curModel;
QString var;
QString run;
QString refrun;
std::multimap<int, std::pair<int,QStandardItem*> > openTktMap;
};
#endif