Código fuente para NiBAx.aboutdialog

# This Python file uses the following encoding: utf-8
"""
contact: software@cbica.upenn.edu
Copyright (c) 2018 University of Pennsylvania. All rights reserved.
Use of this source code is governed by license located in license file: https://github.com/CBICA/NiBAx/blob/main/LICENSE
Author: Ashish Singh
"""

from PyQt5 import QtCore, QtWidgets, uic
import os
from NiBAx.resources import resources

[documentos]class AboutDialog(QtWidgets.QDialog): def __init__(self,parent=None): super(AboutDialog,self).__init__(parent) self.SetupUi() self.SetupConnections()
[documentos] def SetupConnections(self): self.buttonBox.accepted.connect(self.OnOkBtnClicked)
[documentos] def OnOkBtnClicked(self): self.hide()
[documentos] def SetupUi(self): root = os.path.dirname(__file__) self.ui = uic.loadUi(os.path.join(root, 'aboutdialog.ui'), self)