diff --git a/src/voxkit/gui/components/loading_dialog.py b/src/voxkit/gui/components/loading_dialog.py index 96f2a7c..ed4dc4c 100644 --- a/src/voxkit/gui/components/loading_dialog.py +++ b/src/voxkit/gui/components/loading_dialog.py @@ -14,7 +14,7 @@ QWidget, ) -from voxkit.gui.styles import Colors +from voxkit.gui.styles import Colors, Labels class _WaveformStrip(QWidget): @@ -193,6 +193,16 @@ def init_ui(self, message: str, title: str, subtitle: str | None): self.subtitle_label.setVisible(bool(subtitle)) layout.addWidget(self.subtitle_label) + # Fine-print institutional credit + credit_label = QLabel( + "VoxKit is brought to you by the University of Wisconsin-Madison " + "and Arizona State University" + ) + credit_label.setAlignment(Qt.AlignmentFlag.AlignCenter) + credit_label.setWordWrap(True) + credit_label.setStyleSheet(Labels.CREDIT) + layout.addWidget(credit_label) + # Card background: subtle vertical gradient (light tints of the app's # primary blue) with a primary-blue rounded border. Painted on the child # frame (not the translucent window) so it renders reliably. @@ -210,7 +220,7 @@ def init_ui(self, message: str, title: str, subtitle: str | None): """ ) - self.setFixedSize(420, 260) + self.setFixedSize(420, 290) def center_on_screen(self): """Center the dialog on the primary screen.""" diff --git a/tests/gui/test_loading_dialog.py b/tests/gui/test_loading_dialog.py index 9af1d83..9e3c674 100644 --- a/tests/gui/test_loading_dialog.py +++ b/tests/gui/test_loading_dialog.py @@ -75,7 +75,7 @@ def test_fixed_size(self, qtbot): dialog = LoadingDialog() qtbot.addWidget(dialog) assert dialog.width() == 420 - assert dialog.height() == 260 + assert dialog.height() == 290 def test_close_gracefully_stops_timer(self, qtbot): dialog = LoadingDialog()