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 "
dbe/table.hpp
"
10
#include "
dbe/view_common_interface.hpp
"
11
#include "
conffwk/ConfigObject.hpp
"
12
13
#include <QTableView>
14
#include <QPushButton>
15
#include <QUuid>
16
#include <QPainter>
17
#include <QStyleOptionViewItem>
18
19
namespace
dbe
20
{
21
22
class
CustomTableView
:
public
QTableView,
public
view_common_interface
23
{
24
Q_OBJECT
25
26
signals:
27
void
OpenEditor
(
tref
Object );
28
29
public
:
30
explicit
CustomTableView
( QWidget * parent = 0 );
31
void
contextMenuEvent
( QContextMenuEvent * Event );
32
33
private
slots:
34
void
slot_delete_objects
();
35
void
slot_create_object
();
36
void
slot_edit_object
();
37
void
slot_copy_object
();
38
39
void
FindObjectSlot
();
40
41
void
slot_go_to_object
();
42
void
GoToNext
();
43
44
void
EditedSearchString
( QString Text );
45
46
void
referencedBy_OnlyComposite
();
47
void
referencedBy_All
();
48
49
private
:
50
void
CreateActions
();
51
52
void
referencedBy
(
tref
obj,
bool
onlyComposite );
53
54
QMenu *
m_context_menu
;
55
QAction *
FindObject
;
56
QAction *
editObject
;
57
QAction *
deleteObjectAc
;
58
QAction *
refByAc
;
59
QAction *
refByAcOnlyComp
;
60
QAction *
copyObjectAc
;
61
63
QDialog *
m_find_object_dialog
;
64
QLineEdit *
LineEdit
;
65
QPushButton *
NextButton
;
66
QPushButton *
GoButton
;
67
69
int
ListIndex
;
70
QModelIndexList
ListOfMatch
;
71
72
int
m_last_object_item
;
73
};
74
}
// end namespace dbe
75
#endif
// CUSTOMTABLEVIEW_H
ConfigObject.hpp
dbe::CustomTableView::deleteObjectAc
QAction * deleteObjectAc
Definition
CustomTableView.hpp:57
dbe::CustomTableView::m_context_menu
QMenu * m_context_menu
Definition
CustomTableView.hpp:54
dbe::CustomTableView::ListIndex
int ListIndex
Match Variables.
Definition
CustomTableView.hpp:69
dbe::CustomTableView::refByAcOnlyComp
QAction * refByAcOnlyComp
Definition
CustomTableView.hpp:59
dbe::CustomTableView::GoToNext
void GoToNext()
Definition
CustomTableView.cpp:170
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:66
dbe::CustomTableView::editObject
QAction * editObject
Definition
CustomTableView.hpp:56
dbe::CustomTableView::slot_go_to_object
void slot_go_to_object()
Definition
CustomTableView.cpp:130
dbe::CustomTableView::FindObject
QAction * FindObject
Definition
CustomTableView.hpp:55
dbe::CustomTableView::copyObjectAc
QAction * copyObjectAc
Definition
CustomTableView.hpp:60
dbe::CustomTableView::m_find_object_dialog
QDialog * m_find_object_dialog
File Dialog.
Definition
CustomTableView.hpp:63
dbe::CustomTableView::FindObjectSlot
void FindObjectSlot()
Definition
CustomTableView.cpp:90
dbe::CustomTableView::referencedBy_All
void referencedBy_All()
Definition
CustomTableView.cpp:258
dbe::CustomTableView::refByAc
QAction * refByAc
Definition
CustomTableView.hpp:58
dbe::CustomTableView::m_last_object_item
int m_last_object_item
Definition
CustomTableView.hpp:72
dbe::CustomTableView::slot_create_object
void slot_create_object()
Definition
CustomTableView.cpp:301
dbe::CustomTableView::referencedBy
void referencedBy(tref obj, bool onlyComposite)
Definition
CustomTableView.cpp:388
dbe::CustomTableView::CreateActions
void CreateActions()
Definition
CustomTableView.cpp:346
dbe::CustomTableView::EditedSearchString
void EditedSearchString(QString Text)
Definition
CustomTableView.cpp:199
dbe::CustomTableView::slot_copy_object
void slot_copy_object()
Definition
CustomTableView.cpp:278
dbe::CustomTableView::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *Event)
Definition
CustomTableView.cpp:65
dbe::CustomTableView::NextButton
QPushButton * NextButton
Definition
CustomTableView.hpp:65
dbe::CustomTableView::LineEdit
QLineEdit * LineEdit
Definition
CustomTableView.hpp:64
dbe::CustomTableView::slot_delete_objects
void slot_delete_objects()
Definition
CustomTableView.cpp:309
dbe::CustomTableView::referencedBy_OnlyComposite
void referencedBy_OnlyComposite()
Definition
CustomTableView.cpp:237
dbe::CustomTableView::slot_edit_object
void slot_edit_object()
Definition
CustomTableView.cpp:212
dbe::CustomTableView::ListOfMatch
QModelIndexList ListOfMatch
Definition
CustomTableView.hpp:70
dbe::view_common_interface
Definition
view_common_interface.hpp:22
dbe
Include QT Headers.
Definition
BatchChangeWidget.hpp:18
dbe::tref
inner::configobject::tref tref
Definition
tref.hpp:35
table.hpp
view_common_interface.hpp
Generated on
for DUNE-DAQ by
1.17.0