update
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <QDialog>
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <QVector>
|
||||
|
||||
namespace core {
|
||||
class ProjectWorkspace;
|
||||
@@ -27,11 +28,14 @@ private slots:
|
||||
void onClearCurrentFrame();
|
||||
void onBatchImportFiles();
|
||||
void onBatchImportFolder();
|
||||
void onGenerateAiFrames();
|
||||
|
||||
private:
|
||||
void rebuildFrameList();
|
||||
void updatePreviewForFrame(int frame);
|
||||
bool applyImageToFrame(int frame, const QString& absImagePath);
|
||||
QVector<int> targetFramesForWrite(int requestedCount) const;
|
||||
QByteArray currentEntityPngBytes(QString* outError) const;
|
||||
|
||||
private:
|
||||
core::ProjectWorkspace& m_workspace;
|
||||
@@ -46,6 +50,7 @@ private:
|
||||
QPushButton* m_btnClear = nullptr;
|
||||
QPushButton* m_btnImportFiles = nullptr;
|
||||
QPushButton* m_btnImportFolder = nullptr;
|
||||
QPushButton* m_btnAiGenerate = nullptr;
|
||||
|
||||
QString m_defaultImageAbs;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user