Exemplo n.º 1
0
#
#       Distributed under the CeCILL v2 License.
#       See accompanying file LICENSE.txt or copy at
#           http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
#
#       OpenAlea WebSite : http://openalea.gforge.inria.fr
#
################################################################################
"""QT4 Main window"""

__license__ = "CeCILL v2"
__revision__ = " $Id$ "

from openalea.vpltk.qt import qt
from openalea.vpltk.qt.designer import generate_pyfile_from_uifile, get_data
src = get_data("openalea.visualea.mainwindow", "resources") / 'mainwindow.ui'
dest = get_data("openalea.visualea.mainwindow", "ui_mainwindow.py")
generate_pyfile_from_uifile(__name__, src=src, dest=dest)

import ui_mainwindow
try:
    from openalea.oalab.shell import get_shell_class
    from openalea.core.service.ipython import interpreter as get_interpreter
except ImportError:
    from openalea.vpltk.shell.shell import get_shell_class, get_interpreter_class

from openalea.core.algo.dataflow_evaluation import AbstractEvaluation
from openalea.core import cli, logger
from openalea.core.pkgmanager import PackageManager
from openalea.core.settings import Settings, NoSectionError, NoOptionError
from openalea.core.node import NodeFactory
Exemplo n.º 2
0
from openalea.core.session import Session
from openalea.core.node import Factory, Node


for name in [
    "ioconfig",
    "listedit",
    "newdata",
    "newgraph",
    "newpackage",
    "nodechooser",
    "preferences",
    "tableedit",
    "tofactory",
]:
    src = get_data("openalea.visualea.dialogs", "resources") / name + '.ui'
    dest = get_data("openalea.visualea.dialogs", "ui_%s.py" % name)
    generate_pyfile_from_uifile(__name__, src=src, dest=dest)

import ui_newgraph
import ui_tofactory
import ui_newpackage
import ui_preferences
import ui_ioconfig
import ui_tableedit
import ui_listedit
import ui_nodechooser
import ui_newdata


class NewGraph(qt.QtGui.QDialog, ui_newgraph.Ui_NewGraphDialog):
Exemplo n.º 3
0
from openalea.core.interface import *
from openalea.core.session import Session
from openalea.core.node import Factory, Node

for name in [
        "ioconfig",
        "listedit",
        "newdata",
        "newgraph",
        "newpackage",
        "nodechooser",
        "preferences",
        "tableedit",
        "tofactory",
]:
    src = get_data("openalea.visualea.dialogs", "resources") / name + '.ui'
    dest = get_data("openalea.visualea.dialogs", "ui_%s.py" % name)
    generate_pyfile_from_uifile(__name__, src=src, dest=dest)

import ui_newgraph
import ui_tofactory
import ui_newpackage
import ui_preferences
import ui_ioconfig
import ui_tableedit
import ui_listedit
import ui_nodechooser
import ui_newdata


class NewGraph(qt.QtGui.QDialog, ui_newgraph.Ui_NewGraphDialog):
Exemplo n.º 4
0
#
#       Distributed under the CeCILL v2 License.
#       See accompanying file LICENSE.txt or copy at
#           http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
#
#       OpenAlea WebSite : http://openalea.gforge.inria.fr
#
################################################################################
"""QT4 Main window"""

__license__ = "CeCILL v2"
__revision__ = " $Id$ "

from openalea.vpltk.qt import qt
from openalea.vpltk.qt.designer import generate_pyfile_from_uifile, get_data
src = get_data("openalea.visualea.mainwindow", "resources") / 'mainwindow.ui'
dest = get_data("openalea.visualea.mainwindow", "ui_mainwindow.py")
generate_pyfile_from_uifile(__name__, src=src, dest=dest)

import ui_mainwindow
try:
    from openalea.oalab.shell import get_shell_class
    from openalea.core.service.ipython import interpreter as get_interpreter_class
except ImportError:
    from openalea.vpltk.shell.shell import get_shell_class, get_interpreter_class


from openalea.core.algo.dataflow_evaluation import AbstractEvaluation
from openalea.core import cli, logger
from openalea.core.pkgmanager import PackageManager
from openalea.core.settings import Settings, NoSectionError, NoOptionError