Move PySide6 imports before qweechat ones

This commit is contained in:
Sébastien Helleu 2021-11-13 16:49:32 +01:00
parent dfe51b71f5
commit f3da694d2c
6 changed files with 11 additions and 12 deletions

View File

@ -20,8 +20,7 @@
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
from PySide6 import QtCore
from PySide6 import QtWidgets as QtGui
from PySide6 import QtCore, QtWidgets as QtGui
class AboutDialog(QtGui.QDialog):

View File

@ -19,14 +19,15 @@
# You should have received a copy of the GNU General Public License
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
from pkg_resources import resource_filename
from PySide6 import QtCore, QtGui, QtWidgets
from qweechat.chat import ChatTextEdit
from qweechat.input import InputLineEdit
from qweechat.weechat import color
from PySide6 import QtCore, QtGui, QtWidgets
class GenericListWidget(QtWidgets.QListWidget):
"""Generic QListWidget with dynamic size."""

View File

@ -21,12 +21,12 @@
#
import datetime
from PySide6 import QtCore, QtWidgets, QtGui
from qweechat import config
from qweechat.weechat import color
from PySide6 import QtCore
from PySide6 import QtWidgets, QtGui
class ChatTextEdit(QtWidgets.QTextEdit):
"""Chat area."""

View File

@ -20,11 +20,11 @@
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
from PySide6 import QtWidgets
from qweechat.chat import ChatTextEdit
from qweechat.input import InputLineEdit
from PySide6 import QtWidgets
class DebugDialog(QtWidgets.QDialog):
"""Debug dialog."""

View File

@ -20,8 +20,7 @@
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
from PySide6 import QtCore
from PySide6 import QtWidgets
from PySide6 import QtCore, QtWidgets
class InputLineEdit(QtWidgets.QLineEdit):

View File

@ -37,7 +37,7 @@ import sys
import traceback
from pkg_resources import resource_filename
from PySide6 import QtGui, QtWidgets, QtCore
from PySide6 import QtCore, QtGui, QtWidgets
from qweechat import config
from qweechat.weechat import protocol