|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
#include <details_panel_manager.h>
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. | |
Definition at line 60 of file details_panel_manager.h.
| 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().
|
overridedefault |
| void DetailsPanelManager::applyTheme | ( | ) |
Re-read theme colours and restyle.
Definition at line 2795 of file details_panel_manager.cpp.
| void DetailsPanelManager::configureRequested | ( | const std::string & | gameId | ) |
| QProgressBar * DetailsPanelManager::downloadProgressBar | ( | ) | const |
Definition at line 2815 of file details_panel_manager.cpp.
| QLabel * DetailsPanelManager::downloadProgressLabel | ( | ) | const |
Definition at line 2820 of file details_panel_manager.cpp.
| QWidget * DetailsPanelManager::downloadProgressWidget | ( | ) | const |
Definition at line 2810 of file details_panel_manager.cpp.
| 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.
| void DetailsPanelManager::gameChanged | ( | const std::string & | gameId | ) |
| QLabel * DetailsPanelManager::heroImageLabel | ( | ) | const |
Definition at line 2805 of file details_panel_manager.cpp.
| QPushButton * DetailsPanelManager::launchButton | ( | ) | const |
Definition at line 2825 of file details_panel_manager.cpp.
| void DetailsPanelManager::launchRequested | ( | const std::string & | gameId | ) |
| void DetailsPanelManager::stopRequested | ( | const std::string & | gameId | ) |
| 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().
| 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().
| 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.
| QWidget * DetailsPanelManager::widget | ( | ) | const |
The root widget — slot into MainWindow's splitter.
Definition at line 2775 of file details_panel_manager.cpp.