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

Shows count of games with updates available. More...

#include <status_indicators.h>

Inheritance diagram for UpdatesIndicator:
Collaboration diagram for UpdatesIndicator:

Public Member Functions

 UpdatesIndicator (core::GameLibraryController *libraryController, QWidget *parent=nullptr, ThemeManager *themeManager=nullptr)
void refresh ()
int updateCount () const
void updatesClicked ()
Public Member Functions inherited from StatusIndicator
 StatusIndicator (QWidget *parent=nullptr, ThemeManager *themeManager=nullptr)
void clicked ()
void setIcon (const QString &icon)
void setText (const QString &text)
void setTooltipText (const QString &tip)

Additional Inherited Members

Protected Member Functions inherited from StatusIndicator
void enterEvent (QEnterEvent *event) override
void leaveEvent (QEvent *event) override
void mousePressEvent (QMouseEvent *event) override
void mouseReleaseEvent (QMouseEvent *event) override
void paintEvent (QPaintEvent *event) override
void updateTextColors ()
Protected Attributes inherited from StatusIndicator
bool hovered_ = false
QLabel * iconLabel_ = nullptr
bool pressed_ = false
QLabel * textLabel_ = nullptr
ThemeManager * themeManager_

Detailed Description

Shows count of games with updates available.

Definition at line 147 of file status_indicators.h.

Constructor & Destructor Documentation

◆ UpdatesIndicator()

UpdatesIndicator::UpdatesIndicator ( core::GameLibraryController * libraryController,
QWidget * parent = nullptr,
ThemeManager * themeManager = nullptr )
explicit

Member Function Documentation

◆ refresh()

◆ updateCount()

int UpdatesIndicator::updateCount ( ) const
inline

Definition at line 156 of file status_indicators.h.

◆ updatesClicked()

void UpdatesIndicator::updatesClicked ( )

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