The LibrariesModel class.
More...
#include <librariesmodel.h>
Inherits QObject, and Model< ui::LibraryData >.
◆ Mode
Enumerator |
---|
LocalLibs | |
RemoteLibs | |
◆ LibrariesModel() [1/3]
◆ LibrariesModel() [2/3]
◆ LibrariesModel() [3/3]
◆ ~LibrariesModel()
◆ getUiData()
ui::LibraryListData getUiData |
( |
| ) |
const |
|
noexcept |
◆ setOnlineVersions()
void setOnlineVersions |
( |
const QHash< Uuid, Version > & |
versions | ) |
|
|
noexcept |
◆ ensurePopulated()
void ensurePopulated |
( |
bool |
withIcons | ) |
|
|
noexcept |
◆ highlightLibraryOnNextRescan()
void highlightLibraryOnNextRescan |
( |
const FilePath & |
fp | ) |
|
|
noexcept |
◆ applyChanges()
◆ cancel()
◆ row_count()
std::size_t row_count |
( |
| ) |
const |
|
override |
◆ row_data()
std::optional< ui::LibraryData > row_data |
( |
std::size_t |
i | ) |
const |
|
override |
◆ set_row_data()
void set_row_data |
( |
std::size_t |
i, |
|
|
const ui::LibraryData & |
data |
|
) |
| |
|
overridenoexcept |
◆ operator=()
◆ uiDataChanged
void uiDataChanged |
( |
ui::LibraryListData |
data | ) |
|
|
signal |
◆ onlineVersionsAvailable
void onlineVersionsAvailable |
( |
const QHash< Uuid, Version > & |
versions | ) |
|
|
signal |
◆ updateLibraries()
void updateLibraries |
( |
bool |
resetHighlight = true | ) |
|
|
privatenoexcept |
◆ requestOnlineLibraries()
void requestOnlineLibraries |
( |
| ) |
|
|
privatenoexcept |
◆ onlineLibraryListReceived()
◆ requestMissingOnlineIcons()
void requestMissingOnlineIcons |
( |
| ) |
|
|
privatenoexcept |
◆ onlineIconReceived()
void onlineIconReceived |
( |
const Uuid & |
uuid, |
|
|
const QByteArray & |
data |
|
) |
| |
|
privatenoexcept |
◆ errorWhileFetchingLibraryList()
void errorWhileFetchingLibraryList |
( |
QString |
errorMsg | ) |
|
|
privatenoexcept |
◆ apiEndpointOperationFinished()
void apiEndpointOperationFinished |
( |
| ) |
|
|
privatenoexcept |
◆ updateMergedLibraries()
void updateMergedLibraries |
( |
| ) |
|
|
privatenoexcept |
◆ updateCheckStates()
void updateCheckStates |
( |
bool |
notify | ) |
|
|
privatenoexcept |
◆ checkMissingDependenciesOfLibs()
void checkMissingDependenciesOfLibs |
( |
| ) |
|
|
privatenoexcept |
◆ uncheckLibsWithUnmetDependencies()
void uncheckLibsWithUnmetDependencies |
( |
| ) |
|
|
privatenoexcept |
◆ isLibraryChecked()
bool isLibraryChecked |
( |
const ui::LibraryData & |
lib | ) |
const |
|
privatenoexcept |
◆ isMarkedForInstall()
bool isMarkedForInstall |
( |
const ui::LibraryData & |
lib | ) |
|
|
staticprivatenoexcept |
◆ isMarkedForUpdate()
bool isMarkedForUpdate |
( |
const ui::LibraryData & |
lib | ) |
|
|
staticprivatenoexcept |
◆ isMarkedForUninstall()
bool isMarkedForUninstall |
( |
const ui::LibraryData & |
lib | ) |
|
|
staticprivatenoexcept |
◆ indexOf()
std::optional< std::size_t > indexOf |
( |
const Uuid & |
uuid | ) |
|
|
privatenoexcept |
◆ mWorkspace
◆ mMode
◆ mInstalledLibs
std::vector<ui::LibraryData> mInstalledLibs |
|
private |
◆ mInstalledLibsErrors
QStringList mInstalledLibsErrors |
|
private |
Either local or remote libs.
◆ mOnlineLibs
◆ mOnlineLibsErrors
QStringList mOnlineLibsErrors |
|
private |
◆ mMergedLibs
std::vector<ui::LibraryData> mMergedLibs |
|
private |
◆ mCheckStates
QHash<Uuid, bool> mCheckStates |
|
private |
◆ mRequestIcons
◆ mIcons
QHash<Uuid, QPixmap> mIcons |
|
private |
◆ mOnlineVersions
QHash<slint::SharedString, slint::SharedString> mOnlineVersions |
|
private |
◆ mHighlightedLib
◆ mApiEndpointsInProgress
QList<std::shared_ptr<ApiEndpoint> > mApiEndpointsInProgress |
|
private |
◆ mDownloadsInProgress
The documentation for this class was generated from the following files: