DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
TableTab.hpp
Go to the documentation of this file.
1// DUNE DAQ modification notice:
2// This file has been modified from the original ATLAS dbe source for the DUNE DAQ project.
3// Fork baseline commit: dbe-02-12-17 (2022-05-12).
4// Renamed since fork: yes (from dbe/TableTab.h to include/dbe/TableTab.hpp).
5
6#ifndef TABLETAB_H
7#define TABLETAB_H
8
10#include "dbe/table.hpp"
12
13#include <QString>
14#include <QTabWidget>
18
19namespace dbe
20{
21
22class TableTab: public QWidget
23{
24 Q_OBJECT
25public:
26 TableTab ( QWidget * parent = 0 );
27 ~TableTab();
32 void CreateModels();
33 void DisconnectView();
34 void ResetTableView();
35 void ResizeHeaders();
36
37protected:
38 void dropEvent ( QDropEvent * event ) override;
39 void dragEnterEvent ( QDragEnterEvent * event ) override;
40
41private:
46 QTabWidget * this_holder;
47
48 void create_models();
49 void reset_models();
50
51
52public slots:
53 void ResetTabView();
54
55signals:
56 void sig_data_dropped ( QMimeData const & data, Qt::DropAction );
57
58};
59
60} // namespace dbe
61#endif // TABLETAB_H
void ResetTableView()
Definition TableTab.cpp:92
void create_models()
Definition TableTab.cpp:50
CustomTableView * this_view
Definition TableTab.hpp:45
dbe::models::table * this_model
Definition TableTab.hpp:42
void sig_data_dropped(QMimeData const &data, Qt::DropAction)
void CreateModels()
Definition TableTab.cpp:71
QTabWidget * this_holder
Definition TableTab.hpp:46
void ResizeHeaders()
Definition TableTab.cpp:103
TableTab(QWidget *parent=0)
Including Qt.
Definition TableTab.cpp:24
void DisconnectView()
Definition TableTab.cpp:87
void ResetTabView()
Definition TableTab.cpp:116
CustomDelegate * this_delegate
Definition TableTab.hpp:44
dbe::models::table * GetTableModel() const
Definition TableTab.cpp:178
void reset_models()
Definition TableTab.cpp:65
dbe::models::tableselection * GetTableFilter() const
Definition TableTab.cpp:183
void dragEnterEvent(QDragEnterEvent *event) override
Definition TableTab.cpp:130
CustomTableView * GetTableView() const
Definition TableTab.cpp:193
void dropEvent(QDropEvent *event) override
Definition TableTab.cpp:171
CustomDelegate * GetTableDelegate() const
Definition TableTab.cpp:188
dbe::models::tableselection * this_filter
Definition TableTab.hpp:43
Include QT Headers.