GUI development
This commit is contained in:
@@ -765,7 +765,8 @@ class Ui_DownloadWindow(object):
|
|||||||
self.logs_box.setMaximumSize(QtCore.QSize(1000, 1000))
|
self.logs_box.setMaximumSize(QtCore.QSize(1000, 1000))
|
||||||
self.logs_box.setStyleSheet("background-color: rgb(74, 76, 83);\n"
|
self.logs_box.setStyleSheet("background-color: rgb(74, 76, 83);\n"
|
||||||
"border-radius: 5px; \n"
|
"border-radius: 5px; \n"
|
||||||
"color: rgb(242, 242, 242);")
|
"color: rgb(242, 242, 242);\n"
|
||||||
|
'font: 50 12pt "Arial Black";')
|
||||||
self.logs_box.setAcceptRichText(False)
|
self.logs_box.setAcceptRichText(False)
|
||||||
self.logs_box.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
|
self.logs_box.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
|
||||||
self.logs_box.setObjectName("logs_box")
|
self.logs_box.setObjectName("logs_box")
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ def info(package, download_ui=None, UiDownloadWindow=None):
|
|||||||
download_ui.logs_box.append(f"{r['name']}{'✅' if r['verified'] else ''} by {r['authorName']}")
|
download_ui.logs_box.append(f"{r['name']}{'✅' if r['verified'] else ''} by {r['authorName']}")
|
||||||
download_ui.logs_box.append(f"{r['description']}")
|
download_ui.logs_box.append(f"{r['description']}")
|
||||||
download_ui.logs_box.append(f"👍{r['likes']} | 👎{r['dislikes']}")
|
download_ui.logs_box.append(f"👍{r['likes']} | 👎{r['dislikes']}")
|
||||||
|
download_ui.logs_box.append("")
|
||||||
if not r['verified']:
|
if not r['verified']:
|
||||||
download_ui.logs_box.append("This package is not verified by the horsy team. This means that it \n"
|
download_ui.logs_box.append("This package is not verified by the horsy team. This means that it \n"
|
||||||
"can be unstable or it can be malware. Most packages have unverified\n"
|
"can be unstable or it can be malware. Most packages have unverified\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user