20#ifndef ORES_QT_RECENCY_PULSE_MANAGER_HPP
21#define ORES_QT_RECENCY_PULSE_MANAGER_HPP
54 int pulse_interval_ms = 500,
55 int max_pulse_cycles = 6);
73 [[nodiscard]]
bool is_pulse_on()
const {
return pulse_state_; }
105 void on_timer_timeout();
109 bool pulse_state_{
false};
111 int pulse_interval_ms_;
112 int max_pulse_cycles_;
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:35
Manages the pulsing animation for recently-changed items in models.
Definition RecencyPulseManager.hpp:42
bool is_pulsing() const
Check if the manager is currently pulsing.
Definition RecencyPulseManager.cpp:43
void pulsing_complete()
Emitted when the pulsing animation completes all cycles.
void start_pulsing()
Start or restart the pulsing animation.
Definition RecencyPulseManager.cpp:35
void pulse_state_changed(bool is_on)
Emitted whenever the pulse state changes.
void stop_pulsing()
Stop the pulsing animation immediately.
Definition RecencyPulseManager.cpp:47
bool is_pulse_on() const
Check if the pulse is currently in the "on" (highlighted) state.
Definition RecencyPulseManager.hpp:73