title: Qt handling QPushButton Autorepeat() behavior with isAutoRepeat()
body: <p>I'm new to QT and am making a widget that interfaces with a pre-existing gui.  I'd like to have my widget continuously output one signal while the user has a pushbutton pressed and then continuously output another when it is released.  </p>
  
  <p>By enabling autorepeat I can have the widget output my signal while the user  is pressing the pushbutton, however, the output signal switches between pressed() and released().  E.G. </p>
  
  <p>&lt;>
  Outputs:
  * pressed signal
  * released signal
  * pressed signal
  * released signal</p>
  
  <p>I've seen this question been asked about <a href="http://www.qtcentre.org/threads/3368-Howto-handle-key-release-with-autorepeat-key" rel="nofollow">keyPressEvents</a> but I'm not sure how to access isAutoRepeat() for PushButtons.  Can someone give me advice on this?</p>