Port to PySide6
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
08cf5a95f3
commit
48607c59ab
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
__pycache__
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
@ -18,7 +18,7 @@
|
||||
# ============================================================
|
||||
import gettext
|
||||
import os
|
||||
from PySide2 import QtCore
|
||||
from PySide6 import QtCore
|
||||
|
||||
locale = QtCore.QLocale.system()
|
||||
languages = [
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user