Open Recent, print sizes through an invalid resolution, Color Grading under Color (12.14b)

This commit is contained in:
雷电芽衣 committed 2026-09-30 01:43:23 -04:00
1 parent 94b884a2ef
commit 2183348aa6
21 files changed
+717 -38

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
#pragma once
#include <QObject>
#include <QStringList>
// Swift's RecentProjects: newest first, kept in QSettings.
class RecentProjects : public QObject {
Q_OBJECT
public:
static RecentProjects &shared();
// At most this many, as macOS keeps by default.
static constexpr int limit = 10;
// The projects that still exist, newest first.
const QStringList &paths() const { return m_paths; }
void note(const QString &path);
void clear();
// Drops the projects since moved or deleted.
void refresh();
signals:
void changed();
private:
RecentProjects();
void store(const QStringList &paths);
QStringList m_paths;
};