system-creation.hpp 506 B

1234567891011121314151617
  1. struct SystemCreation : PanelItem {
  2. SystemCreation(View*);
  3. auto show() -> void override;
  4. auto hide() -> void override;
  5. auto refresh() -> void;
  6. auto eventChange() -> void;
  7. auto eventAccept() -> void;
  8. Label header{this, Size{~0, 0}};
  9. ListView systemList{this, Size{~0, ~0}};
  10. HorizontalLayout controlLayout{this, Size{~0, 0}};
  11. Label nameLabel{&controlLayout, Size{0, 0}};
  12. LineEdit nameValue{&controlLayout, Size{~0, 0}};
  13. Button createButton{&controlLayout, Size{80_sx, 0}};
  14. };