diff options
Diffstat (limited to 'CrowIDE')
| -rw-r--r-- | CrowIDE/CrowIDE.csproj | 2 | ||||
| -rw-r--r-- | CrowIDE/src/DesignInterface.cs | 4 | ||||
| -rw-r--r-- | CrowIDE/src/ProjectTree/ImlProjectItem.cs | 2 | ||||
| -rw-r--r-- | CrowIDE/ui/DockWindows/winLQIs.crow | 41 |
4 files changed, 45 insertions, 4 deletions
diff --git a/CrowIDE/CrowIDE.csproj b/CrowIDE/CrowIDE.csproj index 73687723..70483b52 100644 --- a/CrowIDE/CrowIDE.csproj +++ b/CrowIDE/CrowIDE.csproj @@ -24,7 +24,7 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <DefineConstants>DEBUG;DBG_EVENTS</DefineConstants> + <DefineConstants>DEBUG;DEBUG_LAYOUTING</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <ConsolePause>false</ConsolePause> diff --git a/CrowIDE/src/DesignInterface.cs b/CrowIDE/src/DesignInterface.cs index 04666b11..820cf4d0 100644 --- a/CrowIDE/src/DesignInterface.cs +++ b/CrowIDE/src/DesignInterface.cs @@ -170,9 +170,11 @@ namespace Crow.Coding //Console.WriteLine (lqi.ToString ()); #if DEBUG_LAYOUTING currentLQI = lqi; + currentLQI.ProcessLayouting (); curLQIsTries.Add(currentLQI); - #endif + #else lqi.ProcessLayouting (); + #endif } LayoutingQueue = DiscardQueue; Monitor.Exit (LayoutMutex); diff --git a/CrowIDE/src/ProjectTree/ImlProjectItem.cs b/CrowIDE/src/ProjectTree/ImlProjectItem.cs index b967ce50..55576472 100644 --- a/CrowIDE/src/ProjectTree/ImlProjectItem.cs +++ b/CrowIDE/src/ProjectTree/ImlProjectItem.cs @@ -58,7 +58,7 @@ namespace Crow.Coding } } public List<LQIList> LQIs { - get { return instance == null ? null : instance.IFace.LQIs; } + get { return instance == null ? null : instance.IFace.LQIsTries; } } public Measure DesignWidth { get { return designWidth; } diff --git a/CrowIDE/ui/DockWindows/winLQIs.crow b/CrowIDE/ui/DockWindows/winLQIs.crow index 3581141b..9ad574f1 100644 --- a/CrowIDE/ui/DockWindows/winLQIs.crow +++ b/CrowIDE/ui/DockWindows/winLQIs.crow @@ -1,7 +1,46 @@ <?xml version="1.0"?> -<DockWindow Name="winLQIs" Caption="Layouting Queue Items Explorer" Width="40%" Height="80%"> +<DockWindow Name="winLQIs" Caption="Layouting Queue Items Explorer" Width="90%" Height="80%"> <VerticalStack DataSource="{CurrentSolution}"> <TreeView DataSource="{SelectedItem}" Name="treeView" Data="{LQIs}"> + <ItemTemplate DataType="Crow.LQIList" Data="CompletedLQIs"> + <Expandable Caption="{Count}"> + <Template> + <VerticalStack> + <Border Style="TreeItemBorder" Focusable="false" MouseDoubleClick="./onClickForExpand"> + <HorizontalStack Spacing="1"> + <Image Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand" + Path="{./Image}" + Visible="{./IsExpandable}" + SvgSub="{./IsExpanded}" + MouseEnter="{Background=LightGray}" + MouseLeave="{Background=Transparent}"/> + <Image Style="TreeIcon" + Path="#Crow.Icons.crowproj.svg"/> + <GraphicObject Width="2" Height="9" Background="Green" Visible="{IsStartupProject}"/> + <Label Text="{./Caption}"/> + </HorizontalStack> + </Border> + <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.LayoutingQueueItem"> + <HorizontalStack Height="Fit" Focusable="true" Tooltip="{FullName}"> + <Label Text="{LayoutingTries}" Width="18" Background="White" Foreground="Black"/> + <Label Text="{DiscardCount}" Width="18" Background="White" Foreground="Black"/> + <Label Text="{Name}" Width="130" Background="White" Foreground="Black"/> + <Label Text="{LayoutType}" Width="50" Background="White" Foreground="Black"/> + <Label Text="{Slot}" Width="50" Background="White" Foreground="Black"/> + <Label Text="{NewSlot}" Width="50" Background="White" Foreground="Black"/> + <Label Text="{Message}" Width="Stretched" Background="White" Foreground="Black"/> + </HorizontalStack> + </ItemTemplate> + </TreeView> </VerticalStack> </DockWindow> |