Port to PySide6

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2024-12-07 15:43:56 +01:00
parent 08cf5a95f3
commit 48607c59ab
8 changed files with 9 additions and 10 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
__pycache__

View File

@ -15,7 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
from PySide2.QtCore import Signal, QObject, QSettings
from PySide6.QtCore import Signal, QObject, QSettings
class Config(QObject):

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from PySide2 import QtCore, QtGui, QtWidgets
from PySide6 import QtGui, QtWidgets
class Separator(QtWidgets.QWidget):

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from PySide2 import QtWidgets
from PySide6 import QtWidgets
class Spacer(QtWidgets.QWidget):
@ -49,4 +49,3 @@ class Spacer(QtWidgets.QWidget):
return "Spacer " + str(self.number)
return "Spacer 1"

View File

@ -16,7 +16,7 @@
import Falkon
import os
from PySide2 import QtCore
from PySide6 import QtCore
from toolbartools.Config import Config
from toolbartools.Spacer import Spacer
from toolbartools.Separator import Separator

View File

@ -18,7 +18,7 @@
# ============================================================
import gettext
import os
from PySide2 import QtCore
from PySide6 import QtCore
locale = QtCore.QLocale.system()
languages = [

View File

@ -6,6 +6,6 @@ Type=Service
X-Falkon-Type=Extension/Python
X-Falkon-Author=Juraj Oravec
X-Falkon-Email=sgd.orava@gmail.com
X-Falkon-Version=1.0.0
X-Falkon-Email=jurajoravec@mailo.com
X-Falkon-Version=1.1.0
X-Falkon-Settings=true

View File

@ -16,9 +16,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ============================================================
import Falkon
import os
from PySide2 import QtCore, QtWidgets, QtUiTools
from PySide6 import QtCore, QtWidgets, QtUiTools
from toolbartools.i18n import i18n