|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
#include <sidebar_models.h>
Public Member Functions | |
| SourceFilterModel (ThemeManager *themeManager, QObject *parent=nullptr) | |
| QVariant | data (const QModelIndex &index, int role) const override |
| void | rebuild (const std::vector< const Game * > &allGames) |
| int | rowCount (const QModelIndex &parent={}) const override |
| int | rowForSourceValue (int value) const |
Definition at line 99 of file sidebar_models.h.
|
explicit |
Definition at line 137 of file sidebar_models.cpp.
|
override |
Definition at line 149 of file sidebar_models.cpp.
References SidebarEntry::display, SidebarEntry::icon, SidebarEntry::intId, SidebarIdRole, and SidebarEntry::tooltip.
| void SourceFilterModel::rebuild | ( | const std::vector< const Game * > & | allGames | ) |
Definition at line 170 of file sidebar_models.cpp.
References ThemeColors::accent, FA::BoxOpen, FA::CompactDisc, SidebarEntry::display, Epic, Flatpak, FA::Folder, FA::Gamepad, GOG, IconFont::icon(), SidebarEntry::icon, SidebarEntry::intId, Itch, FA::ItchIo, FA::LayerGroup, Local, Lutris, FA::Steam, Steam, ThemeColors::textSecondary, SidebarEntry::tooltip, and FA::WineGlass.
|
override |
Definition at line 142 of file sidebar_models.cpp.
| int SourceFilterModel::rowForSourceValue | ( | int | value | ) | const |
Definition at line 231 of file sidebar_models.cpp.