12.3a: guides, the layout grid, Snap To and the View entries (Compositor 1.1.7)

This commit is contained in:
雷电芽衣 committed 2026-09-26 20:12:11 -04:00
1 parent 4bfc6c237e
commit 338451fc35
25 files changed
+1029 -52

No files matched your search

+12
View File
@@ -297,6 +297,7 @@ public:
#include "Document/LayerAdjustment+Session.h"
#include "Document/AdjustmentEditing+Session.h"
#include "Document/LayerEffects+Session.h"
#include "Document/Guides+Session.h"
signals:
void changed();
@@ -340,6 +341,17 @@ private:
std::optional<QString> m_projectPath;
bool m_showsPixelGrid = true;
bool m_snappingEnabled = true;
// The layout grid starts off; guides show; rulers hide.
bool m_showsGrid = false;
bool m_showsGuides = true;
bool m_showsRulers = false;
bool m_snapEnabled = true;
bool m_snapToGuides = true;
bool m_snapToGrid = false;
bool m_snapToLayers = true;
bool m_snapToDocumentBounds = true;
bool m_locksGuides = false;
std::optional<GuideDrag> m_guideDrag;
bool m_showsSampleRing = true;
std::optional<QRectF> m_cropRect;
QString m_cropRatioChoice = QStringLiteral("Free");