isort result
Change-Id: I137d9a6b4e2322f8df0506f9e8f751a4743aafd0 Reviewed-on: https://forge.frm2.tum.de/review/20218 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
@ -29,8 +29,8 @@ from secop.client.baseclient import Client as SECNode
|
||||
from secop.gui.modulectrl import ModuleCtrl
|
||||
from secop.gui.nodectrl import NodeCtrl
|
||||
from secop.gui.paramview import ParameterView
|
||||
from secop.gui.qt import (QInputDialog, QMainWindow, QMessageBox, QObject,
|
||||
QTreeWidgetItem, pyqtSignal, pyqtSlot)
|
||||
from secop.gui.qt import QInputDialog, QMainWindow, QMessageBox, \
|
||||
QObject, QTreeWidgetItem, pyqtSignal, pyqtSlot
|
||||
from secop.gui.util import loadUi
|
||||
|
||||
ITEM_TYPE_NODE = QTreeWidgetItem.UserType + 1
|
||||
|
@ -26,8 +26,8 @@ from __future__ import division, print_function
|
||||
|
||||
from os import path
|
||||
|
||||
from secop.gui.qt import (QBrush, QColor, QPainter, QPen, QPointF, QPolygonF,
|
||||
QRectF, QSize, Qt, QWidget)
|
||||
from secop.gui.qt import QBrush, QColor, QPainter, QPen, \
|
||||
QPointF, QPolygonF, QRectF, QSize, Qt, QWidget
|
||||
|
||||
_magenta = QBrush(QColor('#A12F86'))
|
||||
_yellow = QBrush(QColor('yellow'))
|
||||
|
@ -25,8 +25,8 @@
|
||||
from __future__ import division, print_function
|
||||
|
||||
from secop.gui.params import ParameterView
|
||||
from secop.gui.qt import QCheckBox, QDialog, QLabel, QMessageBox, QPushButton, \
|
||||
QSizePolicy, QWidget
|
||||
from secop.gui.qt import QCheckBox, QDialog, QLabel, \
|
||||
QMessageBox, QPushButton, QSizePolicy, QWidget
|
||||
from secop.gui.util import loadUi
|
||||
from secop.gui.valuewidgets import get_widget
|
||||
|
||||
|
@ -29,8 +29,8 @@ from time import sleep
|
||||
|
||||
from secop.datatypes import EnumType, StringType
|
||||
from secop.errors import SECoPError
|
||||
from secop.gui.qt import (QFont, QFontMetrics, QLabel, QMessageBox,
|
||||
QTextCursor, QWidget, pyqtSlot, toHtmlEscaped)
|
||||
from secop.gui.qt import QFont, QFontMetrics, QLabel, \
|
||||
QMessageBox, QTextCursor, QWidget, pyqtSlot, toHtmlEscaped
|
||||
from secop.gui.util import loadUi
|
||||
|
||||
try:
|
||||
|
@ -23,18 +23,20 @@
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
from secop.datatypes import EnumType, FloatRange, IntRange
|
||||
from secop.gui.qt import QPushButton as QButton
|
||||
from secop.gui.qt import QCheckBox, QLabel, QLineEdit, \
|
||||
QMessageBox, QSizePolicy, Qt, QWidget, pyqtSignal, pyqtSlot
|
||||
from secop.gui.util import loadUi
|
||||
from secop.lib import formatExtendedStack
|
||||
|
||||
try:
|
||||
# py2
|
||||
unicode(u'')
|
||||
except NameError:
|
||||
unicode = str # pylint: disable=redefined-builtin
|
||||
|
||||
from secop.gui.qt import QWidget, QLabel, QPushButton as QButton, QLineEdit, \
|
||||
QMessageBox, QCheckBox, QSizePolicy, Qt, pyqtSignal, pyqtSlot
|
||||
|
||||
from secop.gui.util import loadUi
|
||||
from secop.datatypes import EnumType, FloatRange, IntRange
|
||||
from secop.lib import formatExtendedStack
|
||||
|
||||
|
||||
class ParameterWidget(QWidget):
|
||||
|
@ -23,6 +23,9 @@
|
||||
|
||||
from __future__ import division, print_function
|
||||
|
||||
from secop.gui.qt import QLabel, QSizePolicy, QWidget
|
||||
from secop.gui.util import loadUi
|
||||
|
||||
try:
|
||||
# py2
|
||||
unicode(u'')
|
||||
@ -30,8 +33,6 @@ except NameError:
|
||||
# py3
|
||||
unicode = str # pylint: disable=redefined-builtin
|
||||
|
||||
from secop.gui.qt import QLabel, QSizePolicy, QWidget
|
||||
from secop.gui.util import loadUi
|
||||
|
||||
|
||||
class ParameterView(QWidget):
|
||||
|
@ -23,11 +23,10 @@
|
||||
|
||||
from __future__ import division, print_function
|
||||
|
||||
from secop.datatypes import (ArrayOf, BLOBType, BoolType, EnumType, FloatRange,
|
||||
IntRange, StringType, StructOf, TupleOf)
|
||||
from secop.gui.qt import (QCheckBox, QComboBox, QDialog, QDoubleSpinBox,
|
||||
QFrame, QGridLayout, QGroupBox, QLabel, QLineEdit,
|
||||
QSpinBox, QVBoxLayout)
|
||||
from secop.datatypes import ArrayOf, BLOBType, BoolType, EnumType, \
|
||||
FloatRange, IntRange, StringType, StructOf, TupleOf
|
||||
from secop.gui.qt import QCheckBox, QComboBox, QDialog, QDoubleSpinBox, \
|
||||
QFrame, QGridLayout, QGroupBox, QLabel, QLineEdit, QSpinBox, QVBoxLayout
|
||||
from secop.gui.util import loadUi
|
||||
|
||||
# XXX: implement live validators !!!!
|
||||
|
Reference in New Issue
Block a user