Documentation GUI generation with YAML
Jump to navigation
Jump to search
general documenation
- TODO: XAML, YML
- see also Development with Code Generation
implementation
- TODO: PetraTools, codegeneration
- ymlparser
- using templates
- TODO: PetraForm, PetraModuleForm, etc
- see also Development with Code Generation
current features
- yaml file can inherit from other yaml files; eg. the menu structure can be inherited
- conventions: user control types by prefix: TODO
- the first panel, user control, tab page, group box will be the main content control
- Menu/Toolbarbutton order: AlwaysLast
- labels are automatically prepared for translation (Catalog.GetString)
- general functions go into a class derived from TFrmPetraUtils (eg. TFrmPetraModuleUtils)
- manual code for a screen goes into a partial class (eg. PartnerEdit.ManualCode.cs)
- See Documentation YAML for OpenPetra Forms for detailed documentation
TODO
- short cut keys for menus
- programmatically add to menu (recent partners)