first commit

This commit is contained in:
2025-10-20 00:32:01 +08:00
parent edac742f6a
commit 6ad03fc44f
106 changed files with 52165 additions and 0 deletions

View File

@@ -0,0 +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
};
}