GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
QGo4LineEdit.h
Go to the documentation of this file.
1 // $Id: QGo4LineEdit.h 1134 2014-01-22 14:53:40Z 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 für 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 WIN32
29 
30 class QGo4LineEdit : public QLineEdit {
31 
32 #else
33 
34 #include <QtDesigner/QDesignerExportWidget>
35 class QDESIGNER_WIDGET_EXPORT QGo4LineEdit : public QLineEdit {
36 
37 #endif
38  Q_OBJECT
39 
40 
41  public:
42  QGo4LineEdit(QWidget *parent=0, const char *name=0);
43  virtual ~QGo4LineEdit();
44 
45  signals:
46  void textDropped();
47 
48  protected:
49  virtual void dropEvent(QDropEvent*);
50  virtual void dragEnterEvent(QDragEnterEvent*);
51 };
52 
53 #endif
QGo4LineEdit(QWidget *parent=0, const char *name=0)
virtual void dropEvent(QDropEvent *)
void textDropped()
virtual ~QGo4LineEdit()
virtual void dragEnterEvent(QDragEnterEvent *)