comparison libgui/qterminal/libqterminal/win32/QWinTerminalImpl.h @ 18655:41489b96ebca gui-release

GUI: allow drag and drop to win32 GUI command window (Bug #41443) * libgui/qterminal/libqterminal/win32/QWinTerminalImpl.h, libgui/qterminal/libqterminal/win32/QWinTerminalImpl.cpp (QWinTerminalImpl::QWinTerminalImpl): set Accept Drops. (QWinTerminalImpl::dragEnterEvent): New function. (QWinTerminalImpl::dropEvent): New function.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 17 Apr 2014 09:01:03 -0400
parents 6e81b59d657c
children 8b9e99c061f9
comparison
equal deleted inserted replaced
18651:992b6354c8c6 18655:41489b96ebca
30 class QPainter; 30 class QPainter;
31 class QPaintEvent; 31 class QPaintEvent;
32 class QResizeEvent; 32 class QResizeEvent;
33 class QWheelEvent; 33 class QWheelEvent;
34 class QPoint; 34 class QPoint;
35 class QDragEnterEvent;
36 class QDropEvent;
35 37
36 class QConsolePrivate; 38 class QConsolePrivate;
37 class QConsoleThread; 39 class QConsoleThread;
38 class QConsoleView; 40 class QConsoleView;
39 41
89 void mousePressEvent (QMouseEvent *event); 91 void mousePressEvent (QMouseEvent *event);
90 void mouseReleaseEvent (QMouseEvent *event); 92 void mouseReleaseEvent (QMouseEvent *event);
91 93
92 bool eventFilter(QObject *obj, QEvent *ev); 94 bool eventFilter(QObject *obj, QEvent *ev);
93 95
96 void dragEnterEvent(QDragEnterEvent *event);
97 void dropEvent(QDropEvent *event);
98
94 private slots: 99 private slots:
95 void scrollValueChanged (int value); 100 void scrollValueChanged (int value);
96 void monitorConsole (void); 101 void monitorConsole (void);
97 void updateSelection (void); 102 void updateSelection (void);
98 103