|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
#include <sidebar_models.h>
Public Member Functions | |
| CollectionsModel (ThemeManager *themeManager, QObject *parent=nullptr) | |
| QVariant | data (const QModelIndex &index, int role) const override |
| void | rebuild (const std::vector< std::string > &collectionNames, const std::vector< const Game * > &allGames, int totalGameCount) |
| int | rowCount (const QModelIndex &parent={}) const override |
| int | rowForCollection (const QString &name) const |
Definition at line 150 of file sidebar_models.h.
|
explicit |
Definition at line 385 of file sidebar_models.cpp.
|
override |
Definition at line 397 of file sidebar_models.cpp.
References SidebarEntry::display, SidebarEntry::icon, SidebarIdRole, SidebarEntry::stringId, and SidebarEntry::tooltip.
| void CollectionsModel::rebuild | ( | const std::vector< std::string > & | collectionNames, |
| const std::vector< const Game * > & | allGames, | ||
| int | totalGameCount ) |
Definition at line 418 of file sidebar_models.cpp.
References ThemeColors::accent, FA::Bookmark, SidebarEntry::display, FA::FolderOpen, IconFont::icon(), SidebarEntry::icon, SidebarEntry::stringId, ThemeColors::textSecondary, and SidebarEntry::tooltip.
|
override |
Definition at line 390 of file sidebar_models.cpp.
| int CollectionsModel::rowForCollection | ( | const QString & | name | ) | const |
Definition at line 460 of file sidebar_models.cpp.