00001 // $Id: QUserPanel.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef QUSERPANEL_H 00015 #define QUSERPANEL_H 00016 00017 #include "ui_QUserPanel.h" 00018 #include <QGo4Widget.h> 00019 00020 class QUserPanel : public QGo4Widget, public Ui::QUserPanel 00021 { 00022 Q_OBJECT 00023 00024 public: 00025 QUserPanel( QWidget* parent = 0, const char* name = 0 ); 00026 virtual ~QUserPanel(); 00027 virtual QString kindString( int kind ); 00028 virtual bool IsAcceptDrag( const char * itemname, TClass * cl, int kind ); 00029 virtual void DropItem( const char * itemname, TClass * cl, int kind ); 00030 virtual void linkedObjectUpdated( const char * linkname, TObject * obj ); 00031 virtual void linkedObjectRemoved( const char * linkname ); 00032 virtual void PrintObject(TObject* obj); 00033 virtual void DrawObjectOnCanvas(const char* itemname); 00034 00035 public slots: 00036 virtual void InfoBtn_clicked(); 00037 virtual void EditBtn_clicked(); 00038 virtual void DrawBtn_clicked(); 00039 virtual void CanvasDropEventSlot(QDropEvent*,TPad*); 00040 }; 00041 00042 #endif