Photoshop PSD import (Compositor 1.2.0, part one)
This commit is contained in:
1 parent
3d56688ce4
commit
2cd0d1b86d
41 files changed
+3912
-31
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "IO/PSD/PSDTypes.h"
|
||||
#include <QWidget>
|
||||
#include <functional>
|
||||
|
||||
struct PSDConversionRequest {
|
||||
QString title;
|
||||
QString confirmTitle;
|
||||
std::vector<PSDConversion> conversions;
|
||||
// Still read: the sheet answers the click, reporting nothing.
|
||||
bool isReading = false;
|
||||
friend bool operator==(const PSDConversionRequest &, const PSDConversionRequest &) = default;
|
||||
};
|
||||
|
||||
// What an import converts, confirmed before anything applies.
|
||||
class PSDConversionSheet : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
PSDConversionSheet(const PSDConversionRequest &request, std::function<void(bool)> finish, QWidget *parent = nullptr);
|
||||
};
|
||||
Reference in new issue
Block a user