1
0

AutodocProgramWindow.xaml 1.5 KB

1234567891011121314151617181920212223242526272829
  1. <!--
  2. SPDX-FileCopyrightText: 2024 deltanedas <39013340+deltanedas@users.noreply.github.com>
  3. SPDX-FileCopyrightText: 2024 deltanedas <@deltanedas:kde.org>
  4. SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
  5. SPDX-FileCopyrightText: 2025 JohnOakman <sremy2012@hotmail.fr>
  6. SPDX-License-Identifier: AGPL-3.0-or-later
  7. -->
  8. <controls:FancyWindow
  9. xmlns="https://spacestation14.io"
  10. xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
  11. Title="{Loc 'autodoc-view-program-title'}"
  12. SetSize="600 500">
  13. <BoxContainer Orientation="Horizontal">
  14. <BoxContainer Orientation="Vertical" Margin="5 5 5 5">
  15. <Label Name="ProgramTitle"/> <!-- Set to Program.Title -->
  16. <Button Name="SafetyButton" Text="{Loc 'autodoc-safety-enabled'}"/>
  17. <Button Name="RemoveButton" StyleClasses="Caution" Text="{Loc 'autodoc-remove-program'}"/>
  18. <Button Name="AddStepButton" Text="{Loc 'autodoc-add-step'}"/>
  19. <Button Name="RemoveStepButton" StyleClasses="Caution" Text="{Loc 'autodoc-remove-step'}" Disabled="True"/>
  20. <Button Name="StartButton" StyleClasses="Caution" Text="{Loc 'autodoc-start-program'}"/>
  21. <Button Name="ExportProgramButton" Text="{Loc 'autodoc-export-program'}"/>
  22. </BoxContainer>
  23. <ScrollContainer HorizontalExpand="True" VerticalExpand="True">
  24. <ItemList Name="Steps"/> <!-- Set to Program.Steps -->
  25. </ScrollContainer>
  26. </BoxContainer>
  27. </controls:FancyWindow>