switch from PyQt6 to PySide6

PySide6 uses LGPL instead of GPL, which is much nicer to work with.
This commit is contained in:
2022-01-30 10:50:31 +01:00
parent f33c8b0da5
commit f0555df0a9
30 changed files with 83 additions and 122 deletions

View File

@@ -1,9 +1,7 @@
import math
import re
from typing import List, Optional
from PyQt6.QtCore import pyqtSignal
from PySide6.QtCore import Signal
from highlight_regex import HighlightRegex
from highlighting import Highlighting
from line import Line
@@ -14,7 +12,7 @@ from settings import Settings
class LogFileModel:
_query_highlight: Optional[HighlightRegex] = None
file_size_changed = pyqtSignal(str)
file_size_changed = Signal()
"""Fires when the file size changed. **Note:** uses strings,
because int in Qt signal are limited to 32bit."""