DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
GraphView.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/GraphView.h to include/dbe/GraphView.hpp).
5
6#ifndef GRAPHVIEW_H
7#define GRAPHVIEW_H
8
10#include <QUuid>
11#include <QWidget>
12
16#include "ui_GraphView.h"
17
18#include "dbe/confaccessor.hpp"
19
20namespace dbe {
21namespace Ui {
22class GraphView;
23} // namespace Ui
24
26 : public QWidget
27 , private Ui::GraphView
28{
29 Q_OBJECT
30public:
32 explicit GraphView(QWidget* parent = nullptr);
33
34 void ConnectActions();
35 void SetupView();
36 void contextMenuEvent(QContextMenuEvent* Event);
37
38private slots:
40 void RedrawObject(tref Object);
41 void RedrawObject();
42 void CreateActions();
43 void editThisObject();
44 void deleteThisObject();
45 void copyObject();
46 void referencedBy_All();
48
49private:
51 // Qt::DropActions supportedDropActions() const;
53 QAction* editObject;
55 QAction* refByAc;
57 QAction* copyObjectAc;
59 QUuid const uuid;
60};
61} // end namespace dbe
62#endif // GRAPHVIEW_H
QAction * refByAc
Definition GraphView.hpp:55
void ConnectActions()
Definition GraphView.cpp:51
void RedrawObject(tref Object)
GraphView(QWidget *parent=nullptr)
Definition GraphView.cpp:23
void editThisObject()
void contextMenuEvent(QContextMenuEvent *Event)
void referencedBy_OnlyComposite()
QAction * refByAcOnlyComp
Definition GraphView.hpp:56
QUuid const uuid
Definition GraphView.hpp:59
void GetWindowConfiguration()
QMenu * ContextMenu
Definition GraphView.hpp:52
void deleteThisObject()
QAction * editObject
Definition GraphView.hpp:53
QAction * deleteObjectAc
Definition GraphView.hpp:54
Window WindowConfiguration
Definition GraphView.hpp:50
void referencedBy_All()
void CreateActions()
GraphicalObject * ClickedItem
Definition GraphView.hpp:58
QAction * copyObjectAc
Definition GraphView.hpp:57
Include QT Headers.
inner::configobject::tref tref
Definition tref.hpp:36