GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4Browser.h
Go to the documentation of this file.
1 // $Id: TGo4Browser.h 3118 2021-03-30 07:20:28Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4BROWSER_H
15 #define TGO4BROWSER_H
16 
17 #include "QGo4Widget.h"
18 #include "QGo4BrowserTreeWidget.h"
19 #include "ui_TGo4Browser.h"
20 
21 class TGo4BrowserProxy;
22 
23 class TGo4Browser : public QGo4Widget, public Ui::TGo4Browser
24 {
25  Q_OBJECT
26 
27  protected:
28 
30  bool fVisibleColumns[7];
31 
32  public:
33  TGo4Browser(QWidget *parent = 0, const char* name=0);
34 
35  void StartWorking();
36 
37  void linkedObjectUpdated(const char* linkname, TObject* obj);
38 
39  void ResetWidget();
40 
42 
43  QString FullItemName(QTreeWidgetItem* item);
44 
45  QTreeWidgetItem* FindItemFor(TGo4Slot* slot);
46 
47  void SetViewItemProperties(TGo4Slot* itemslot, QTreeWidgetItem* item);
48 
49  void checkVisisbilityFlags(bool showall);
50 
51  void DisplaySelectedItems();
52 
54 
55  bool canDrawItem(QTreeWidgetItem* item);
56 
57  void ExpandItem(const QString& itemname);
58 
59  void ExecuteItem(const QString& itemname);
60 
61  void ShootUpdateTimer();
62 
63  void SaveSelectedItems();
64 
65  void ExportSelectedItems(const char* filtername);
66 
67  void ExportSelectedItems(const char* filename, const char* filedir, const char* format, const char* description);
68 
69  public slots:
70 
71  void RequestDragObjectSlot(QDrag**);
72 
73  void ItemDropAcceptSlot(void* item, void* mime, bool* res);
74 
75  void ItemDropProcessSlot(void* item, void* e);
76 
77  void updateListViewItems();
78 
79  void ListView_doubleClicked(QTreeWidgetItem* item, int ncol);
80 
81  void ListView_customContextMenuRequested(const QPoint &);
82 
83  void Header_customContextMenuRequested(const QPoint &);
84 
85  void ColumnToggled(int indx);
86 
87  void HeaderSectionResizedSlot(int, int, int);
88 
89  void ContextMenuActivated(int id);
90 };
91 
92 
93 #endif
94 
void SuperImposeSelectedItems()
void ExecuteItem(const QString &itemname)
void ContextMenuActivated(int id)
void ListView_doubleClicked(QTreeWidgetItem *item, int ncol)
void linkedObjectUpdated(const char *linkname, TObject *obj)
void SaveSelectedItems()
void ColumnToggled(int indx)
void checkVisisbilityFlags(bool showall)
void ShootUpdateTimer()
void DisplaySelectedItems()
bool fVisibleColumns[7]
Definition: TGo4Browser.h:30
void updateListViewItems()
void SetViewItemProperties(TGo4Slot *itemslot, QTreeWidgetItem *item)
bool canDrawItem(QTreeWidgetItem *item)
void ResetWidget()
void ItemDropAcceptSlot(void *item, void *mime, bool *res)
void HeaderSectionResizedSlot(int, int, int)
QString FullItemName(QTreeWidgetItem *item)
void StartWorking()
void ItemDropProcessSlot(void *item, void *e)
void ExpandItem(const QString &itemname)
void Header_customContextMenuRequested(const QPoint &)
TGo4Browser(QWidget *parent=0, const char *name=0)
Definition: TGo4Browser.cpp:60
void ListView_customContextMenuRequested(const QPoint &)
void ExportSelectedItems(const char *filtername)
void RequestDragObjectSlot(QDrag **)
QTreeWidgetItem * FindItemFor(TGo4Slot *slot)
TGo4BrowserProxy * BrowserProxy()
bool fbUpdateTimerActive
Definition: TGo4Browser.h:29