Module Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad AttributeLoad NameLoad attr body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad BinOpBitOr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Return Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body If CompareNotEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body If CompareNotEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot NameLoad NameLoad body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot NameLoad NameLoad body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A sys atom.api Typed atomref enaml.widgets.main_window ProxyMainWindow enaml.widgets.window CloseEvent QtCore Qt QtGui QMainWindow q_deferred_caller deferredCall qt_container QtContainer qt_dock_pane QtDockPane qt_menu_bar QtMenuBar qt_status_bar QtStatusBar qt_tool_bar QtToolBar qt_window QtWindow finalize_close QCustomMainWindow N/A QMainWindow N/A N/A  A custom QMainWindow which adds some Enaml specific features.

     __init__ N/A N/A self proxy parent flags N/A None N/A Qt Widget N/A N/A  Initialize a QCustomMainWindow.

        Parameters
        ----------
        proxy : QtMainWindow
            The proxy object which owns this window. Only an atomref
            will be maintained to this object.

        parent : QWidget, optional
            The parent of the window.

        flags : Qt.WindowFlags, optional
            The window flags to pass to the parent constructor.

         N/A N/A N/A N/A super QCustomMainWindow self __init__ parent N/A N/A Qt Window flags N/A N/A self _proxy_ref N/A atomref proxy N/A closeEvent N/A N/A self event N/A N/A N/A  Handle the close event for the window.

         N/A N/A N/A event accept N/A N/A N/A self _proxy_ref N/A N/A N/A proxy N/A N/A self _proxy_ref N/A d N/A proxy declaration N/A d_event N/A CloseEvent N/A N/A N/A d closing d_event N/A N/A N/A d_event is_accepted N/A N/A N/A deferredCall finalize_close d N/A N/A N/A N/A event ignore N/A setDockWidgetArea N/A N/A self area dock_widget N/A N/A N/A  Set the dock area for the given dock widget.

        If the dock widget has not been added to the main window, this
        method is a no-op.

        Parameters
        ----------
        area : QDockWidgetArea
            The dock area to use for the widget.

        dock_widget : QDockWidget
            The dock widget to move to the given area.

         N/A curr N/A N/A self dockWidgetArea dock_widget N/A N/A curr N/A Qt NoDockWidgetArea N/A N/A N/A curr area N/A N/A visible N/A N/A dock_widget isVisible N/A N/A N/A self removeDockWidget dock_widget N/A N/A N/A self addDockWidget area dock_widget N/A N/A N/A dock_widget setVisible visible N/A setToolBarArea N/A N/A self area tool_bar N/A N/A N/A  Set the tool bar area for the given tool bar.

        If the tool bar has not been added to the main window, this
        method is a no-op.

        Parameters
        ----------
        area : QToolBarArea
            The tool bar area to use for the widget.

        tool_bar : QToolBar
            The tool bar to move to the given area.

         N/A curr N/A N/A self toolBarArea tool_bar N/A N/A curr N/A Qt NoToolBarArea N/A N/A N/A curr area N/A N/A visible N/A N/A tool_bar isVisible N/A floating N/A N/A tool_bar isFloating N/A N/A N/A tool_bar setVisible False N/A N/A N/A self removeToolBar tool_bar N/A N/A N/A self addToolBar area tool_bar N/A N/A N/A tool_bar resize N/A N/A tool_bar sizeHint N/A N/A N/A tool_bar setFloating floating N/A N/A N/A tool_bar setVisible visible N/A N/A QtMainWindow N/A QtWindow ProxyMainWindow N/A N/A  A Qt implementation of an Enaml MainWindow.

     N/A widget N/A Typed QCustomMainWindow create_widget N/A N/A self N/A N/A N/A  Create the underlying widget QMainWindow widget.

         N/A flags N/A N/A self creation_flags N/A widget N/A QCustomMainWindow self N/A N/A self parent_widget flags N/A N/A N/A widget setDocumentMode True N/A N/A N/A widget setDockNestingEnabled True N/A N/A self widget widget N/A init_layout N/A N/A self N/A N/A N/A  Initialize the layout for the underlying widget.

         N/A widget N/A self widget N/A N/A N/A widget setMenuBar N/A N/A self menu_bar N/A N/A N/A widget setCentralWidget N/A N/A self central_widget N/A N/A N/A widget setStatusBar N/A N/A self status_bar N/A d N/A N/A self dock_panes N/A N/A N/A N/A widget addDockWidget N/A N/A d dockArea d N/A d N/A N/A self tool_bars N/A N/A floating N/A N/A d isFloating N/A N/A N/A widget addToolBar N/A N/A d toolBarArea d N/A floating N/A N/A N/A deferredCall N/A d setFloating True N/A menu_bar N/A N/A self N/A N/A N/A  Get the QMenuBar widget defined for the main window.

         N/A d N/A N/A N/A self declaration menu_bar N/A N/A d None N/A N/A N/A N/A d proxy widget N/A dock_panes N/A N/A self N/A N/A N/A  Get the QDockWidget widgets defined for the main window.

         N/A d N/A N/A N/A self declaration dock_panes N/A N/A w N/A N/A d proxy widget N/A N/A w None N/A N/A N/A w N/A status_bar N/A N/A self N/A N/A N/A  Get the status bar widget defined for the main window.

         N/A d N/A N/A N/A self declaration status_bar N/A N/A d None N/A N/A N/A N/A d proxy widget N/A tool_bars N/A N/A self N/A N/A N/A  Get the QToolBar widgets defined for the main window.

         N/A d N/A N/A N/A self declaration tool_bars N/A N/A w N/A N/A d proxy widget N/A N/A w None N/A N/A N/A w N/A child_added N/A N/A self child N/A N/A N/A  Handle the child added event for a QtMainWindow.

         N/A N/A isinstance child QtMenuBar N/A N/A N/A N/A N/A self widget setMenuBar N/A N/A self menu_bar N/A N/A N/A isinstance child QtContainer N/A N/A N/A N/A N/A self widget setCentralWidget N/A N/A self central_widget N/A N/A N/A isinstance child QtDockPane N/A N/A dock_widget N/A child widget N/A N/A N/A N/A self widget addDockWidget N/A N/A dock_widget dockArea dock_widget N/A N/A N/A isinstance child QtStatusBar N/A N/A N/A N/A N/A self widget setStatusBar N/A N/A self status_bar N/A N/A N/A isinstance child QtToolBar N/A N/A bar_widget N/A child widget N/A floating N/A N/A bar_widget isFloating N/A N/A N/A N/A self widget addToolBar N/A N/A bar_widget toolBarArea bar_widget N/A floating N/A N/A N/A deferredCall N/A bar_widget setFloating True N/A N/A N/A sys platform darwin N/A N/A N/A N/A N/A self widget setVisible True N/A N/A N/A N/A N/A super QtMainWindow self child_added child N/A child_removed N/A N/A self child N/A N/A N/A  Handle the child removed event for a QtMainWindow.

         N/A N/A N/A isinstance child QtDockPane N/A N/A child widget None N/A N/A N/A N/A N/A self widget removeDockWidget N/A child widget N/A N/A N/A N/A isinstance child QtToolBar N/A N/A child widget None N/A N/A N/A N/A N/A self widget removeToolBar N/A child widget N/A N/A N/A isinstance child QtContainer N/A N/A N/A N/A N/A self widget setCentralWidget N/A N/A self central_widget N/A N/A N/A isinstance child QtMenuBar N/A N/A N/A N/A N/A self widget setMenuBar N/A N/A self menu_bar N/A N/A N/A isinstance child QtStatusBar N/A N/A N/A N/A N/A self widget setStatusBar N/A N/A self status_bar N/A N/A N/A N/A N/A super QtMainWindow self child_removed child N/A N/A