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,21 +1,22 @@
#pragma once
#include <modern-qt/utility/theme/theme.hh>
#include <qwidget.h>
template <typename T>
using raw_pointer = T*;
struct NavComponentState {
creeper::ThemeManager& manager;
std::function<void(int, const std::string_view&)> switch_callback;
std::vector<std::tuple<std::string_view, std::string_view>> buttons_context;
};
auto NavComponent(NavComponentState&) noexcept -> raw_pointer<QWidget>;
struct ViewComponentState {
creeper::ThemeManager& manager;
};
#pragma once
#include <modern-qt/utility/theme/theme.hh>
#include <qwidget.h>
#include <string_view>
template <typename T>
using raw_pointer = T*;
struct NavComponentState {
creeper::ThemeManager& manager;
std::function<void(int, const std::string_view&)> switch_callback;
std::vector<std::tuple<std::string_view, std::string_view>> buttons_context;
};
auto NavComponent(NavComponentState&) noexcept -> raw_pointer<QWidget>;
struct ViewComponentState {
creeper::ThemeManager& manager;
};
auto ViewComponent(ViewComponentState&) noexcept -> raw_pointer<QWidget>;