gui: isort
Change-Id: Ic1c1d54a9577c1774024aefd5464b6e4b8e1fe07 Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/30570 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Alexander Zaft <a.zaft@fz-juelich.de> Reviewed-by: Georg Brandl <g.brandl@fz-juelich.de>
This commit is contained in:
parent
0e5f62d849
commit
bb0619f212
8
.isort.cfg
Normal file
8
.isort.cfg
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[settings]
|
||||||
|
multi_line_output=2
|
||||||
|
combine_as_imports=True
|
||||||
|
|
||||||
|
known_qt=frappy.gui.qt
|
||||||
|
known_core=frappy
|
||||||
|
|
||||||
|
sections=FUTURE,STDLIB,QT,THIRDPARTY,CORE,LOCALFOLDER
|
@ -26,8 +26,8 @@ from configparser import NoOptionError
|
|||||||
|
|
||||||
from frappy.gui.cfg_editor.tree_widget_item import TreeWidgetItem
|
from frappy.gui.cfg_editor.tree_widget_item import TreeWidgetItem
|
||||||
from frappy.gui.cfg_editor.utils import get_all_children_with_names, \
|
from frappy.gui.cfg_editor.utils import get_all_children_with_names, \
|
||||||
get_all_items, get_interface_class_from_name, \
|
get_all_items, get_interface_class_from_name, get_module_class_from_name, \
|
||||||
get_module_class_from_name, get_params, get_props
|
get_params, get_props
|
||||||
|
|
||||||
NODE = 'node'
|
NODE = 'node'
|
||||||
INTERFACE = 'interface'
|
INTERFACE = 'interface'
|
||||||
|
@ -22,10 +22,11 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
from frappy.gui.qt import QMainWindow, QMessageBox
|
||||||
|
|
||||||
from frappy.gui.cfg_editor.node_display import NodeDisplay
|
from frappy.gui.cfg_editor.node_display import NodeDisplay
|
||||||
from frappy.gui.cfg_editor.utils import get_file_paths, loadUi
|
from frappy.gui.cfg_editor.utils import get_file_paths, loadUi
|
||||||
from frappy.gui.cfg_editor.widgets import TabBar
|
from frappy.gui.cfg_editor.widgets import TabBar
|
||||||
from frappy.gui.qt import QMainWindow, QMessageBox
|
|
||||||
|
|
||||||
# TODO move frappy mainwindow to gui/client and all specific stuff
|
# TODO move frappy mainwindow to gui/client and all specific stuff
|
||||||
NODE = 'node'
|
NODE = 'node'
|
||||||
|
@ -20,9 +20,10 @@
|
|||||||
#
|
#
|
||||||
# *****************************************************************************
|
# *****************************************************************************
|
||||||
|
|
||||||
from frappy.gui.cfg_editor.utils import loadUi
|
|
||||||
from frappy.gui.qt import QHBoxLayout, QSizePolicy, QSpacerItem, Qt, QWidget
|
from frappy.gui.qt import QHBoxLayout, QSizePolicy, QSpacerItem, Qt, QWidget
|
||||||
|
|
||||||
|
from frappy.gui.cfg_editor.utils import loadUi
|
||||||
|
|
||||||
|
|
||||||
class NodeDisplay(QWidget):
|
class NodeDisplay(QWidget):
|
||||||
def __init__(self, file_path=None, parent=None):
|
def __init__(self, file_path=None, parent=None):
|
||||||
|
@ -20,11 +20,12 @@
|
|||||||
#
|
#
|
||||||
# *****************************************************************************
|
# *****************************************************************************
|
||||||
|
|
||||||
from frappy.gui.cfg_editor.utils import loadUi, \
|
from frappy.gui.qt import QDialog, QFont, QHBoxLayout, QLabel, QPushButton, \
|
||||||
set_name_edit_style, setIcon, setTreeIcon
|
QSize, QSizePolicy, QTextEdit, QTreeWidgetItem, QVBoxLayout, QWidget, \
|
||||||
from frappy.gui.qt import QDialog, QFont, QHBoxLayout, \
|
pyqtSignal
|
||||||
QLabel, QPushButton, QSize, QSizePolicy, QTextEdit, \
|
|
||||||
QTreeWidgetItem, QVBoxLayout, QWidget, pyqtSignal
|
from frappy.gui.cfg_editor.utils import loadUi, set_name_edit_style, setIcon, \
|
||||||
|
setTreeIcon
|
||||||
from frappy.gui.valuewidgets import get_widget
|
from frappy.gui.valuewidgets import get_widget
|
||||||
from frappy.properties import Property
|
from frappy.properties import Property
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ import sys
|
|||||||
from os import listdir, path
|
from os import listdir, path
|
||||||
|
|
||||||
from frappy.gui.qt import QDialogButtonBox, QFileDialog, QIcon, QSize, uic
|
from frappy.gui.qt import QDialogButtonBox, QFileDialog, QIcon, QSize, uic
|
||||||
|
|
||||||
from frappy.modules import Module
|
from frappy.modules import Module
|
||||||
from frappy.params import Parameter
|
from frappy.params import Parameter
|
||||||
from frappy.properties import Property
|
from frappy.properties import Property
|
||||||
|
@ -23,15 +23,16 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
from frappy.gui.qt import QComboBox, QDialog, QDialogButtonBox, QLabel, \
|
||||||
|
QLineEdit, QMenu, QPoint, QSize, QStandardItem, QStandardItemModel, Qt, \
|
||||||
|
QTabBar, QTextEdit, QTreeView, QTreeWidget, pyqtSignal
|
||||||
|
|
||||||
from frappy.gui.cfg_editor.config_file import read_config, write_config
|
from frappy.gui.cfg_editor.config_file import read_config, write_config
|
||||||
from frappy.gui.cfg_editor.tree_widget_item import TreeWidgetItem
|
from frappy.gui.cfg_editor.tree_widget_item import TreeWidgetItem
|
||||||
from frappy.gui.cfg_editor.utils import get_all_items, \
|
from frappy.gui.cfg_editor.utils import get_all_items, get_file_paths, \
|
||||||
get_file_paths, get_interface_class_from_name, get_interfaces, \
|
get_interface_class_from_name, get_interfaces, \
|
||||||
get_module_class_from_name, get_modules, get_params, \
|
get_module_class_from_name, get_modules, get_params, get_props, loadUi, \
|
||||||
get_props, loadUi, set_name_edit_style, setActionIcon
|
set_name_edit_style, setActionIcon
|
||||||
from frappy.gui.qt import QComboBox, QDialog, QDialogButtonBox, QLabel, \
|
|
||||||
QLineEdit, QMenu, QPoint, QSize, QStandardItem, QStandardItemModel, \
|
|
||||||
Qt, QTabBar, QTextEdit, QTreeView, QTreeWidget, pyqtSignal
|
|
||||||
|
|
||||||
NODE = 'node'
|
NODE = 'node'
|
||||||
MODULE = 'module'
|
MODULE = 'module'
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
from frappy.gui.qt import QToolButton, QFrame, QWidget, QGridLayout, QSizePolicy, QVBoxLayout, Qt
|
from frappy.gui.qt import QFrame, QGridLayout, QSizePolicy, Qt, QToolButton, \
|
||||||
|
QVBoxLayout, QWidget
|
||||||
|
|
||||||
|
|
||||||
class CollapsibleWidget(QWidget):
|
class CollapsibleWidget(QWidget):
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
|
@ -21,8 +21,9 @@
|
|||||||
#
|
#
|
||||||
# *****************************************************************************
|
# *****************************************************************************
|
||||||
|
|
||||||
import frappy.client
|
|
||||||
from frappy.gui.qt import QObject, pyqtSignal
|
from frappy.gui.qt import QObject, pyqtSignal
|
||||||
|
|
||||||
|
import frappy.client
|
||||||
from frappy.gui.util import Value
|
from frappy.gui.util import Value
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
from logging import Handler, DEBUG, NOTSET
|
from logging import DEBUG, NOTSET, Handler
|
||||||
|
|
||||||
from frappy.gui.qt import QMainWindow, QObject, pyqtSignal
|
from frappy.gui.qt import QMainWindow, QObject, pyqtSignal
|
||||||
from frappy.gui.util import loadUi
|
|
||||||
|
|
||||||
|
from frappy.gui.util import loadUi
|
||||||
|
|
||||||
|
|
||||||
class LogWindowHandler(Handler, QObject):
|
class LogWindowHandler(Handler, QObject):
|
||||||
|
@ -21,15 +21,16 @@
|
|||||||
#
|
#
|
||||||
# *****************************************************************************
|
# *****************************************************************************
|
||||||
|
|
||||||
|
from frappy.gui.qt import QAction, QInputDialog, QKeySequence, QMainWindow, \
|
||||||
|
QMessageBox, QSettings, QShortcut, QTreeWidgetItem, QWidget, pyqtSignal, \
|
||||||
|
pyqtSlot
|
||||||
|
|
||||||
import frappy.version
|
import frappy.version
|
||||||
from frappy.gui.qt import QInputDialog, QMainWindow, QMessageBox, \
|
|
||||||
QTreeWidgetItem, pyqtSignal, pyqtSlot, QWidget, QSettings, QAction, \
|
|
||||||
QShortcut, QKeySequence
|
|
||||||
from frappy.gui.util import Colors, loadUi
|
|
||||||
from frappy.gui.logwindow import LogWindow
|
|
||||||
from frappy.gui.tabwidget import TearOffTabWidget
|
|
||||||
from frappy.gui.nodewidget import NodeWidget
|
|
||||||
from frappy.gui.connection import QSECNode
|
from frappy.gui.connection import QSECNode
|
||||||
|
from frappy.gui.logwindow import LogWindow
|
||||||
|
from frappy.gui.nodewidget import NodeWidget
|
||||||
|
from frappy.gui.tabwidget import TearOffTabWidget
|
||||||
|
from frappy.gui.util import Colors, loadUi
|
||||||
|
|
||||||
ITEM_TYPE_NODE = QTreeWidgetItem.UserType + 1
|
ITEM_TYPE_NODE = QTreeWidgetItem.UserType + 1
|
||||||
ITEM_TYPE_GROUP = QTreeWidgetItem.UserType + 2
|
ITEM_TYPE_GROUP = QTreeWidgetItem.UserType + 2
|
||||||
|
@ -23,9 +23,10 @@
|
|||||||
# *****************************************************************************
|
# *****************************************************************************
|
||||||
|
|
||||||
|
|
||||||
|
from frappy.gui.qt import QCheckBox, QDialog, QLabel, QMessageBox, \
|
||||||
|
QPushButton, QSizePolicy, QWidget
|
||||||
|
|
||||||
from frappy.gui.params import ParameterView
|
from frappy.gui.params import ParameterView
|
||||||
from frappy.gui.qt import QCheckBox, QDialog, QLabel, \
|
|
||||||
QMessageBox, QPushButton, QSizePolicy, QWidget
|
|
||||||
from frappy.gui.util import loadUi
|
from frappy.gui.util import loadUi
|
||||||
from frappy.gui.valuewidgets import get_widget
|
from frappy.gui.valuewidgets import get_widget
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
from frappy.gui.qt import QIcon, Qt, QTreeWidget, QTreeWidgetItem, pyqtSignal
|
||||||
|
|
||||||
import frappy.gui.resources # pylint: disable=unused-import
|
import frappy.gui.resources # pylint: disable=unused-import
|
||||||
from frappy.gui.qt import QTreeWidget, QTreeWidgetItem, pyqtSignal, QIcon, Qt
|
|
||||||
|
|
||||||
class ParamItem(QTreeWidgetItem):
|
class ParamItem(QTreeWidgetItem):
|
||||||
def __init__(self, node, module, param):
|
def __init__(self, node, module, param):
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
from frappy.gui.qt import QLabel, QMessageBox, QWidget, QLineEdit, \
|
from frappy.gui.qt import QDialog, QIcon, QLabel, QLineEdit, QMessageBox, \
|
||||||
QPushButton, QIcon, pyqtSignal, QToolButton, QDialog
|
QPushButton, QToolButton, QWidget, pyqtSignal
|
||||||
|
|
||||||
|
import frappy.gui.resources # pylint: disable=unused-import
|
||||||
from frappy.gui.util import loadUi
|
from frappy.gui.util import loadUi
|
||||||
from frappy.gui.valuewidgets import get_widget
|
from frappy.gui.valuewidgets import get_widget
|
||||||
import frappy.gui.resources # pylint: disable=unused-import
|
|
||||||
|
|
||||||
class CommandDialog(QDialog):
|
class CommandDialog(QDialog):
|
||||||
def __init__(self, cmdname, argument, parent=None):
|
def __init__(self, cmdname, argument, parent=None):
|
||||||
|
@ -1,18 +1,19 @@
|
|||||||
from collections import OrderedDict
|
|
||||||
import json
|
import json
|
||||||
|
from collections import OrderedDict
|
||||||
|
|
||||||
|
from frappy.gui.qt import QCursor, QFont, QFontMetrics, QGridLayout, QIcon, \
|
||||||
|
QInputDialog, QLabel, QMenu, QPlainTextEdit, QTextCursor, QVBoxLayout, \
|
||||||
|
QWidget, pyqtSignal, pyqtSlot, toHtmlEscaped
|
||||||
|
|
||||||
import frappy.gui.resources # pylint: disable=unused-import
|
import frappy.gui.resources # pylint: disable=unused-import
|
||||||
from frappy.gui.qt import QFont, QFontMetrics, QLabel, QTextCursor, QWidget, \
|
|
||||||
pyqtSlot, toHtmlEscaped, QVBoxLayout, QGridLayout, QPlainTextEdit, \
|
|
||||||
QMenu, QCursor, QIcon, QInputDialog, pyqtSignal
|
|
||||||
from frappy.gui.util import Colors, loadUi
|
|
||||||
from frappy.gui.plotting import getPlotWidget
|
|
||||||
from frappy.gui.modulectrl import ModuleCtrl
|
|
||||||
from frappy.gui.paramview import ParameterView
|
|
||||||
from frappy.gui.modulewidget import ModuleWidget
|
|
||||||
from frappy.gui.moduleoverview import ModuleOverview
|
|
||||||
|
|
||||||
from frappy.errors import SECoPError
|
from frappy.errors import SECoPError
|
||||||
|
from frappy.gui.modulectrl import ModuleCtrl
|
||||||
|
from frappy.gui.moduleoverview import ModuleOverview
|
||||||
|
from frappy.gui.modulewidget import ModuleWidget
|
||||||
|
from frappy.gui.paramview import ParameterView
|
||||||
|
from frappy.gui.plotting import getPlotWidget
|
||||||
|
from frappy.gui.util import Colors, loadUi
|
||||||
|
|
||||||
|
|
||||||
class Console(QWidget):
|
class Console(QWidget):
|
||||||
def __init__(self, node, parent=None):
|
def __init__(self, node, parent=None):
|
||||||
|
@ -22,8 +22,9 @@
|
|||||||
# *****************************************************************************
|
# *****************************************************************************
|
||||||
|
|
||||||
|
|
||||||
from frappy.datatypes import EnumType
|
|
||||||
from frappy.gui.qt import QWidget, pyqtSignal, pyqtSlot
|
from frappy.gui.qt import QWidget, pyqtSignal, pyqtSlot
|
||||||
|
|
||||||
|
from frappy.datatypes import EnumType
|
||||||
from frappy.gui.util import loadUi
|
from frappy.gui.util import loadUi
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
from frappy.gui.qt import QLabel, QSizePolicy, QWidget
|
from frappy.gui.qt import QLabel, QSizePolicy, QWidget
|
||||||
|
|
||||||
from frappy.gui.util import loadUi
|
from frappy.gui.util import loadUi
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import pyqtgraph as pg
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
import pyqtgraph as pg
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pg = None
|
pg = None
|
||||||
np = None
|
np = None
|
||||||
|
|
||||||
|
from frappy.gui.qt import QLabel, Qt, QVBoxLayout, QWidget, pyqtSignal
|
||||||
|
|
||||||
from frappy.gui.util import Colors
|
from frappy.gui.util import Colors
|
||||||
from frappy.gui.qt import QWidget, QVBoxLayout, QLabel, Qt, pyqtSignal
|
|
||||||
|
|
||||||
|
|
||||||
def getPlotWidget(parent):
|
def getPlotWidget(parent):
|
||||||
|
@ -30,35 +30,39 @@ try:
|
|||||||
# pylint: disable=unnecessary-lambda
|
# pylint: disable=unnecessary-lambda
|
||||||
sys.excepthook = lambda *args: sys.__excepthook__(*args)
|
sys.excepthook = lambda *args: sys.__excepthook__(*args)
|
||||||
|
|
||||||
from PyQt5 import uic
|
|
||||||
from PyQt5.QtCore import Qt, QObject, pyqtSignal, pyqtSlot, QSize, QPointF, \
|
|
||||||
QRectF, QPoint, QByteArray, QEvent, QMimeData, QSettings
|
|
||||||
from PyQt5.QtGui import QFont, QTextCursor, QFontMetrics, QColor, QBrush, \
|
|
||||||
QPainter, QPolygonF, QPen, QIcon, QStandardItemModel, QStandardItem, \
|
|
||||||
QPalette, QCursor, QDrag, QMouseEvent, QPixmap, QKeySequence
|
|
||||||
from PyQt5.QtWidgets import QLabel, QWidget, QDialog, QLineEdit, QCheckBox, \
|
|
||||||
QPushButton, QSizePolicy, QMainWindow, QMessageBox, QInputDialog, \
|
|
||||||
QTreeWidgetItem, QApplication, QGroupBox, QSpinBox, QDoubleSpinBox, \
|
|
||||||
QComboBox, QRadioButton, QVBoxLayout, QHBoxLayout, QGridLayout, \
|
|
||||||
QScrollArea, QFrame, QTreeWidget, QFileDialog, QTabBar, QAction, QMenu,\
|
|
||||||
QDialogButtonBox, QTextEdit, QSpacerItem, QTreeView, QStyle, \
|
|
||||||
QStyleOptionTab, QStylePainter, QTabWidget, QToolButton, QShortcut, \
|
|
||||||
QPlainTextEdit
|
|
||||||
|
|
||||||
from xml.sax.saxutils import escape as toHtmlEscaped
|
from xml.sax.saxutils import escape as toHtmlEscaped
|
||||||
|
|
||||||
|
from PyQt5 import uic
|
||||||
|
from PyQt5.QtCore import QByteArray, QEvent, QMimeData, QObject, QPoint, \
|
||||||
|
QPointF, QRectF, QSettings, QSize, Qt, pyqtSignal, pyqtSlot
|
||||||
|
from PyQt5.QtGui import QBrush, QColor, QCursor, QDrag, QFont, \
|
||||||
|
QFontMetrics, QIcon, QKeySequence, QMouseEvent, QPainter, QPalette, \
|
||||||
|
QPen, QPixmap, QPolygonF, QStandardItem, QStandardItemModel, \
|
||||||
|
QTextCursor
|
||||||
|
from PyQt5.QtWidgets import QAction, QApplication, QCheckBox, QComboBox, \
|
||||||
|
QDialog, QDialogButtonBox, QDoubleSpinBox, QFileDialog, QFrame, \
|
||||||
|
QGridLayout, QGroupBox, QHBoxLayout, QInputDialog, QLabel, QLineEdit, \
|
||||||
|
QMainWindow, QMenu, QMessageBox, QPlainTextEdit, QPushButton, \
|
||||||
|
QRadioButton, QScrollArea, QShortcut, QSizePolicy, QSpacerItem, \
|
||||||
|
QSpinBox, QStyle, QStyleOptionTab, QStylePainter, QTabBar, \
|
||||||
|
QTabWidget, QTextEdit, QToolButton, QTreeView, QTreeWidget, \
|
||||||
|
QTreeWidgetItem, QVBoxLayout, QWidget
|
||||||
|
|
||||||
import frappy.gui.cfg_editor.icon_rc_qt5
|
import frappy.gui.cfg_editor.icon_rc_qt5
|
||||||
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from PyQt4 import uic
|
from PyQt4 import uic
|
||||||
from PyQt4.QtCore import Qt, QObject, pyqtSignal, pyqtSlot, QSize, QPointF, QRectF, QPoint
|
from PyQt4.QtCore import QObject, QPoint, QPointF, QRectF, QSize, Qt, \
|
||||||
from PyQt4.QtGui import QFont, QTextCursor, QFontMetrics, \
|
pyqtSignal, pyqtSlot
|
||||||
QLabel, QWidget, QDialog, QLineEdit, QCheckBox, QPushButton, QTextEdit,\
|
from PyQt4.QtGui import QAbstractItemView, QAction, QApplication, QBrush, \
|
||||||
QSizePolicy, QMainWindow, QMessageBox, QInputDialog, QTreeWidgetItem, QApplication, \
|
QCheckBox, QColor, QComboBox, QDialog, QDialogButtonBox, \
|
||||||
QGroupBox, QSpinBox, QDoubleSpinBox, QComboBox, QRadioButton, QVBoxLayout, QHBoxLayout, \
|
QDoubleSpinBox, QFileDialog, QFont, QFontMetrics, QFrame, \
|
||||||
QGridLayout, QScrollArea, QFrame, QColor, QBrush, QPainter, QPolygonF, QPen, QIcon, \
|
QGridLayout, QGroupBox, QHBoxLayout, QIcon, QInputDialog, QLabel, \
|
||||||
QTreeWidget, QFileDialog, QTabBar, QAction, QMenu, QDialogButtonBox, QAbstractItemView, \
|
QLineEdit, QMainWindow, QMenu, QMessageBox, QPainter, QPen, \
|
||||||
QSpacerItem, QTreeView, QStandardItemModel, QStandardItem, QPlainTextEdit
|
QPlainTextEdit, QPolygonF, QPushButton, QRadioButton, QScrollArea, \
|
||||||
|
QSizePolicy, QSpacerItem, QSpinBox, QStandardItem, \
|
||||||
|
QStandardItemModel, QTabBar, QTextCursor, QTextEdit, QTreeView, \
|
||||||
|
QTreeWidget, QTreeWidgetItem, QVBoxLayout, QWidget
|
||||||
|
|
||||||
import frappy.gui.cfg_editor.icon_rc_qt4
|
import frappy.gui.cfg_editor.icon_rc_qt4
|
||||||
|
|
||||||
|
@ -24,11 +24,9 @@
|
|||||||
|
|
||||||
"""Detachable TabWidget, taken from NICOS GUI TearOffTabBar."""
|
"""Detachable TabWidget, taken from NICOS GUI TearOffTabBar."""
|
||||||
|
|
||||||
from frappy.gui.qt import QApplication, QCursor, QDrag, \
|
from frappy.gui.qt import QApplication, QCursor, QDrag, QEvent, QMainWindow, \
|
||||||
QEvent, QMainWindow, QMimeData, QMouseEvent, QPixmap, QPoint, QSize, \
|
QMimeData, QMouseEvent, QPixmap, QPoint, QSize, QStyle, QStyleOptionTab, \
|
||||||
QStyle, QStyleOptionTab, QStylePainter, Qt, QTabBar, QTabWidget, QWidget, \
|
QStylePainter, Qt, QTabBar, QTabWidget, QWidget, pyqtSignal, pyqtSlot
|
||||||
pyqtSignal, pyqtSlot
|
|
||||||
|
|
||||||
|
|
||||||
# def findTab(tab, w):
|
# def findTab(tab, w):
|
||||||
# widget = w
|
# widget = w
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
|
|
||||||
from frappy.gui.qt import uic, QColor
|
from frappy.gui.qt import QColor, uic
|
||||||
|
|
||||||
uipath = path.dirname(__file__)
|
uipath = path.dirname(__file__)
|
||||||
|
|
||||||
|
@ -22,14 +22,14 @@
|
|||||||
# *****************************************************************************
|
# *****************************************************************************
|
||||||
|
|
||||||
|
|
||||||
|
from frappy.gui.qt import QCheckBox, QComboBox, QDialog, QDoubleSpinBox, \
|
||||||
|
QFrame, QGridLayout, QGroupBox, QLabel, QLineEdit, QSpinBox, QTextEdit, \
|
||||||
|
QVBoxLayout
|
||||||
|
|
||||||
from frappy.datatypes import ArrayOf, BLOBType, BoolType, EnumType, \
|
from frappy.datatypes import ArrayOf, BLOBType, BoolType, EnumType, \
|
||||||
FloatRange, IntRange, StringType, StructOf, TextType, TupleOf
|
FloatRange, IntRange, StringType, StructOf, TextType, TupleOf
|
||||||
from frappy.gui.qt import QCheckBox, QComboBox, QDialog, \
|
|
||||||
QDoubleSpinBox, QFrame, QGridLayout, QGroupBox, \
|
|
||||||
QLabel, QLineEdit, QSpinBox, QTextEdit, QVBoxLayout
|
|
||||||
from frappy.gui.util import loadUi
|
from frappy.gui.util import loadUi
|
||||||
|
|
||||||
|
|
||||||
# XXX: implement live validators !!!!
|
# XXX: implement live validators !!!!
|
||||||
# XXX: signals upon change of value
|
# XXX: signals upon change of value
|
||||||
# XXX: honor readonly in all cases!
|
# XXX: honor readonly in all cases!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user