Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::gui::ProjectInfo Class Reference
Inheritance diagram for zrythm::gui::ProjectInfo:
Collaboration diagram for zrythm::gui::ProjectInfo:

Signals

void nameChanged ()
void pathChanged ()

Public Member Functions

 ProjectInfo (QObject *parent=nullptr)
 ProjectInfo (const fs::path &path, QObject *parent=nullptr)
 Construct a new Project Info object from a path.
QString getName () const
QString getPath () const
QDateTime getLastSavedAt () const
void setPath (const QString &path)
void setName (const QString &name)
Q_INVOKABLE bool exists () const
 Whether the project exists on disk.

Properties

QML_ELEMENT QString name
QString path
QDateTime lastSavedAt

Detailed Description

Definition at line 14 of file project_info.h.

Constructor & Destructor Documentation

◆ ProjectInfo()

zrythm::gui::ProjectInfo::ProjectInfo ( const fs::path & path,
QObject * parent = nullptr )

Construct a new Project Info object from a path.

Parameters
path
parent

Property Documentation

◆ lastSavedAt

QDateTime zrythm::gui::ProjectInfo::lastSavedAt
read

Definition at line 21 of file project_info.h.

◆ name

QML_ELEMENT QString zrythm::gui::ProjectInfo::name
readwrite

Definition at line 19 of file project_info.h.

◆ path

QString zrythm::gui::ProjectInfo::path
readwrite

Definition at line 20 of file project_info.h.


The documentation for this class was generated from the following file: