aboutsummaryrefslogtreecommitdiffstatsci
path: root/CrowIDE/ui/DockWindows/winDbgEvts.crow
diff options
context:
space:
mode:
Diffstat (limited to 'CrowIDE/ui/DockWindows/winDbgEvts.crow')
-rw-r--r--CrowIDE/ui/DockWindows/winDbgEvts.crow122
1 files changed, 122 insertions, 0 deletions
diff --git a/CrowIDE/ui/DockWindows/winDbgEvts.crow b/CrowIDE/ui/DockWindows/winDbgEvts.crow
new file mode 100644
index 00000000..3e8aed2f
--- /dev/null
+++ b/CrowIDE/ui/DockWindows/winDbgEvts.crow
@@ -0,0 +1,122 @@
+<?xml version="1.0"?>
+<DockWindow Name="winLQIs" Caption="Layouting Queue Items Explorer" Width="90%" Height="80%">
+ <VerticalStack DataSource="{CurrentSolution}">
+ <TreeView DataSource="{SelectedItem}" Name="treeView" Data="{DebugEvents}">
+ <ItemTemplate DataType="Crow.DebugEvent" Data="ChildEvents">
+ <Expandable >
+ <Template>
+ <VerticalStack Spacing="1">
+ <HorizontalStack Spacing="1" MouseDoubleClick="./onClickForExpand">
+ <Image Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand"
+ Path="{./Image}"
+ Visible="{./IsExpandable}"
+ SvgSub="{./IsExpanded}"
+ MouseEnter="{Background=LightGray}"
+ MouseLeave="{Background=Transparent}"/>
+ <Label Style="DbgGridCell" Text="{ThreadId}" Width="18" />
+ <Label Style="DbgGridCell" Text="{EventType}" Width="90" />
+ <Label Style="DbgGridCell" Text="{Ticks}" Width="60" TextAlignment="Right"/>
+ <Label Text="{Message}" Width="Stretched" Background="White" Foreground="Black"/>
+ </HorizontalStack>
+ <Container Name="Content" Visible="false"/>
+ </VerticalStack>
+ </Template>
+ <HorizontalStack Height="Fit">
+ <GraphicObject Width="8" Height="10"/>
+ <VerticalStack Height="Fit" Name="ItemsContainer"/>
+ </HorizontalStack>
+ </Expandable>
+ </ItemTemplate>
+ <ItemTemplate DataType="Crow.LayoutingDebugEvent">
+ <Expandable >
+ <Template>
+ <VerticalStack Spacing="1">
+ <HorizontalStack Spacing="1" MouseDoubleClick="./onClickForExpand">
+ <Image Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand"
+ Path="{./Image}"
+ Visible="{./IsExpandable}"
+ SvgSub="{./IsExpanded}"
+ MouseEnter="{Background=LightGray}"
+ MouseLeave="{Background=Transparent}"/>
+ <Label Style="DbgGridCell" Text="{LayoutingType}" Width="60"/>
+ <Label Style="DbgGridCell" Text="{EndResult}" Width="60"/>
+ <Label Style="DbgGridCell" Text="{Ticks}" Width="60" TextAlignment="Right"/>
+ <Label Style="DbgGridCell" Text="{Target}" Width="30%" Tooltip="{Target}"/>
+ <Label Style="DbgGridCell" Text="{PreviousSlot}" Width="100"/>
+ <Label Style="DbgGridCell" Text="{Slot}" Width="100"/>
+ </HorizontalStack>
+ <Container Name="Content" Visible="false"/>
+ </VerticalStack>
+ </Template>
+ <HorizontalStack Height="Fit">
+ <GraphicObject Width="8" Height="10"/>
+ <VerticalStack Height="Fit" Name="ItemsContainer"/>
+ </HorizontalStack>
+ </Expandable>
+ </ItemTemplate>
+ </TreeView>
+ </VerticalStack>
+</DockWindow>
+
+<!-- <ItemTemplate DataType="Crow.LayoutingQueueItem" Data="triggeredLQIs">
+ <Expandable>
+ <Template>
+ <VerticalStack Height="{./HeightPolicy}" Width="{./WidthPolicy}">
+ <VerticalStack Fit="true" Margin="3" Background="DimGray"
+ HorizontalAlignment="Left"
+ MouseEnter="{Background=hgradient|0:BlueCrayola|1:Transparent}"
+ MouseLeave="{Background=DimGray}">
+ <Label Text="{FullName}" Font="droid, 8" Background="LightGray" Foreground="Black"/>
+ <HorizontalStack Fit="true" Spacing="10">
+ <Label Text="{LayoutingTries}" Foreground="SkyBlue"/>
+ <Label Text="{DiscardCount}" Foreground="Red"/>
+ <Label Text="{Name}" Font="droid bold"/>
+ <Label Text="{LayoutType}" Foreground="Maize"/>
+ <Label Text="{Width}"/>
+ <Label Text="{Height}"/>
+ </HorizontalStack>
+
+ <HorizontalStack Fit="true">
+ <Label Text="{Slot}"/>
+ <Label Text=" => "/>
+ <Label Text="{NewSlot}"/>
+ </HorizontalStack>
+ <GraphicObject Background="SeaGreen" Height="3" Visible="{HasTriggeredLQIs}"/>
+ </VerticalStack>
+ <Container Name="Content" Visible="false" HorizontalAlignment="Left"
+ Fit="true"/>
+ </VerticalStack>
+ </Template>
+ <HorizontalStack Height="Fit" Width="Fit">
+ <GraphicObject Width="20" Height="10"/>
+ <TreeView Name="List" Height="Fit" Width="Fit"
+ Template="#Crow.Templates.treeList.crow" />
+ </HorizontalStack>
+ </Expandable>
+ </ItemTemplate>
+ <ItemTemplate DataType="Crow.LQIList" Data="GetRootLQIs">
+ <Expandable Caption="{}" >
+ <Template>
+ <VerticalStack Height="{./HeightPolicy}" Width="{./WidthPolicy}">
+ <HorizontalStack Spacing="1" Height="Fit" Width="{./WidthPolicy}"
+ MouseEnter="{Background=hgradient|0:BlueCrayola|1:Transparent}"
+ MouseLeave="{Background=Transparent}">
+ <Image Margin="2" Width="12" Height="12"
+
+ Path="{./Image}"
+ SvgSub="{./IsExpanded}"/>
+ <Label Text="{./Caption}" Width="{./WidthPolicy}"/>
+ </HorizontalStack>
+ <Container Name="Content" Visible="false"
+ Height="{./HeightPolicy}" Width="{./WidthPolicy}"/>
+ </VerticalStack>
+ </Template>
+ <HorizontalStack Height="Fit" Width="{./WidthPolicy}">
+ <GraphicObject Width="12" Height="10"/>
+ <TreeView Name="List" Height="Fit" Width="{./WidthPolicy}"
+ Template="#Crow.Templates.treeList.crow" />
+ </HorizontalStack>
+ </Expandable>
+ </ItemTemplate>
+ </TreeView>
+</Window>-->