If i have assigned any shortcut to qaction, then keypressevent() of qgraphicsscene doesnt call



  • i have assigned shortcut say "QKeySequence(Qt::Key_Escape)" to a QAction , now if i am pressing Escape key , then my qgraphicsscene derived class MyScene keyPressEvent() doesnt call . it simply call slot which is attached to QAction ......

    i need to send event to qgraphicstextitem as this escape key pressed when i was in edit mode of qgraphicstextitem...

    plz help me out.. thanx in advance


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.