20#ifndef LIBREPCB_EDITOR_INITIALIZEWORKSPACEWIZARDCONTEXT_H
21#define LIBREPCB_EDITOR_INITIALIZEWORKSPACEWIZARDCONTEXT_H
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
The LengthUnit class represents a length unit (millimeters, inches,...) and provides some useful meth...
Definition: lengthunit.h:60
The Version class represents a version number in the format "1.42.7".
Definition: version.h:58
The InitializeWorkspaceWizardContext class.
Definition: initializeworkspacewizardcontext.h:45
void initializeEmptyWorkspace() const
Definition: initializeworkspacewizardcontext.cpp:96
bool getWorkspaceContainsNewerFileFormats() const noexcept
Definition: initializeworkspacewizardcontext.cpp:65
QString mAppLocale
Definition: initializeworkspacewizardcontext.h:106
QMap< QString, Version > mDataDirs
Definition: initializeworkspacewizardcontext.h:101
const QString & getDataDir() const noexcept
Definition: initializeworkspacewizardcontext.h:68
bool getWorkspaceExists() const noexcept
Definition: initializeworkspacewizardcontext.h:67
const FilePath & getWorkspacePath() const noexcept
Definition: initializeworkspacewizardcontext.h:65
bool getNeedsInitialization() const noexcept
Definition: initializeworkspacewizardcontext.h:72
PageId
Definition: initializeworkspacewizardcontext.h:50
@ ID_ChooseSettings
Definition: initializeworkspacewizardcontext.h:55
@ ID_None
last page
Definition: initializeworkspacewizardcontext.h:51
@ ID_ChooseWorkspace
Definition: initializeworkspacewizardcontext.h:53
@ ID_Upgrade
Definition: initializeworkspacewizardcontext.h:54
@ ID_Welcome
Definition: initializeworkspacewizardcontext.h:52
bool mWorkspacePathValid
Definition: initializeworkspacewizardcontext.h:99
bool getNeedsUpgrade() const noexcept
Definition: initializeworkspacewizardcontext.h:75
bool isWorkspacePathValid() const noexcept
Definition: initializeworkspacewizardcontext.h:66
LengthUnit mLengthUnit
Definition: initializeworkspacewizardcontext.h:107
void setUserName(const QString &name) noexcept
Definition: initializeworkspacewizardcontext.h:87
void setLengthUnit(const LengthUnit &unit) noexcept
Definition: initializeworkspacewizardcontext.h:83
void setLibraryNormOrder(const QStringList &order) noexcept
Definition: initializeworkspacewizardcontext.h:84
QStringList mLibraryNormOrder
Definition: initializeworkspacewizardcontext.h:108
bool mWorkspaceExists
Definition: initializeworkspacewizardcontext.h:100
FilePath mWorkspacePath
Definition: initializeworkspacewizardcontext.h:98
void setAppLocale(const QString &locale) noexcept
Definition: initializeworkspacewizardcontext.h:82
QString mDataDir
Definition: initializeworkspacewizardcontext.h:102
std::pair< QString, QString > mUpgradeCopyDirs
Definition: initializeworkspacewizardcontext.h:103
void installExampleProjects() const noexcept
Definition: initializeworkspacewizardcontext.cpp:109
QString mUserName
Definition: initializeworkspacewizardcontext.h:109
const std::pair< QString, QString > & getUpgradeCopyDirs() const noexcept
Definition: initializeworkspacewizardcontext.h:69
InitializeWorkspaceWizardContext(const InitializeWorkspaceWizardContext &other)=delete
void setWorkspacePath(const FilePath &fp)
Definition: initializeworkspacewizardcontext.cpp:72
Definition: occmodel.cpp:77