Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions rare/components/tabs/library/widgets/game_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ def __init__(self, rgame: RareGame, parent=None):
'needs_verification': self.tr('Needs verification'),
'not_can_launch': self.tr("Can't launch"),
'save_not_up_to_date': self.tr('Save is not up-to-date'),
'is_origin': 'The EA App',
'is_ubisoft': 'Ubisoft Connect',
'is_android': 'Android',
}

self.hover_strings = {
Expand Down Expand Up @@ -150,6 +153,12 @@ def update_state(self):
and not self.rgame.is_save_up_to_date
):
self.ui.status_label.setText(self.state_strings['save_not_up_to_date'])
elif self.rgame.is_origin:
self.ui.status_label.setText(self.state_strings['is_origin'])
elif self.rgame.is_ubisoft:
self.ui.status_label.setText(self.state_strings['is_ubisoft'])
elif self.rgame.is_android_only:
self.ui.status_label.setText(self.state_strings['is_android'])
else:
self.ui.status_label.setText(self.state_strings[self.rgame.state])
else:
Expand Down
118 changes: 59 additions & 59 deletions rare/resources/static_css/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,65 +6,65 @@
from PySide6 import QtCore

qt_resource_data = b"\
\x00\x00\x03\x88\
\x00\x00\x03\x89\
\x00\
\x00\x0f\xffx\x9c\xbdWmo\xda0\x10\xfe\xde_\xe1\
R!\xadS\xa1y!\x012\xf5K\xb7i\xaa\xd4n\
\xab\xca\xb6\x0f\xd5>8\xf1\x91X\x0dv\xe48\xa3l\
\xda\x7f\x9fC\x02$\x90\x18Z\xb5C\x88\x04\xbf<w\
\xf7\xdc\xf9\xee|\xfe\x16M\x22\x9a\xa2)\x8d\x01\xa9'\
\xce$\xef\x85\xc0@`\x09\x04M\x05\x9f\xa1N*\x17\
1\xa4\x11\x80\xec'\x8bN\x1f}\xf8\x82>\x7f\x99\xa0\
\x8f\x1f\xae&\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x07z\xd94c\
\xda\xba\xa4i\xc8\xb4\xdf\xea\x959\x951\xfc\x13\xa7\x18\
\xcd\xcei/Q\xb5\x8c\x92&-\xcd\xce_\x80\xd7\xfb\
\x85\x9d\x84\x96\x1c\xbd\x8d\xec\x22\xf7 ?V\xe0\xadT\
\x9bF\xffO\x9c\xa5\x97\xafI\xe7\xa1\xc0\x9b\x1a7o\
i*\xcf\xf7F\xcb\xb6\x7fx\xb4\xc6N3,\xb7\x8d\
\xf5I\x22\xed*\x8d$\x98\x10\xca\xc2m\xb8\xaa\xadC\
\x1b\x96\xcd\x09Q\xa8X\xce\xb4Q\xf2\x18\xe1\xf2\xdf\xad\
\xa8\xc5\xc5\xde\x94F\x5cJX\xcb\x81j\xe3C\xe6\xa1\
\x1c\xb7\xd5x\xed\xad \xbf~a_\xdd\xe3\xae\xee1\
e\xc5\xab\xe7I\xec\xb7W\xfb\xfa\x95\xe8\x88.)0\
K\x13,\x80\xc9C\xfdg\x10C ?SXiN\
\x17\xe3\xac\xd3\x15\x1a\xec\xe2Q]\x0e\x9b\xc8z\x9cV\
\xbbJw\x94#\xf5\xeb\xd5\x1b\xbc\x849\x0e\xab\xff\xd5\
\x05\x13\x8b\x90\xb2\xe3\xaa\xf7\xa7\x1dL\xa9\xe0\xf9\x91\xb4\
kv~\x03b'\x08\xc1\
"

qt_resource_name = b"\
Expand All @@ -84,7 +84,7 @@
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x1a\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x9d\xc9~\xe1\xf2\
\x00\x00\x01\x9e_\x80\x06Q\
"

def qInitResources():
Expand Down
2 changes: 1 addition & 1 deletion rare/resources/static_css/stylesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def css_name(widget: wrappertype | QObject | type, subwidget: str = ''):
from rare.components.tabs.library.widgets.icon_widget import IconWidget # noqa: E402

icon_background_props = {
'backgroundColor': 'rgba(0, 0, 0, 65%)',
'backgroundColor': 'rgba(0, 0, 0, 80%)',
}
style.QLabel[css_name(IconWidget, 'StatusLabel')].setValues(
fontWeight='bold',
Expand Down
6 changes: 3 additions & 3 deletions rare/resources/static_css/stylesheet.qss
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ QLabel#ProgressLabel {
QLabel#IconWidgetStatusLabel {
font-weight: bold;
color: white;
background-color: rgba(0, 0, 0, 65%);
background-color: rgba(0, 0, 0, 80%);
border-radius: 5%;
border-top-left-radius: 11%;
border-top-right-radius: 11%;
}
QWidget#IconWidgetMiniWidget {
color: rgb(238, 238, 238);
background-color: rgba(0, 0, 0, 65%);
background-color: rgba(0, 0, 0, 80%);
border-radius: 5%;
border-bottom-left-radius: 9%;
border-bottom-right-radius: 9%;
Expand All @@ -131,7 +131,7 @@ QLabel#IconWidgetTooltipLabel {
QPushButton#IconWidgetButton {
border: 1px solid black;
border-radius: 10%;
background-color: rgba(0, 0, 0, 65%);
background-color: rgba(0, 0, 0, 80%);
}
QPushButton#IconWidgetButton:hover {
border-color: gray;
Expand Down
Loading