DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
dbe
include
dbe
CustomTableView.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/CustomTableView.h to include/dbe/CustomTableView.hpp).
5
6
#ifndef CUSTOMTABLEVIEW_H
7
#define CUSTOMTABLEVIEW_H
8
9
#include "
conffwk/ConfigObject.hpp
"
10
#include "
dbe/table.hpp
"
11
#include "
dbe/view_common_interface.hpp
"
12
13
#include <QPainter>
14
#include <QPushButton>
15
#include <QStyleOptionViewItem>
16
#include <QTableView>
17
#include <QUuid>
18
19
namespace
dbe
{
20
21
class
CustomTableView
22
:
public
QTableView
23
,
public
view_common_interface
24
{
25
Q_OBJECT
26
27
signals:
28
void
OpenEditor
(
tref
Object);
29
30
public
:
31
explicit
CustomTableView
(QWidget* parent = 0);
32
void
contextMenuEvent
(QContextMenuEvent* Event);
33
34
private
slots:
35
void
slot_delete_objects
();
36
void
slot_create_object
();
37
void
slot_edit_object
();
38
void
slot_copy_object
();
39
40
void
FindObjectSlot
();
41
42
void
slot_go_to_object
();
43
void
GoToNext
();
44
45
void
EditedSearchString
(QString Text);
46
47
void
referencedBy_OnlyComposite
();
48
void
referencedBy_All
();
49
50
private
:
51
void
CreateActions
();
52
53
void
referencedBy
(
tref
obj,
bool
onlyComposite);
54
55
QMenu*
m_context_menu
;
56
QAction*
FindObject
;
57
QAction*
editObject
;
58
QAction*
deleteObjectAc
;
59
QAction*
refByAc
;
60
QAction*
refByAcOnlyComp
;
61
QAction*
copyObjectAc
;
62
64
QDialog*
m_find_object_dialog
;
65
QLineEdit*
LineEdit
;
66
QPushButton*
NextButton
;
67
QPushButton*
GoButton
;
68
70
int
ListIndex
;
71
QModelIndexList
ListOfMatch
;
72
73
int
m_last_object_item
;
74
};
75
}
// end namespace dbe
76
#endif
// CUSTOMTABLEVIEW_H
ConfigObject.hpp
dbe::CustomTableView::deleteObjectAc
QAction * deleteObjectAc
Definition
CustomTableView.hpp:58
dbe::CustomTableView::m_context_menu
QMenu * m_context_menu
Definition
CustomTableView.hpp:55
dbe::CustomTableView::ListIndex
int ListIndex
Match Variables.
Definition
CustomTableView.hpp:70
dbe::CustomTableView::refByAcOnlyComp
QAction * refByAcOnlyComp
Definition
CustomTableView.hpp:60
dbe::CustomTableView::GoToNext
void GoToNext()
Definition
CustomTableView.cpp:166
dbe::CustomTableView::CustomTableView
CustomTableView(QWidget *parent=0)
Including QT::include <QHeaderView>.
Definition
CustomTableView.cpp:30
dbe::CustomTableView::OpenEditor
void OpenEditor(tref Object)
dbe::CustomTableView::GoButton
QPushButton * GoButton
Definition
CustomTableView.hpp:67
dbe::CustomTableView::editObject
QAction * editObject
Definition
CustomTableView.hpp:57
dbe::CustomTableView::slot_go_to_object
void slot_go_to_object()
Definition
CustomTableView.cpp:128
dbe::CustomTableView::FindObject
QAction * FindObject
Definition
CustomTableView.hpp:56
dbe::CustomTableView::copyObjectAc
QAction * copyObjectAc
Definition
CustomTableView.hpp:61
dbe::CustomTableView::m_find_object_dialog
QDialog * m_find_object_dialog
File Dialog.
Definition
CustomTableView.hpp:64
dbe::CustomTableView::FindObjectSlot
void FindObjectSlot()
Definition
CustomTableView.cpp:89
dbe::CustomTableView::referencedBy_All
void referencedBy_All()
Definition
CustomTableView.cpp:244
dbe::CustomTableView::refByAc
QAction * refByAc
Definition
CustomTableView.hpp:59
dbe::CustomTableView::m_last_object_item
int m_last_object_item
Definition
CustomTableView.hpp:73
dbe::CustomTableView::slot_create_object
void slot_create_object()
Definition
CustomTableView.cpp:282
dbe::CustomTableView::referencedBy
void referencedBy(tref obj, bool onlyComposite)
Definition
CustomTableView.cpp:358
dbe::CustomTableView::CreateActions
void CreateActions()
Definition
CustomTableView.cpp:318
dbe::CustomTableView::EditedSearchString
void EditedSearchString(QString Text)
Definition
CustomTableView.cpp:191
dbe::CustomTableView::slot_copy_object
void slot_copy_object()
Definition
CustomTableView.cpp:262
dbe::CustomTableView::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *Event)
Definition
CustomTableView.cpp:65
dbe::CustomTableView::NextButton
QPushButton * NextButton
Definition
CustomTableView.hpp:66
dbe::CustomTableView::LineEdit
QLineEdit * LineEdit
Definition
CustomTableView.hpp:65
dbe::CustomTableView::slot_delete_objects
void slot_delete_objects()
Definition
CustomTableView.cpp:291
dbe::CustomTableView::referencedBy_OnlyComposite
void referencedBy_OnlyComposite()
Definition
CustomTableView.cpp:225
dbe::CustomTableView::slot_edit_object
void slot_edit_object()
Definition
CustomTableView.cpp:205
dbe::CustomTableView::ListOfMatch
QModelIndexList ListOfMatch
Definition
CustomTableView.hpp:71
dbe::view_common_interface
Definition
view_common_interface.hpp:21
dbe
Include QT Headers.
Definition
BatchChangeWidget.hpp:16
dbe::tref
inner::configobject::tref tref
Definition
tref.hpp:36
table.hpp
view_common_interface.hpp
Generated on
for DUNE-DAQ by
1.18.0