Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

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

$
0
0
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

Viewing all articles
Browse latest Browse all 18427

Trending Articles