186 lines
9.5 KiB
XML
186 lines
9.5 KiB
XML
<EgtFloating:EgtFloatingManager x:Class="ProjectV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:EgtFloating="clr-namespace:EgtWPFLib5.EgtFloating;assembly=EgtWPFLib5"
|
|
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
|
xmlns:PrintApp="clr-namespace:_3dPrintApp">
|
|
<!--<EgtFloating:EgtFloatingTray x:Name="PROJECTTOPTRAY" DockPanel.Dock="Top">
|
|
-->
|
|
<!--<EgtBEAMWALL:ProjManagerV DataContext="{StaticResource ProjManagerVM}"
|
|
Visibility="{Binding DataContext.ProjManager_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"/>-->
|
|
<!--
|
|
</EgtFloating:EgtFloatingTray>-->
|
|
|
|
<!--<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="{Binding GridDims[0].GridLen, Mode=TwoWay}"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="{Binding GridDims[1].GridLen, Mode=TwoWay}"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="{Binding GridDims[2].GridLen, Mode=TwoWay}"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="{Binding GridDims[3].GridLen, Mode=TwoWay}"/>
|
|
</Grid.RowDefinitions>-->
|
|
<!--<EgtBEAMWALL:LeftPanelV Grid.Column="0"
|
|
Grid.RowSpan="4"
|
|
DataContext="{StaticResource LeftPanelVM}"
|
|
Tag="{Binding DataContext.BTLStructureVM, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"
|
|
Visibility="{Binding DataContext.LeftPanel_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"/>
|
|
<GridSplitter Grid.Column="1"
|
|
Grid.RowSpan="4"
|
|
Width="3"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Stretch"/>-->
|
|
<EgtFloating:EgtFloatingTray x:Name="SCENETOPTRAY"
|
|
DockPanel.Dock="Top"
|
|
Background="Transparent">
|
|
<WrapPanel Orientation="Horizontal" Width="{Binding ActualWidth, ElementName=TOPTRAY}">
|
|
<PrintApp:ShowPanelV DataContext="{StaticResource ShowPanelVM}"/>
|
|
<!--<EgtBEAMWALL:ShowBeamPanelV DataContext="{StaticResource ShowBeamPanelVM}"
|
|
Visibility="{Binding DataContext.ShowBeamPanel_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"/>-->
|
|
<PrintApp:ViewPanelV DataContext="{StaticResource ViewPanelVM}"/>
|
|
<PrintApp:InstrumentPanelV DataContext="{StaticResource InstrumentPanelVM}"/>
|
|
<!--<EgtBEAMWALL:CalcPanelV DataContext="{StaticResource CALCPanelVM}"/>
|
|
<EgtBEAMWALL:FreeContourManagerV DataContext="{StaticResource FreeContourManagerVM}"
|
|
Visibility="{Binding DataContext.FreeContourManager_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"/>-->
|
|
<PrintApp:CurrLayerSliderV DataContext="{StaticResource CurrLayerSliderVM}"
|
|
VerticalAlignment="Center"/>
|
|
<PrintApp:Printing3DPanelV DataContext="{StaticResource Printing3DPanelVM}"/>
|
|
|
|
</WrapPanel>
|
|
</EgtFloating:EgtFloatingTray>
|
|
|
|
<Grid DockPanel.Dock="Top">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
<ColumnDefinition Width="5*"/>
|
|
<ColumnDefinition Width="0.5*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<PrintApp:TopPanelV Grid.Column="1"
|
|
DataContext="{Binding DataContext,
|
|
RelativeSource={RelativeSource AncestorType={x:Type PrintApp:ProjectV}}}"/>
|
|
</Grid>
|
|
<Grid DockPanel.Dock="Bottom">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<!--StatusBar -->
|
|
<PrintApp:StatusBarV DataContext="{StaticResource StatusBarVM}"/>
|
|
<PrintApp:MachinePanelV Grid.Column="1"
|
|
DataContext="{StaticResource MachinePanelVM}"/>
|
|
</Grid>
|
|
|
|
<DockPanel DockPanel.Dock="Bottom"
|
|
LastChildFill="False">
|
|
<Grid DockPanel.Dock="Right"
|
|
Height="100"
|
|
Width="200"
|
|
Background="LightGreen"/>
|
|
<Grid DockPanel.Dock="Bottom"
|
|
Height="20"
|
|
Width="400"
|
|
Background="Blue"/>
|
|
</DockPanel>
|
|
|
|
<Grid DockPanel.Dock="Left">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
<PrintApp:LeftPanelV Grid.Row="1"/>
|
|
</Grid>
|
|
|
|
<!--<Grid Grid.Column="2" Grid.Row="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition MinHeight="5"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>-->
|
|
<!--<Grid Background="Transparent">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="50"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid>
|
|
-->
|
|
<!--<Border Background="Red"
|
|
BorderBrush="Blue"
|
|
BorderThickness="7"
|
|
Height="300"
|
|
Width="30"
|
|
Panel.ZIndex="1"/>-->
|
|
<!--<PrintApp:ViewPanelV DataContext="{StaticResource ViewPanelVM}"/>-->
|
|
<!--
|
|
</Grid>-->
|
|
<!--<EgtWPFLib5:AirspacePopup PlacementTarget="{Binding ElementName=SceneHost}"
|
|
FollowPlacementTarget="True"
|
|
AllowOutsideScreenPlacement="True"
|
|
ParentWindow="{Binding RelativeSource={RelativeSource AncestorType={x:Type Window}}}"
|
|
IsOpen="True"
|
|
AllowsTransparency="True"
|
|
Placement="Center"
|
|
IsTopmost="True"
|
|
Width="{Binding ElementName=googleBrowser, Path=ActualWidth}"
|
|
Height="{Binding ElementName=googleBrowser, Path=ActualHeight}">
|
|
<Grid>
|
|
<Border Background="Red"
|
|
BorderBrush="Blue"
|
|
BorderThickness="7"
|
|
Height="300"
|
|
Width="30"
|
|
Panel.ZIndex="1"/>
|
|
</Grid>
|
|
|
|
</EgtWPFLib5:AirspacePopup>-->
|
|
<!-- Grid che occupa lo spazio della scena -->
|
|
<Grid Background="Transparent"/>
|
|
<!--<PrintApp:ViewPanelV DataContext="{StaticResource ViewPanelVM}"/>-->
|
|
<!--<EgtFloating:EgtFloatingTray x:Name="SCENETOPTRAY"
|
|
Grid.Column="2"
|
|
Grid.Row="0">
|
|
<WrapPanel Orientation="Horizontal" Width="{Binding ActualWidth, ElementName=TOPTRAY}">
|
|
<PrintApp:ViewPanelV DataContext="{StaticResource ViewPanelVM}"/>
|
|
</WrapPanel>
|
|
</EgtFloating:EgtFloatingTray>-->
|
|
<!--</Grid>-->
|
|
<!--<EgtBEAMWALL:PartManagerV Grid.Row="1"
|
|
DataContext="{StaticResource PartManagerVM}"
|
|
Tag="{Binding DataContext.BTLStructureVM.SelBTLPart, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"
|
|
Visibility="{Binding DataContext.PartManager_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"/>-->
|
|
|
|
<!--</Grid>-->
|
|
<!--<GridSplitter Grid.Column="2"
|
|
Grid.Row="2"
|
|
Height="3"
|
|
HorizontalAlignment="Stretch"/>
|
|
<Grid Grid.Column="2"
|
|
Grid.Row="3">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition MinHeight="5"/>
|
|
</Grid.RowDefinitions>
|
|
<EgtBEAMWALL:PartManagerV Grid.Row="0"
|
|
DataContext="{StaticResource PartManagerVM}"
|
|
Tag="{Binding DataContext.BTLStructureVM.SelBTLPart, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"
|
|
Visibility="{Binding DataContext.PartManager_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"/>
|
|
<Grid Grid.Column="2" Grid.Row="1">
|
|
<EgtBEAMWALL:TopPanelV
|
|
DataContext="{StaticResource TopPanelVM}"
|
|
Tag="{Binding DataContext, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"
|
|
Visibility="{Binding DataContext.TopPanel_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"
|
|
Height="Auto"/>
|
|
<EgtBEAMWALL:BottomPanelV
|
|
DataContext="{StaticResource BottomPanelVM}"
|
|
Tag="{Binding DataContext.BTLStructureVM, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"
|
|
Visibility="{Binding DataContext.BottomPanel_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProjectV}}}"
|
|
Height="Auto"/>
|
|
</Grid>
|
|
|
|
</Grid>
|
|
</Grid>-->
|
|
|
|
</EgtFloating:EgtFloatingManager>
|