|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
#include <sidebar_models.h>
Public Member Functions | |
| RunnerFilterModel (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 | rowForVersion (const QString &version) const |
Definition at line 127 of file sidebar_models.h.
|
explicit |
Definition at line 245 of file sidebar_models.cpp.
|
override |
Definition at line 257 of file sidebar_models.cpp.
References SidebarEntry::display, SidebarEntry::icon, SidebarIdRole, SidebarEntry::stringId, and SidebarEntry::tooltip.
| void RunnerFilterModel::rebuild | ( | const std::vector< const Game * > & | allGames | ) |
Definition at line 278 of file sidebar_models.cpp.
References ThemeColors::accent, FA::Atom, SidebarEntry::display, FA::Gamepad, IconFont::icon(), SidebarEntry::icon, FA::LayerGroup, FA::Linux, Native, SidebarEntry::stringId, ThemeColors::textSecondary, SidebarEntry::tooltip, and FA::WineGlass.
|
override |
Definition at line 250 of file sidebar_models.cpp.
| int RunnerFilterModel::rowForVersion | ( | const QString & | version | ) | const |
Definition at line 371 of file sidebar_models.cpp.