1
#------------------------------------------------------------------------------
3
# Copyright (c) 2005, Enthought, Inc.
6
# This software is provided without warranty under the terms of the BSD
7
# license included in enthought/LICENSE.txt and may be redistributed only
8
# under the conditions described in the aforementioned license. The license
9
# is also available online at http://www.enthought.com/licenses/BSD.txt
11
# Thanks for using Enthought open source!
13
# Author: David C. Morrill
16
#------------------------------------------------------------------------------
18
""" Defines array editors for the PyQt user interface toolkit.
21
#-------------------------------------------------------------------------------
23
#-------------------------------------------------------------------------------
24
# FIXME: ToolkitEditorFactory is a proxy class defined here just for backward
25
# compatibility. The class has been moved to the
26
# traitsui.editors.array_editor file.
27
from traitsui.editors.array_editor \
28
import SimpleEditor as BaseSimpleEditor, ToolkitEditorFactory
33
#-------------------------------------------------------------------------------
34
# 'SimpleEditor' class:
35
#-------------------------------------------------------------------------------
37
class SimpleEditor ( BaseSimpleEditor, Editor ):
38
""" Simple style of editor for arrays.
41
# FIXME: This class has been re-defined here simply so it inherits from the
45
#-------------------------------------------------------------------------------
46
# 'ReadonlyEditor' class:
47
#-------------------------------------------------------------------------------
49
class ReadonlyEditor(SimpleEditor):
51
# Set the value of the readonly trait.
54
### EOF #######################################################################