Beispiel #1
0
#----------------------------------------------------------------------------
#
#  Copyright (c) 2005-2011, Enthought, Inc.
#  All rights reserved.
#
#  This software is provided without warranty under the terms of the BSD
#  license included in enthought/LICENSE.txt and may be redistributed only
#  under the conditions described in the aforementioned license.  The license
#  is also available online at http://www.enthought.com/licenses/BSD.txt
#
#  Thanks for using Enthought open source!
#
#  Author: David C. Morrill
#  Date:   10/21/2004
#
#----------------------------------------------------------------------------
""" Defines the concrete implementations of the traits Toolkit interface for
    the wxPython user interface toolkit.
"""

#-------------------------------------------------------------------------
#  Define the reference to the exported GUIToolkit object:
#-------------------------------------------------------------------------

import toolkit

# Reference to the GUIToolkit object for wxPython
toolkit = toolkit.GUIToolkit('traitsui', 'wx', 'traitsui.wx')
Beispiel #2
0
#------------------------------------------------------------------------------
# Copyright (c) 2007, Riverbank Computing Limited
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD license.
# However, when used with the GPL version of PyQt the additional terms described in the PyQt GPL exception also apply

#
# Author: Riverbank Computing Limited
#------------------------------------------------------------------------------
""" Defines the concrete implementations of the traits Toolkit interface for
the PyQt user interface toolkit.
"""

# import enthought.qt before anything else is done so the sipapi
# can be set correctly if needed
import enthought.qt

#-------------------------------------------------------------------------------
#  Define the reference to the exported GUIToolkit object:
#-------------------------------------------------------------------------------

import toolkit

# Reference to the GUIToolkit object for PyQt.
toolkit = toolkit.GUIToolkit()
Beispiel #3
0
#------------------------------------------------------------------------------
# Copyright (c) 2007, Riverbank Computing Limited
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD license.
# However, when used with the GPL version of PyQt the additional terms
# described in the PyQt GPL exception also apply

#
# Author: Riverbank Computing Limited
#------------------------------------------------------------------------------
""" Defines the concrete implementations of the traits Toolkit interface for
the PyQt user interface toolkit.
"""

# import pyface.qt before anything else is done so the sipapi
# can be set correctly if needed
import pyface.qt

#----------------------------------------------------------------------------
#  Define the reference to the exported GUIToolkit object:
#----------------------------------------------------------------------------

import toolkit

# Reference to the GUIToolkit object for Qt.
toolkit = toolkit.GUIToolkit('traitsui', 'qt4', 'traitsui.qt4')