• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • TypeEditorActivity
  • TypeEditorActivity Class

    Base class for editing Fixo type definitions (actuator/sensor/lobe). More...

    Header: #include <TypeEditorActivity>
    Since: Phase 3
    Inherits: octomy::activity::PageActivity

    Detailed Description

    Provides a metadata form (type id, title, description) and a C++ source editor (WidgetCodeEditor + CppSyntaxHighlighter). Subclasses add their type-specific fields via extraFieldsLayout() and override loadExtra()/saveExtra() to (de)serialize them.

    Reads/writes the type via a Book. Built-in types are read-only.

    See also Book and ItemManagerActivity.