GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4Browser.h
Go to the documentation of this file.
1 // $Id: TGo4Browser.h 1544 2015-06-15 12:06:13Z 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 für 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  Q_OBJECT
25 
26  protected:
27 
29  bool fVisibleColumns[7];
30 
31  public:
32  TGo4Browser(QWidget *parent = 0, const char* name=0);
33 
34  void StartWorking();
35 
36  void linkedObjectUpdated(const char* linkname, TObject* obj);
37 
38  void ResetWidget();
39 
41 
42  QString FullItemName(QTreeWidgetItem* item);
43 
44  QTreeWidgetItem* FindItemFor(TGo4Slot* slot);
45 
46  void SetViewItemProperties(TGo4Slot* itemslot, QTreeWidgetItem* item);
47 
48  void checkVisisbilityFlags(bool showall);
49 
50  void DisplaySelectedItems();
51 
53 
54  bool canDrawItem(QTreeWidgetItem* item);
55 
56  void ExpandItem(const QString& itemname);
57 
58  void ExecuteItem(const QString& itemname);
59 
60  void ShootUpdateTimer();
61 
62  void SaveSelectedItems();
63 
64  void ExportSelectedItems(const char* filtername);
65 
66  void ExportSelectedItems(const char* filename, const char* filedir, const char* format, const char* description);
67 
68  public slots:
69 
70  void RequestDragObjectSlot(QDrag**);
71 
72  void ItemDropAcceptSlot(void* item, void* mime, bool* res);
73 
74  void ItemDropProcessSlot(void* item, void* e);
75 
76  void updateListViewItems();
77 
78  void ListView_doubleClicked(QTreeWidgetItem* item, int ncol);
79 
80  void ListView_customContextMenuRequested(const QPoint&);
81 
82  void Header_customContextMenuRequested(const QPoint &);
83 
84  void ColumnToggled(int indx);
85 
86  void HeaderSectionResizedSlot(int, int, int);
87 
88  void ContextMenuActivated(int id);
89 };
90 
91 
92 #endif
93 
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:29
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:65
void ListView_customContextMenuRequested(const QPoint &)
void ExportSelectedItems(const char *filtername)
void RequestDragObjectSlot(QDrag **)
QTreeWidgetItem * FindItemFor(TGo4Slot *slot)
TGo4BrowserProxy * BrowserProxy()
bool fbUpdateTimerActive
Definition: TGo4Browser.h:28