0

I want to get pressed keyboard in drag/drop work.
I made a process to DO drag/drop in dropMimeData().
So, I can't detect "ctrl" in that process.
In case of mouse, I can get the infomation with QCursor, right?
Is there any way like QCursor for keyboard?

Hyun-geun Kim
  • 919
  • 3
  • 22
  • 37
  • possible duplicate of [How to detect the modifier key on mouse click in QT](http://stackoverflow.com/questions/3100090/how-to-detect-the-modifier-key-on-mouse-click-in-qt) – Mat Sep 04 '12 at 06:05

1 Answers1

1
QApplication::keyboardModifiers() == Qt::ControlModifier
Eric Hulser
  • 3,912
  • 21
  • 20