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,19 +1,19 @@
#pragma once
#include <QtGlobal>
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
#include <QEnterEvent>
#else
#include <QEvent>
#endif
namespace creeper::qt {
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
using EnterEvent = QEnterEvent;
#else
using EnterEvent = QEvent;
#endif
}
#pragma once
#include <QtGlobal>
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
#include <QEnterEvent>
#else
#include <QEvent>
#endif
namespace creeper::qt {
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
using EnterEvent = QEnterEvent;
#else
using EnterEvent = QEvent;
#endif
}

View File

@@ -1,15 +1,15 @@
#pragma once
#include <QtGlobal>
namespace creeper::qt {
inline auto margin_setter = [](auto& self, const auto& margin) {
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
self.setContentsMargins(margin, margin, margin, margin);
#else
self.setMargin(margin);
#endif
};
}
#pragma once
#include <QtGlobal>
namespace creeper::qt {
inline auto margin_setter = [](auto& self, const auto& margin) {
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
self.setContentsMargins(margin, margin, margin, margin);
#else
self.setMargin(margin);
#endif
};
}