forked from awendt/pyrelacs
cosmetics
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import os
|
||||
import pathlib
|
||||
|
||||
from PyQt6.QtGui import QPixmap
|
||||
@@ -7,7 +6,7 @@ from PyQt6.QtCore import Qt
|
||||
|
||||
|
||||
class AboutDialog(QDialog):
|
||||
|
||||
|
||||
def __init__(self, parent=None) -> None:
|
||||
super().__init__(parent=parent)
|
||||
self.setModal(True)
|
||||
@@ -20,11 +19,11 @@ class AboutDialog(QDialog):
|
||||
|
||||
|
||||
class About(QWidget):
|
||||
|
||||
|
||||
def __init__(self, parent=None) -> None:
|
||||
super().__init__(parent=parent)
|
||||
self.setLayout(QVBoxLayout())
|
||||
|
||||
|
||||
heading = QLabel("pyRelacs")
|
||||
font = heading.font()
|
||||
font.setPointSize(18)
|
||||
@@ -33,10 +32,10 @@ class About(QWidget):
|
||||
heading.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
subheading = QLabel("relacsed electrophysiological recordings")
|
||||
subheading.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
nix_link = QLabel("https://github.com/bendalab")
|
||||
nix_link = QLabel("https://github.com/relacs")
|
||||
nix_link.setOpenExternalLinks(True)
|
||||
nix_link.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
rtd_link = QLabel("https://nixio.readthedocs.io/en/master/")
|
||||
rtd_link = QLabel("https://relacs.net")
|
||||
rtd_link.setOpenExternalLinks(True)
|
||||
rtd_link.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
|
||||
@@ -50,7 +49,7 @@ class About(QWidget):
|
||||
iconlabel.setMaximumWidth(300)
|
||||
iconlabel.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
iconlabel.setScaledContents(True)
|
||||
|
||||
|
||||
self.layout().addWidget(heading)
|
||||
self.layout().addWidget(subheading)
|
||||
self.layout().addWidget(iconlabel)
|
||||
|
||||
Reference in New Issue
Block a user