feat: initial commit for pixel-snapping components and helpers

This commit is contained in:
2026-10-29 17:34:57 +01:00
parent 9d8bde1413
commit 9cbb90f9e1
163 changed files with 2671 additions and 951 deletions
+26
View File
@@ -0,0 +1,26 @@
#include "alignauditor.hpp"
#include <QTimer>
namespace ZShell {
Options AlignAuditor::options() const {
Options o;
o.outputPath = m_outputPath;
o.paintedOnly = m_paintedOnly;
o.includeInherited = m_includeInherited;
o.tolerance = m_tolerance;
return o;
}
int AlignAuditor::run() {
m_lastCount = ZShell::run(options());
emit finished(m_lastCount);
return m_lastCount;
}
void AlignAuditor::runLater() {
QTimer::singleShot(m_delayMs, this, [this] { run(); });
}
} // namespace ZShell