Photoshop PSD import (Compositor 1.2.0, part one)

This commit is contained in:
雷电芽衣 committed 2026-09-27 04:41:08 -04:00
1 parent 3d56688ce4
commit 2cd0d1b86d
41 files changed
+3912 -31

No files matched your search

+5
View File
@@ -4,6 +4,7 @@
#include "Rendering/EditorCanvas.h"
#include "UI/FloatingPanel.h"
#include "UI/ToolIcons.h"
#include <QDialog>
#include <QGridLayout>
#include <QLabel>
#include <QPointer>
@@ -51,6 +52,7 @@ private:
void synchronize();
// Swift's onChange of levels: its panel opens and closes.
void synchronizePanels();
void showConversionSheet();
ToolIconKind iconKind(NavigationTool tool) const;
void showHeader(NavigationTool tool);
void showWelcome(bool shown);
@@ -81,6 +83,9 @@ private:
QLabel *const m_activity;
QProgressBar *const m_spinner;
QPointer<QFileDialog> m_importer;
// The Photoshop sheet and the request it shows.
QPointer<QDialog> m_conversionSheet;
std::optional<PSDConversionRequest> m_conversionShown;
QPointer<QMessageBox> m_importAlert;
QPointer<QMessageBox> m_brushAlert;
QPointer<QMessageBox> m_cropAlert;