openalea.oalab.gui package¶
Submodules¶
openalea.oalab.gui.allwidgets module¶
openalea.oalab.gui.app module¶
openalea.oalab.gui.help module¶
- class openalea.oalab.gui.help.HelpWidget(session=None, controller=None, parent=None)[source]¶
Bases: PyQt4.QtGui.QTextBrowser
Widget which permit to display informations/help. Usefull in visualea or LPy.
openalea.oalab.gui.logger module¶
- class openalea.oalab.gui.logger.Logger(session, controller, parent=None)[source]¶
Bases: openalea.visualea.logger.LoggerView
Widget to check the log. Cf. Visualea
import Logger widget_logger = Logger()
# Put the widget in an QApplication
from openalea.core import logger logger.debug(“my message”) logger.warning(“Can’t do that!”) logger.info(“John is in the kitchen”)
openalea.oalab.gui.mainwindow module¶
- class openalea.oalab.gui.mainwindow.MainWindow(session, controller, parent=None, args=None)[source]¶
Bases: PyQt4.QtGui.QMainWindow
Main Window Class
- changeExtension(extension=None)[source]¶
Change to a new extension.
Parameters: extension – can be “mini”, “3d”, “tissue”, “plant”
- changeMenuTab(old, new)[source]¶
Set tab of ‘new’ current in the menu. This class is designed to be connected to focusChanged signal.
Parameters: - old – old widget. Not used.
- new – current widget to check if we have to change menu
openalea.oalab.gui.pages module¶
- class openalea.oalab.gui.pages.CreateFilePage(session, controller, parent=None)[source]¶
Bases: PyQt4.QtGui.QWidget
Welcome page in the applet container. Permit to open an existing project, or to create a new one, or to work on src outside projects.