-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tables #22
Conversation
This is currently only static tables. There is a problem with the device schema test which I have not yet investigated. |
7057dcc
to
648e18a
Compare
As far as inspecting the display in phoebus without real PVs to point at I think Tables and ComboBox-with-choices both work now. Is someone else waiting to try this or is there something I can test? |
Note I would like to refactor the now 1000+ line |
deeb4c8
to
d0640f7
Compare
d112716
to
45b4f20
Compare
3c546be
to
225087f
Compare
277f080
to
b2993ea
Compare
@coretl this is ready now. I am not sure to what extent you want to review this, as it is a big diff, but I would appreciate comments on Refactor _format module as to whether you think it makes things clearer or not. |
a0fe350
to
452116d
Compare
- Rename classes and methods - Use Factory for classes that have methods to create class instances - Use Formatter for classes that have a format method that produces a text representation of a widget for a UI file. This distinguishes from Device Widgets that determine the widget that will be created for a Signal. - Class renames: - WidgetTemplate -> UITemplate - WidgetFactory -> WidgetFormatter - GroupFactory -> GroupWidgetFormatter - LayoutProperties -> ScreenLayout - ScreenWidgets -> WidgetFormatterFactory - Screen -> ScreenFormatterFactory - Screen method renames: - screen -> create_screen_formatter - create_sub_screens -> create_sub_screen_formatters - component -> generate_component_formatters - make_group_widget -> create_group_formatters - group -> create_group_formatter - make_component_widgets -> create_component_widget_formatters - Make passing of ui properties to formatter more explicit and pass widget to formatter as a parameter separate to the properties map - Expand one character variables - mypy fixes - Update docs ref
Add 3.10 to setup.cfg, as it is tested.
choices
toComboBox
and make phoebus support it #25