GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
QGo4BrowserTreeWidget.h
Go to the documentation of this file.
1 // $Id: QGo4BrowserTreeWidget.h 2627 2019-10-01 08:02:45Z 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 QGOBROWSERLISTVIEW_H
15 #define QGOBROWSERLISTVIEW_H
16 
17 #include <QTreeWidget>
18 
19 #ifdef __GO4DESIGNER__
20 #include <QtDesigner/QDesignerExportWidget>
21 class QDESIGNER_WIDGET_EXPORT QGo4BrowserTreeWidget : public QTreeWidget {
22 #else
23 class QGo4BrowserTreeWidget : public QTreeWidget {
24 #endif
25  Q_OBJECT
26 
27  public:
28  QGo4BrowserTreeWidget(QWidget* parent = 0);
29  virtual ~QGo4BrowserTreeWidget();
30 
31  virtual bool dropMimeData(QTreeWidgetItem *parent, int index, const QMimeData *data, Qt::DropAction action);
32  virtual QStringList mimeTypes() const;
33  virtual Qt::DropActions supportedDropActions () const;
34 
35  virtual void mouseMoveEvent(QMouseEvent *event);
36 
37  signals:
38 
39  void RequestDragObject(QDrag**);
40  void ItemDropProcess(void*, void*);
41 
42 };
43 
44 #endif
45