dbs_annotator.utils.graphics.animate_button

dbs_annotator.utils.graphics.animate_button(button, pulse_count=3)[source]

Animate a button with a pulsing effect.

This is typically used to provide visual feedback after an action, such as inserting data.

Parameters:
  • button – QPushButton to animate

  • pulse_count (int) – Number of times to pulse the button