Inherits from
- BasePanel: enthought.traits.ui.qt4.ui_base.BasePanel
Method summary
- add_contents(self, panel, buttons)
- add_to_menu(self, menu_item)
- add_to_toolbar(self, toolbar_item)
- can_add_to_menu(self, action, action_event = None)
- can_add_to_toolbar(self, action)
- close(self, rc)
- create_dialog(self, parent, style)
- display_ui(ui, parent, style)
- init(self, ui, parent, style)
- set_icon(self, icon = None)
Inherited from base classes
- add_button(self, action, bbox, role, method = None, enabled = True, name = None)
- check_button(self, buttons, action)
- coerce_button(self, action)
- is_button(self, action, name)
- perform(self, action)
Methods
- add_contents(self, panel, buttons)
Add a panel (either a widget, layout or None) and optional buttons to the dialog.
- add_to_toolbar(self, toolbar_item)
Adds a toolbar item to the toolbar being constructed.
- can_add_to_toolbar(self, action)
Returns whether the toolbar action should be defined in the user interface.
- close(self, rc)
Close the dialog and set the given return code.
- create_dialog(self, parent, style)
Create the dialog control.
- display_ui(ui, parent, style)
Display the UI.
- init(self, ui, parent, style)
Initialise the dialog by creating the controls.
- set_icon(self, icon = None)
Sets the dialog's icon.