feat:data slove and update heatmap

This commit is contained in:
2025-10-29 14:09:28 +08:00
parent c50b44efe2
commit c6cef3d89d
200 changed files with 100674 additions and 52814 deletions

View File

@@ -1,27 +1,27 @@
#pragma once
#include "modern-qt/utility/wrapper/pimpl.hh"
#include <qwidget.h>
namespace creeper {
/// @note
/// Ends after the calculation is completed or the controller call ends
struct ITransitionTask {
virtual ~ITransitionTask() noexcept = default;
virtual auto update() noexcept -> bool = 0;
};
class Animatable {
CREEPER_PIMPL_DEFINITION(Animatable)
public:
explicit Animatable(QWidget& widget) noexcept;
auto set_frame_rate(int hz) noexcept -> void;
auto get_frame_rate() const noexcept -> int;
auto push_transition_task(std::unique_ptr<ITransitionTask> task) noexcept -> void;
};
}
#pragma once
#include "modern-qt/utility/wrapper/pimpl.hh"
#include <qwidget.h>
namespace creeper {
/// @note
/// Ends after the calculation is completed or the controller call ends
struct ITransitionTask {
virtual ~ITransitionTask() noexcept = default;
virtual auto update() noexcept -> bool = 0;
};
class Animatable {
CREEPER_PIMPL_DEFINITION(Animatable)
public:
explicit Animatable(QWidget& widget) noexcept;
auto set_frame_rate(int hz) noexcept -> void;
auto get_frame_rate() const noexcept -> int;
auto push_transition_task(std::unique_ptr<ITransitionTask> task) noexcept -> void;
};
}