Files
Aldbg/aldbg.ui
2025-02-24 20:39:55 +08:00

677 lines
31 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<object class="GtkPopover" id="popover1">
<property name="can-focus">False</property>
<property name="width-request">350</property>
<property name="height-request">600</property>
<child>
<object class="GtkScrolledWindow">
<property name="focusable">1</property>
<property name="child">
<object class="GtkBox" id="popover1Box">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
</object>
</property>
</object>
</child>
</object>
<object class="GtkDialog" id="dialogAttach">
<property name="resizable">0</property>
<property name="modal">true</property>
<child internal-child="content_area">
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child>
<object class="GtkGrid">
<property name="row-spacing">6</property>
<property name="column-spacing">5</property>
<child>
<object class="GtkLabel">
<property name="height-request">30</property>
<property name="label" translatable="1">File Path:</property>
<layout>
<property name="column">0</property>
<property name="row">2</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="height-request">30</property>
<property name="label" translatable="1">Command Args:</property>
<layout>
<property name="column">0</property>
<property name="row">4</property>
</layout>
</object>
</child>
<child>
<object class="GtkTextView" id="tExecutable">
<property name="width-request">450</property>
<property name="height-request">30</property>
<property name="focusable">1</property>
<layout>
<property name="column">1</property>
<property name="row">2</property>
<property name="column-span">6</property>
</layout>
</object>
</child>
<child>
<object class="GtkTextView" id="tArg">
<property name="width-request">450</property>
<property name="height-request">30</property>
<property name="focusable">1</property>
<layout>
<property name="column">1</property>
<property name="row">4</property>
<property name="column-span">6</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<layout>
<property name="column">7</property>
<property name="row">2</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<layout>
<property name="column">7</property>
<property name="row">4</property>
</layout>
</object>
</child>
</object>
</child>
<child internal-child="action_area">
<object class="GtkBox">
<child>
<object class="GtkButton" id="dAttach">
<property name="label" translatable="1">Attach</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
</object>
</child>
<child>
<object class="GtkButton" id="dCancel">
<property name="label" translatable="1">Cancel</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
<object class="GtkListStore" id="logView">
<columns>
<column type="gchararray"/>
<column type="gchararray"/>
</columns>
</object>
<object class="GtkListStore" id="regView">
<columns>
<column type="gchararray"/>
<column type="gchararray"/>
</columns>
</object>
<object class="GtkListStore" id="memView">
<columns>
<column type="gchararray"/>
<column type="gchararray"/>
<column type="gchararray"/>
<column type="gchararray"/>
<column type="gchararray"/>
</columns>
</object>
<object class="GtkWindow" id="MainWindow">
<property name="default-width">1280</property>
<property name="default-height">720</property>
<property name="child">
<object class="GtkBox">
<child>
<object class="GtkStackSidebar" id="bar">
<property name="stack">stack</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="debugBox">
<property name="valign">center</property>
<child>
<object class="GtkButton" id="bRestart">
<child>
<object class="GtkImage">
<property name="file">../interface/icon/arrow-restart.png</property>
</object>
</child>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkButton" id="bStop">
<child>
<object class="GtkImage">
<property name="file">../interface/icon/control-stop.png</property>
</object>
</child>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkButton" id="bSuspend">
<child>
<object class="GtkImage">
<property name="file">../interface/icon/control-pause.png</property>
</object>
</child>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkButton" id="bCont">
<child>
<object class="GtkImage">
<property name="file">../interface/icon/arrow-run.png</property>
</object>
</child>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkButton" id="bStepinto">
<child>
<object class="GtkImage">
<property name="file">../interface/icon/arrow-step-into.png</property>
</object>
</child>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkButton" id="bStepover">
<child>
<object class="GtkImage">
<property name="file">../interface/icon/arrow-step-over.png</property>
</object>
</child>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkButton" id="bGoto">
<child>
<object class="GtkImage">
<property name="file">../interface/icon/arrow-skip.png</property>
</object>
</child>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkButton" id="bEscape">
<child>
<object class="GtkImage">
<property name="file">../interface/icon/arrow-step-rtr.png</property>
</object>
</child>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkMenuButton" id="mSymbols">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="focus-on-click">False</property>
<property name="receives-default">True</property>
<property name="popover">popover1</property>
<child>
<object class="GtkLabel" id="currentSymbol">
<property name="label" translatable="1">_start()</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="bTryParse">
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="label">Parse</property>
</object>
</child>
<layout>
<property name="column">0</property>
<property name="row">0</property>
<property name="column-span">13</property>
</layout>
</object>
</child>
<child>
<object class="GtkStack" id="stack">
<property name="hexpand">1</property>
<child>
<object class="GtkStackPage">
<property name="name">CPU</property>
<property name="title" translatable="1">CPU</property>
<property name="child">
<object class="GtkGrid" id="pageCPU">
<property name="orientation">vertical</property>
<property name="row-homogeneous">0</property>
<property name="column-homogeneous">1</property>
<child>
<object class="GtkScrolledWindow">
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="focusable">1</property>
<property name="child">
<object class="GtkTreeView" id="reg">
<property name="focusable">1</property>
<property name="model">regView</property>
<child internal-child="selection">
<object class="GtkTreeSelection"/>
</child>
<child>
<object class="GtkTreeViewColumn" id="regViewRegister">
<property name="title" translatable="1">Register</property>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="regViewValue">
<property name="title" translatable="1">Value</property>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
</child>
</object>
</property>
<layout>
<property name="column">13</property>
<property name="row">0</property>
<property name="column-span">2</property>
<property name="row-span">13</property>
</layout>
</object>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="focusable">1</property>
<property name="child">
<object class="GtkColumnView" id="code">
<property name="focusable">1</property>
</object>
</property>
<layout>
<property name="expand">True</property>
<property name="column">0</property>
<property name="row">0</property>
<property name="column-span">13</property>
<property name="row-span">10</property>
</layout>
</object>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="focusable">1</property>
<property name="child">
<object class="GtkTreeView" id="mem">
<property name="focusable">1</property>
<property name="tooltip-column">2</property>
<child internal-child="selection">
<object class="GtkTreeSelection"/>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="1">column</property>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="1">column</property>
</object>
</child>
</object>
</property>
<layout>
<property name="column">0</property>
<property name="row">10</property>
<property name="column-span">13</property>
<property name="row-span">3</property>
</layout>
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">Memory</property>
<property name="title" translatable="1">Segments</property>
<property name="child">
<object class="GtkScrolledWindow">
<property name="focusable">1</property>
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="child">
<object class="GtkTreeView" id="memory">
<property name="focusable">1</property>
<property name="model">memView</property>
<child internal-child="selection">
<object class="GtkTreeSelection"/>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="1">Start Address</property>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="1">End Address</property>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="1">Permission</property>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">2</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="1">Offset</property>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">3</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="1">Path</property>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">4</attribute>
</attributes>
</child>
</object>
</child>
</object>
</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">Log</property>
<property name="title" translatable="1">Log</property>
<property name="child">
<object class="GtkGrid" id="pageLog">
<child>
<object class="GtkScrolledWindow" id="logScroll">
<property name="focusable">1</property>
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="child">
<object class="GtkTreeView" id="log">
<property name="focusable">1</property>
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="model">logView</property>
<property name="search-column">0</property>
<child internal-child="selection">
<object class="GtkTreeSelection"/>
</child>
<child>
<object class="GtkTreeViewColumn" id="TimeCol">
<property name="min-width">85</property>
<property name="title" translatable="1">Time</property>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="DataCol">
<property name="title" translatable="1">Data</property>
<child>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
</child>
</object>
</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage" id="bpPage">
<property name="name">Breakpoints</property>
<property name="title" translatable="1">Breakpoints</property>
<property name="child">
<object class="GtkScrolledWindow">
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="focusable">1</property>
<property name="child">
<object class="GtkColumnView" id="breakpoints">
<property name="focusable">1</property>
</object>
</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">Call Stack</property>
<property name="title" translatable="1">Call Stack</property>
<property name="child">
<object class="GtkScrolledWindow">
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="focusable">1</property>
<property name="child">
<object class="GtkColumnView" id="callstack">
<property name="focusable">1</property>
</object>
</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">Symbols</property>
<property name="title" translatable="1">Symbols</property>
<property name="child">
<object class="GtkColumnView" id="symbols">
<property name="focusable">1</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">Editor</property>
<property name="title" translatable="1">Memory</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkButton" id="bMemPush">
<property name="label" translatable="1">Push</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
</object>
</child>
<child>
<object class="GtkButton" id="bMemPull">
<property name="label" translatable="1">Pull</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
</object>
</child>
<child>
<object class="GtkTextView" id="tMemoryAddress">
<property name="width-request">450</property>
<property name="focusable">1</property>
<property name="valign">center</property>
<layout>
<property name="column">1</property>
<property name="row">2</property>
<property name="column-span">6</property>
</layout>
</object>
</child>
<child>
<object class="GtkButton" id="bMemJump">
<property name="label" translatable="1">Jump</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="hexpand">1</property>
<property name="vexpand">1</property>
<property name="focusable">1</property>
<property name="child">
<object class="GtkColumnView" id="editor">
<property name="focusable">1</property>
</object>
</property>
</object>
</child>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</property>
<child type="titlebar">
<object class="GtkHeaderBar" id="HeaderBar">
<child>
<object class="GtkBox">
<child>
<object class="GtkButton" id="bAttach">
<property name="label" translatable="1">Attach</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="halign">center</property>
<property name="hexpand">1</property>
<child>
<object class="GtkLabel" id="windowTitle">
<property name="halign">center</property>
<property name="label" translatable="1">Aldbg</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>