GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
QUserPanel.h
Go to the documentation of this file.
1 // $Id: QUserPanel.h 2743 2020-04-16 07:38:21Z 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 QUSERPANEL_H
15 #define QUSERPANEL_H
16 
17 #include <QGo4Widget.h>
18 #include <QWebCanvas.h>
19 
20 #include "ui_QUserPanel.h"
21 
22 class QUserPanel : public QGo4Widget, public Ui::QUserPanel
23 {
24  Q_OBJECT
25 
26 public:
27  QUserPanel( QWidget* parent = 0, const char* name = 0 );
28  virtual ~QUserPanel();
29  virtual QString kindString( int kind );
30  virtual bool IsAcceptDrag( const char * itemname, TClass * cl, int kind );
31  virtual void DropItem( const char * itemname, TClass * cl, int kind );
32  virtual void linkedObjectUpdated( const char * linkname, TObject * obj );
33  virtual void linkedObjectRemoved( const char * linkname );
34  virtual void PrintObject(TObject* obj);
35  virtual void DrawObjectOnCanvas(const char* itemname);
36 
37 
38 public slots:
39  virtual void InfoBtn_clicked();
40  virtual void EditBtn_clicked();
41  virtual void DrawBtn_clicked();
42  virtual void CanvasDropEventSlot(QDropEvent*,TPad*);
43 };
44 
45 #endif
QUserPanel(QWidget *parent=0, const char *name=0)
Definition: QUserPanel.cpp:60
virtual bool IsAcceptDrag(const char *itemname, TClass *cl, int kind)
Definition: QUserPanel.cpp:105
virtual void EditBtn_clicked()
Definition: QUserPanel.cpp:183
virtual void DrawObjectOnCanvas(const char *itemname)
Definition: QUserPanel.cpp:234
virtual void linkedObjectRemoved(const char *linkname)
Definition: QUserPanel.cpp:166
virtual void InfoBtn_clicked()
Definition: QUserPanel.cpp:178
virtual void DropItem(const char *itemname, TClass *cl, int kind)
Definition: QUserPanel.cpp:127
virtual void CanvasDropEventSlot(QDropEvent *, TPad *)
Definition: QUserPanel.cpp:225
virtual void linkedObjectUpdated(const char *linkname, TObject *obj)
Definition: QUserPanel.cpp:153
virtual ~QUserPanel()
Definition: QUserPanel.cpp:78
virtual void PrintObject(TObject *obj)
Definition: QUserPanel.cpp:193
virtual void DrawBtn_clicked()
Definition: QUserPanel.cpp:188
virtual QString kindString(int kind)
Definition: QUserPanel.cpp:83