DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
CustomTableView.hpp
Go to the documentation of this file.
1#ifndef CUSTOMTABLEVIEW_H
2#define CUSTOMTABLEVIEW_H
3
4#include "dbe/table.hpp"
7
8#include <QTableView>
9#include <QPushButton>
10#include <QUuid>
11#include <QPainter>
12#include <QStyleOptionViewItem>
13
14namespace dbe
15{
16
17class CustomTableView: public QTableView, public view_common_interface
18{
19 Q_OBJECT
20
21signals:
22 void OpenEditor ( tref Object );
23
24public:
25 explicit CustomTableView ( QWidget * parent = 0 );
26 void contextMenuEvent ( QContextMenuEvent * Event );
27
28private slots:
30 void slot_create_object();
31 void slot_edit_object();
32 void slot_copy_object();
33
34 void FindObjectSlot();
35
36 void GoToFile();
37 void GoToNext();
38
39 void EditedSearchString ( QString Text );
40
42 void referencedBy_All();
43
44private:
45 void CreateActions();
46
47 void referencedBy ( tref obj, bool onlyComposite );
48
49 QMenu * ContextMenu;
50 QAction * FindObject;
51 QAction * editObject;
52 QAction * deleteObjectAc;
53 QAction * refByAc;
54 QAction * refByAcOnlyComp;
55 QAction * copyObjectAc;
56
58 QDialog * FindFileDialog;
59 QLineEdit * LineEdit;
60 QPushButton * NextButton;
61 QPushButton * GoButton;
62
65 QModelIndexList ListOfMatch;
66
67};
68} // end namespace dbe
69#endif // CUSTOMTABLEVIEW_H
int ListIndex
Match Variables.
CustomTableView(QWidget *parent=0)
Including QT#include <QHeaderView>
void OpenEditor(tref Object)
QDialog * FindFileDialog
File Dialog.
void referencedBy(tref obj, bool onlyComposite)
void EditedSearchString(QString Text)
void contextMenuEvent(QContextMenuEvent *Event)
QModelIndexList ListOfMatch
Include QT Headers.