title: QAction shortcut keys not working
body: <p>i am adding QAction to QTableWidget as</p>
  
  <pre><code>m_pCutAction = new QAction( "Cut",this );
      m_pCutAction-&gt;setIcon(QIcon(":/Img/cut.png"));
      m_pCutAction-&gt;setShortcut(Qt::CTRL + Qt::Key_X);
   connect(m_pCutAction, SIGNAL(triggered()), this, SLOT(cut()));
  
   m_pCopyAction = new QAction( "Copy",this );
      m_pCopyAction-&gt;setIcon(QIcon(":/Img/copy.png"));
      m_pCopyAction-&gt;setShortcut(Qt::CTRL + Qt::Key_C);
  </code></pre>
  
  <p>and in contextMenu</p>
  
  <pre><code>void contextMenuEvent(QContextMenuEvent *event)
  {
  QScopedPointer&lt;QMenu&gt;menu(new QMenu());
      menu-&gt;addAction(m_pCutAction);
      menu-&gt;addAction(m_pCopyAction);
      menu-&gt;addAction(m_pPasteAction);
      menu-&gt;exec(event-&gt;globalPos());
   QTableWidget::contextMenuEvent(event);
  }
  </code></pre>
  
  <p>but the action is not executing for Ctrl + X but it is executing from Ctrl +C. Copy operation i can perform but Cut operation i cant perform using keys.</p>
  
  <p>i tried</p>
  
  <blockquote>
    <p>m_pCutAction ->setShortcut(QKeySequence::Cut);</p>
  </blockquote>
  
  <p>but this is also not helping me. same for paste and delete. only Copy operation i can do.</p>