GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
QGo4LineEdit.h
Go to the documentation of this file.
1 // $Id: QGo4LineEdit.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 QGO4LINEEDIT_H
15 #define QGO4LINEEDIT_H
16 
17 #include <QLineEdit>
18 
19 #include <QDropEvent>
20 #include <QDragEnterEvent>
21 
28 #ifdef __GO4DESIGNER__
29 #include <QtDesigner/QDesignerExportWidget>
30 class QDESIGNER_WIDGET_EXPORT QGo4LineEdit : public QLineEdit {
31 #else
32 class QGo4LineEdit : public QLineEdit {
33 #endif
34  Q_OBJECT
35 
36 
37  public:
38  QGo4LineEdit(QWidget *parent=0, const char *name=0);
39  virtual ~QGo4LineEdit();
40 
41  signals:
42  void textDropped();
43 
44  protected:
45  virtual void dropEvent(QDropEvent*);
46  virtual void dragEnterEvent(QDragEnterEvent*);
47 };
48 
49 #endif