~ubuntu-branches/ubuntu/trusty/python-traitsui/trusty

« back to all changes in this revision

Viewing changes to traitsui/qt4/ui_editor.py

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2011-07-09 13:57:39 UTC
  • Revision ID: james.westby@ubuntu.com-20110709135739-x5u20q86huissmn1
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#------------------------------------------------------------------------------
 
2
#
 
3
#  Copyright (c) 2009, Enthought, Inc.
 
4
#  All rights reserved.
 
5
#
 
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
 
10
#
 
11
#  Thanks for using Enthought open source!
 
12
#
 
13
#------------------------------------------------------------------------------
 
14
 
 
15
""" Defines the BasicUIEditor class, which allows creating editors that define
 
16
    their function by creating an embedded Traits UI.
 
17
"""
 
18
 
 
19
#-------------------------------------------------------------------------------
 
20
#  Imports:
 
21
#-------------------------------------------------------------------------------
 
22
 
 
23
from traitsui.ui_editor import UIEditor as BaseUIEditor
 
24
 
 
25
from editor import Editor
 
26
 
 
27
#-------------------------------------------------------------------------------
 
28
#  'UIEditor' base class:
 
29
#-------------------------------------------------------------------------------
 
30
 
 
31
class UIEditor(BaseUIEditor, Editor):
 
32
    """ An editor that creates an embedded Traits UI.
 
33
    """
 
34
    pass