92 bool includeMoreSettings);
155 std::unique_ptr<Impl> impl_;
void addQuickSettingsSubmenu(QMenu *menu, const std::string &gameId, const Game *game, bool includeMoreSettings)
"Quick Settings" submenu with MangoHud / GameMode / Gamescope / VkBasalt toggles.
~GameActionFactory() override
void addCollectionsSubmenu(QMenu *menu, const std::string &gameId, const Game *game)
"Collections" submenu listing every collection as a checkmarked action, plus "Create New....
void gameConfigUpdated(const std::string &gameId)
Configure dialog closed Accepted OR a Quick Setting was toggled.
GameActionFactory(QWidget *dialogParent, core::GameLibraryController *libraryController, core::LaunchController *launchController, DetailsPanelManager *detailsPanelManager, GameThumbnailCache *imageCache, ThemeManager *themeManager, QObject *qparent=nullptr)
void removeGameRequested(const std::string &gameId)
Remove from Library confirmed.
void favoriteChanged(const std::string &gameId)
Favorite state flipped. Caller should refresh the list.
void addChangeArtworkAction(QMenu *menu, const std::string &gameId, const Game *game)
"Change Artwork..." — opens SteamGridDBSelectorDialog if the game has a Steam App ID.
void addFavoriteAction(QMenu *menu, const std::string &gameId, const Game *game)
Favorite toggle (text flips between Add/Remove based on current state).
void addConfigureAction(QMenu *menu, const std::string &gameId)
Configure... — opens GameConfigDialog.
void addRemoveAction(QMenu *menu, const std::string &gameId)
"Remove from Library" with confirmation QMessageBox.
void artworkChanged(const std::string &gameId)
Artwork was changed via SteamGridDBSelectorDialog.
void stopRequested(const std::string &gameId)
The Stop action was triggered. Caller calls launchController->kill.
void launchRequested(const std::string &gameId)
The Launch action was triggered. Caller runs the launch pipeline.
void addProtonDBAction(QMenu *menu, const Game *game)
"View on ProtonDB" — opens https://www.protondb.com/app/{appId} in the default browser.
void addOpenFolderAction(QMenu *menu, const Game *game)
"Open Game Folder" — opens the executable's parent directory in the file manager.
void addSteamActions(QMenu *menu, const Game *game)
Steam actions — "Manage in Steam..." (if installed) and "View on Steam Store" (always for Steam games...
void addLaunchActions(QMenu *menu, const std::string &gameId, const Game *game)
Launch (if installed + not running), Stop (if running), or Install via Steam (if Steam game + not ins...
void gameListChanged()
Collections (add / remove / create+add) changed for gameId.
Complete representation of a game in the library.