SettingsPageEx#
- class ansys.scade.guitools.page.SettingsPageEx(label_width: int, *args, **kwargs)#
Bases:
scade.tool.suite.gui.settings.Page,ContainerPageProvides a base class for settings pages.
It introduces a new abstract method that must be implemented for building the controls.
Overview#
Build the controls and return an optional object for managing the persistence. |
Build the settings page. |
|
Update the page with the properties read from the project. |
|
Specify how controls are moved or resized. |
|
Update the project with the properties read from the page. |
Import detail#
from ansys.scade.guitools.page import SettingsPageEx
Attribute detail#
- SettingsPageEx.ddx: ansys.scade.guitools.interfaces.ISettingsDataExchange | None = None#
Method detail#
- SettingsPageEx.on_build()#
Build the settings page.
- abstract SettingsPageEx.on_build_ex() ansys.scade.guitools.interfaces.ISettingsDataExchange | None#
Build the controls and return an optional object for managing the persistence.
Returns#
- Optional[ISettingsDataExchange]
Object for exchanging data between the project and the controls.
- SettingsPageEx.on_display(project: scade.model.project.stdproject.Project, configuration: scade.model.project.stdproject.Configuration)#
Update the page with the properties read from the project.
- SettingsPageEx.on_layout()#
Specify how controls are moved or resized.
- SettingsPageEx.on_validate(project: scade.model.project.stdproject.Project, configuration: scade.model.project.stdproject.Configuration)#
Update the project with the properties read from the page.