Ejemplo n.º 1
0
 def __init__(self, parent=None):
     """
     Arguments:
     parent -- Qt widget that is parent to this widget.
     """
     super(MSS_AboutDialog, self).__init__(parent)
     self.setupUi(self)
     self.lblVersion.setText("Version: {}".format(__version__))
     blub = QtGui.QPixmap(python_powered())
     self.lblPython.setPixmap(blub)
Ejemplo n.º 2
0
 def __init__(self, parent=None):
     """
     Arguments:
     parent -- Qt widget that is parent to this widget.
     """
     super(MSS_AboutDialog, self).__init__(parent)
     self.setupUi(self)
     self.lblVersion.setText(f"Version: {__version__}")
     self.milestone_url = f'https://github.com/Open-MSS/MSS/issues?q=is%3Aclosed+milestone%3A{__version__[:-1]}'
     self.lblChanges.setText(
         f'<a href="{self.milestone_url}">New Features and Changes</a>')
     blub = QtGui.QPixmap(python_powered())
     self.lblPython.setPixmap(blub)