1
0
Fork 0
mirror of synced 2024-07-06 07:00:27 +12:00
Rare/rare/components/tabs/games/game_widgets/base_uninstalled_widget.py
2021-05-21 13:40:10 +02:00

23 lines
565 B
Python

from logging import getLogger
from PyQt5.QtCore import pyqtSignal
from PyQt5.QtWidgets import QGroupBox
logger = getLogger("Uninstalled")
class BaseUninstalledWidget(QGroupBox):
show_uninstalled_info = pyqtSignal(str)
def __init__(self, game, core, pixmap):
super(BaseUninstalledWidget, self).__init__()
self.game = game
self.core = core
self.pixmap = pixmap
self.installing = False
self.setContentsMargins(0, 0, 0, 0)
def install(self):
self.show_uninstalled_info.emit(self.game.app_name)