Fixed python tests
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
from PySide2.QtWidgets import QMessageBox
|
||||
|
||||
|
||||
text = """
|
||||
This software is free to use and delivered to you with a lot on fun :)
|
||||
|
||||
If somebody ask you how to get it, just tell him/her to google 'albion online stats github'
|
||||
|
||||
Feel free to donate me with some in-game silver or support me on patronite.
|
||||
|
||||
Quick contact - catch me on discord JaWiktor#1717
|
||||
|
||||
See you in game, WedrowyczJakub
|
||||
"""
|
||||
|
||||
class About(QMessageBox):
|
||||
def __init__(self):
|
||||
QMessageBox.__init__(self)
|
||||
self.setIcon(QMessageBox.Information)
|
||||
self.setWindowTitle("Albion online stats")
|
||||
self.setText(text)
|
||||
self.setInformativeText('<a href="{}"> Report Bug/Feature request </a> | <a href="{}"> Contribute </a> | <a href="{}"> Download </a> | <a href="{}"> Donate </a>'.format(
|
||||
"https://github.com/mazurwiktor/albion-online-stats/issues/new/choose",
|
||||
"https://github.com/mazurwiktor/albion-online-stats",
|
||||
"https://github.com/mazurwiktor/albion-online-stats/releases/latest",
|
||||
"https://www.patreon.com/wiktormazur",
|
||||
))
|
||||
self.setStandardButtons(QMessageBox.Ok)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user