Skip to content

Commit 1077234

Browse files
authored
Merge pull request #14 from int-brain-lab/develop
0.4.4
2 parents 155d54f + 7c13daa commit 1077234

File tree

7 files changed

+547
-212
lines changed

7 files changed

+547
-212
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@ All notable changes to this project will be documented in this file.
66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
77
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9-
## [0.4.3] - 20525-03-25
9+
## [0.4.4] - 2025-03-26
10+
11+
### Fixed
12+
- compatibility issues with PySide in widgets.AlyxUserEdit and widgets.AlyxLoginWidget
13+
14+
### Changed
15+
- increased coverage of unit-tests
16+
17+
## [0.4.3] - 2025-03-25
1018

1119
### Added
1220
- unit tests for core.QAlyx

iblqt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""A collection of extensions to the Qt framework."""
22

3-
__version__ = '0.4.3'
3+
__version__ = '0.4.4'

iblqt/resources.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
# -*- coding: utf-8 -*-
2-
3-
# Resource object code
4-
#
5-
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.14)
6-
#
7-
# WARNING! All changes made in this file will be lost!
8-
9-
from PyQt5 import QtCore
1+
from qtpy import QtCore
102

113
qt_resource_data = b"\
124
\x00\x00\x02\x0e\

iblqt/widgets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def _onTokenMissing(self, username: str):
345345
username : str
346346
The username for which the token is missing.
347347
"""
348-
AlyxLoginDialog(self.alyx, username, self, self._cache).exec()
348+
AlyxLoginDialog(self.alyx, username, self, self._cache).exec_()
349349

350350

351351
class AlyxLoginWidget(QWidget):
@@ -480,7 +480,7 @@ def __init__(
480480
self.layout().setSizeConstraint(QLayout.SetFixedSize)
481481

482482
def _setCache(self, do_cache: int) -> None:
483-
self._cache = do_cache > 0
483+
self._cache = do_cache == Qt.CheckState.Checked
484484

485485
def accept(self):
486486
"""Hide the dialog and set the result code to Accepted."""

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ testpaths = [ "tests" ]
9898
source_pkgs = [ "iblqt" ]
9999
relative_files = true
100100

101+
[tool.coverage.paths]
102+
source = [
103+
"iblqt/",
104+
".tox/py*/lib/py*/site-packages/iblqt/",
105+
".tox/py*/Lib/site-packages/iblqt/"
106+
]
107+
101108
[tool.tox]
102109
legacy_tox_ini = """
103110
[tox]

0 commit comments

Comments
 (0)