game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
DetailsPanelManager Class Reference

#include <details_panel_manager.h>

Inheritance diagram for DetailsPanelManager:
Collaboration diagram for DetailsPanelManager:

Classes

class  Impl

Public Member Functions

 DetailsPanelManager (QWidget *parent, core::GameLibraryController *libCtrl, core::LaunchController *launchCtrl, GameThumbnailCache *imgCache, ThemeManager *themeManager, QObject *qparent=nullptr)
 ~DetailsPanelManager () override
void applyTheme ()
 Re-read theme colours and restyle.
void configureRequested (const std::string &gameId)
QProgressBar * downloadProgressBar () const
QLabel * downloadProgressLabel () const
QWidget * downloadProgressWidget () const
FrameMetricsWidget * frameMetricsWidget () const
 Optional embed handle so MainWindow can wire the frame metrics timer.
void gameChanged (const std::string &gameId)
QLabel * heroImageLabel () const
QPushButton * launchButton () const
void launchRequested (const std::string &gameId)
void stopRequested (const std::string &gameId)
void update (const std::string &gameId)
 Full refresh for a new selection. Safe with empty string (empty state).
void updateLaunchButton (const std::string &gameId)
 Refresh only the Launch/Stop button state based on the launch state machine.
void updateRunningInfo (const std::string &gameId)
 Lightweight refresh driven by the running-game timer; only touches FPS/frametime sections.
QWidget * widget () const
 The root widget — slot into MainWindow's splitter.

Detailed Description

Definition at line 60 of file details_panel_manager.h.

Constructor & Destructor Documentation

◆ DetailsPanelManager()

DetailsPanelManager::DetailsPanelManager ( QWidget * parent,
core::GameLibraryController * libCtrl,
core::LaunchController * launchCtrl,
GameThumbnailCache * imgCache,
ThemeManager * themeManager,
QObject * qparent = nullptr )

Definition at line 2764 of file details_panel_manager.cpp.

Referenced by DetailsPanelManager::Impl::Impl().

◆ ~DetailsPanelManager()

DetailsPanelManager::~DetailsPanelManager ( )
overridedefault

Member Function Documentation

◆ applyTheme()

void DetailsPanelManager::applyTheme ( )

Re-read theme colours and restyle.

Definition at line 2795 of file details_panel_manager.cpp.

◆ configureRequested()

void DetailsPanelManager::configureRequested ( const std::string & gameId)

◆ downloadProgressBar()

QProgressBar * DetailsPanelManager::downloadProgressBar ( ) const

Definition at line 2815 of file details_panel_manager.cpp.

◆ downloadProgressLabel()

QLabel * DetailsPanelManager::downloadProgressLabel ( ) const

Definition at line 2820 of file details_panel_manager.cpp.

◆ downloadProgressWidget()

QWidget * DetailsPanelManager::downloadProgressWidget ( ) const

Definition at line 2810 of file details_panel_manager.cpp.

◆ frameMetricsWidget()

FrameMetricsWidget * DetailsPanelManager::frameMetricsWidget ( ) const

Optional embed handle so MainWindow can wire the frame metrics timer.

Definition at line 2800 of file details_panel_manager.cpp.

◆ gameChanged()

void DetailsPanelManager::gameChanged ( const std::string & gameId)

◆ heroImageLabel()

QLabel * DetailsPanelManager::heroImageLabel ( ) const

Definition at line 2805 of file details_panel_manager.cpp.

◆ launchButton()

QPushButton * DetailsPanelManager::launchButton ( ) const

Definition at line 2825 of file details_panel_manager.cpp.

◆ launchRequested()

void DetailsPanelManager::launchRequested ( const std::string & gameId)

◆ stopRequested()

void DetailsPanelManager::stopRequested ( const std::string & gameId)

◆ update()

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

Full refresh for a new selection. Safe with empty string (empty state).

Definition at line 2780 of file details_panel_manager.cpp.

Referenced by DetailsPanelManager::Impl::eventFilter(), and DetailsPanelManager::Impl::update().

◆ updateLaunchButton()

void DetailsPanelManager::updateLaunchButton ( const std::string & gameId)

Refresh only the Launch/Stop button state based on the launch state machine.

Definition at line 2790 of file details_panel_manager.cpp.

Referenced by DetailsPanelManager::Impl::update().

◆ updateRunningInfo()

void DetailsPanelManager::updateRunningInfo ( const std::string & gameId)

Lightweight refresh driven by the running-game timer; only touches FPS/frametime sections.

Definition at line 2785 of file details_panel_manager.cpp.

◆ widget()

QWidget * DetailsPanelManager::widget ( ) const

The root widget — slot into MainWindow's splitter.

Definition at line 2775 of file details_panel_manager.cpp.


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