game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
DetailsPanelManager::Impl Class Reference
Inheritance diagram for DetailsPanelManager::Impl:
Collaboration diagram for DetailsPanelManager::Impl:

Public Member Functions

 Impl (DetailsPanelManager *owner, QWidget *parent, core::GameLibraryController *libCtrl, core::LaunchController *launchCtrl, GameThumbnailCache *imgCache, ThemeManager *themeMgr)
void applyTheme ()
QWidget * detailsPanel () const
QProgressBar * downloadProgressBar () const
QLabel * downloadProgressLabel () const
QWidget * downloadProgressWidget () const
bool eventFilter (QObject *obj, QEvent *event) override
FrameMetricsWidget * frameMetricsWidget () const
QLabel * heroImageLabel () const
QPushButton * launchButton () const
void update (const std::string &gameId)
void updateLaunchButton (const std::string &gameId)
void updateRunningInfo (const std::string &gameId)

Public Attributes

std::string currentGameId_

Detailed Description

Definition at line 68 of file details_panel_manager.cpp.

Constructor & Destructor Documentation

◆ Impl()

DetailsPanelManager::Impl::Impl ( DetailsPanelManager * owner,
QWidget * parent,
core::GameLibraryController * libCtrl,
core::LaunchController * launchCtrl,
GameThumbnailCache * imgCache,
ThemeManager * themeMgr )
inline

Member Function Documentation

◆ applyTheme()

◆ detailsPanel()

QWidget * DetailsPanelManager::Impl::detailsPanel ( ) const
inline

Definition at line 87 of file details_panel_manager.cpp.

◆ downloadProgressBar()

QProgressBar * DetailsPanelManager::Impl::downloadProgressBar ( ) const
inline

Definition at line 99 of file details_panel_manager.cpp.

◆ downloadProgressLabel()

QLabel * DetailsPanelManager::Impl::downloadProgressLabel ( ) const
inline

Definition at line 103 of file details_panel_manager.cpp.

◆ downloadProgressWidget()

QWidget * DetailsPanelManager::Impl::downloadProgressWidget ( ) const
inline

Definition at line 95 of file details_panel_manager.cpp.

◆ eventFilter()

bool DetailsPanelManager::Impl::eventFilter ( QObject * obj,
QEvent * event )
override

◆ frameMetricsWidget()

FrameMetricsWidget * DetailsPanelManager::Impl::frameMetricsWidget ( ) const
inline

Definition at line 111 of file details_panel_manager.cpp.

◆ heroImageLabel()

QLabel * DetailsPanelManager::Impl::heroImageLabel ( ) const
inline

Definition at line 91 of file details_panel_manager.cpp.

◆ launchButton()

QPushButton * DetailsPanelManager::Impl::launchButton ( ) const
inline

Definition at line 107 of file details_panel_manager.cpp.

◆ update()

void DetailsPanelManager::Impl::update ( const std::string & gameId)

Definition at line 766 of file details_panel_manager.cpp.

References Abandoned, ThemeColors::accent, Game::activeTemplateName, Beaten, ThemeColors::border, ThemeColors::cardBackground, GameMetadata::cloudSave, Game::collections, ActualRuntimeInfo::commandLine, ActualRuntimeInfo::compareWithConfigured(), Completed, HowLongToBeatInfo::completionistHours, Game::completionStatus, Game::configTemplates, GameStatistics::crashCount, currentGameId_, ThemeManager::darkenColor(), GameMetadata::description, GameMetadata::developer, GameMetadata::dlc, CloudSaveInfo::enabled, ThemeColors::error, HowLongToBeatInfo::found, FA::Gamepad, GameMetadata::genres, Game::getFormattedPlayTime(), Game::getImagePath(), ActualRuntimeInfo::getKeyEnvironment(), FrameMetricsService::getMetrics(), Game::getRunnerName(), GameProcessManager::getRunningProcess(), Game::getSourceName(), Game::hltbInfo, ThemeColors::hoverBackground, ThemeColors::info, ThemeColors::inputBackground, Installed, Installing, Game::installPath, Game::installSizeBytes, FrameMetricsService::instance(), GameProcessManager::instance(), SystemInfoService::instance(), FrameMetricsService::isCollecting(), SteamStateFlags::isDownloading(), Game::isInstalled(), GameStatistics::lastPlayed, CloudSaveInfo::lastSyncState, Logo, HowLongToBeatInfo::mainPlusExtrasHours, HowLongToBeatInfo::mainStoryHours, Game::metadata, Game::name, SteamStateFlags::needsUpdate(), OnHold, GameMetadata::protondbConfidence, GameMetadata::protondbTier, GameMetadata::publisher, ActualRuntimeInfo::readFromProcess(), SteamDownloadMonitor::readGameState(), Game::recentSessions, GameMetadata::releaseYear, Game::runnerConfig, IconFont::solidFamily(), Game::source, SteamStateFlags::Staging, Game::statistics, Game::status, Steam, GameMetadata::steamAppId, GameMetadata::steamCategories, GameMetadata::steamStateFlags, CloudSaveInfo::storageBytes, ThemeColors::success, CloudSaveInfo::supported, IconFont::text(), ThemeColors::textMuted, ThemeColors::textOnAccent, ThemeColors::textSecondary, GameStatistics::timesLaunched, GameStatistics::totalPlayTimeSeconds, DetailsPanelManager::update(), DetailsPanelManager::updateLaunchButton(), Game::userNotes, ActualRuntimeInfo::valid, VerticalCover, and ThemeColors::warning.

◆ updateLaunchButton()

◆ updateRunningInfo()

Member Data Documentation

◆ currentGameId_

std::string DetailsPanelManager::Impl::currentGameId_

Definition at line 117 of file details_panel_manager.cpp.

Referenced by eventFilter(), and update().


The documentation for this class was generated from the following file: