title: In QTableView, What "signal" triggers the editing mode
body: <p>I'm trying to write some Inherit class (Let's call  it A) from QTableView, and hope to overwrite the slot</p>
  
  <blockquote>
    <p>void edit ( const QModelIndex &amp; index )</p>
  </blockquote>
  
  <p>from QAbstractItemView. I know that this function can trigger editing mode, but here is my question: I hope that whenever editing mode are triggered by user in this class A, the program can go inside the overwritten slot <strong>A::edit</strong>.</p>
  
  <p>However, it seems only when <strong>A::edit</strong> are directly called, the program can get in. </p>
  
  <p>Since QTableView comes from QAbstractItemView, if the editing mode is triggered by other way(such as mouse double click), the program will run default <strong>QAbstractItemView::edit</strong> instead of <strong>A::edit</strong>.</p>
  
  <p>I tried to connect the signal "activated", but apparently it's not the correct signal to trigger editing mode. Is there anyway to do something every time when an editor is triggered?</p>
  
  <p>Also, I'd like to do something when the editing mode is ended by pressing Enter or ESC or mouse clicking on other place. The same situation happens at the slot </p>
  
  <blockquote>
    <p>void editorDestroyed ( QObject * editor )</p>
  </blockquote>
  
  <p>Can anyone help me to solve this problem?
  I'll really appreciate it, thanks!</p>