20#ifndef ORES_QT_RECENCY_PULSE_MANAGER_HPP
21#define ORES_QT_RECENCY_PULSE_MANAGER_HPP
25#include "ores.qt/export.hpp"
55 int pulse_interval_ms = 500,
56 int max_pulse_cycles = 6);
74 [[nodiscard]]
bool is_pulse_on()
const {
return pulse_state_; }
81 [[nodiscard]]
bool is_pulsing()
const;
106 void on_timer_timeout();
110 bool pulse_state_{
false};
112 int pulse_interval_ms_;
113 int max_pulse_cycles_;
Qt-based graphical user interface for ORE Studio.
Definition AccountController.hpp:32
Manages the pulsing animation for recently-changed items in models.
Definition RecencyPulseManager.hpp:43
void pulsing_complete()
Emitted when the pulsing animation completes all cycles.
void pulse_state_changed(bool is_on)
Emitted whenever the pulse state changes.
bool is_pulse_on() const
Check if the pulse is currently in the "on" (highlighted) state.
Definition RecencyPulseManager.hpp:74