|
5 | 5 | # Convert2EBRL is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
6 | 6 | # You should have received a copy of the GNU General Public License along with Convert2EBRL. If not, see <https://www.gnu.org/licenses/>. |
7 | 7 |
|
8 | | -from PySide6.QtCore import Signal, QObject |
| 8 | +from PySide6.QtCore import Signal, QObject, SignalInstance |
9 | 9 | from PySide6.QtWidgets import QWidget, QFormLayout, QCheckBox, QSpinBox, QComboBox |
10 | 10 | from brf2ebrl.common import PageNumberPosition |
11 | 11 |
|
12 | | -# noinspect PyUnresolvedReferences |
| 12 | +# noinspection PyUnresolvedReferences |
13 | 13 | from __feature__ import snake_case, true_property |
14 | 14 | _PAGE_NUMBER_POSITIONS_DICT = { |
15 | 15 | PageNumberPosition.NONE: "None", |
@@ -68,7 +68,7 @@ def create_page_number_position_combo(default_selection: PageNumberPosition = Pa |
68 | 68 | self._detect_running_heads_checkbox.toggled.connect(self.detectRunningHeadsChanged.emit) |
69 | 69 | self._cells_per_line_spinbox.valueChanged.connect(self.cellsPerLineChanged.emit) |
70 | 70 | self._lines_per_page_spinbox.valueChanged.connect(self.linesPerPageChanged.emit) |
71 | | - def form_update(change_signal: Signal, value: PageNumberPosition): |
| 71 | + def form_update(change_signal: SignalInstance, value: PageNumberPosition): |
72 | 72 | change_signal.emit(value) |
73 | 73 | self._update_validity() |
74 | 74 | self._odd_bpn_position.currentIndexChanged.connect( |
|
0 commit comments