00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 00017 00018 #ifndef TGO4QLINEEDIT_H 00019 #define TGO4QLINEEDIT_H 00020 #include "qlineedit.h" 00021 #include "qstring.h" 00022 #include "qdragobject.h" 00023 class QWidget; 00024 class QDragEnterEvent; 00025 class QDragMoveEvent; 00026 class QDragLeaveEvent; 00027 class QDropEvent; 00028 00033 class TGo4QLineEdit : public QLineEdit 00034 { 00035 Q_OBJECT 00036 00037 public: 00038 bool RemoteDrop; 00039 TGo4QLineEdit(QWidget *parent=0, const char *name=0); 00040 virtual ~TGo4QLineEdit(); 00041 void dropEvent( QDropEvent *Event ); 00042 void dragEnterEvent( QDragEnterEvent *Event); 00043 bool IsRemoteDrop(); 00044 QString DropedString; 00045 }; 00046 #endif //TGO4QLINEEDIT_H 00047 00048 00049 00050 00051 //----------------------------END OF GO4 SOURCE FILE ---------------------