When selecting Custom on the window levels, the program does not crash, but it does not work. The following error is returned:
File "\fcn_display\win_level.py", line 125, in window_custom
Window, ok1 = QInputDialog.getInt(self, "Input Window", "Enter Window value:", min=0, max=1000000, step=1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: PySide6.QtWidgets.QInputDialog.getInt(): unsupported keyword 'min'
When selecting Custom on the window levels, the program does not crash, but it does not work. The following error is returned:
File "\fcn_display\win_level.py", line 125, in window_custom
Window, ok1 = QInputDialog.getInt(self, "Input Window", "Enter Window value:", min=0, max=1000000, step=1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: PySide6.QtWidgets.QInputDialog.getInt(): unsupported keyword 'min'