5
5
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
6
6
xmlns : local =" clr-namespace:MetaMorpheusGUI"
7
7
mc : Ignorable =" d"
8
- Title =" MetaMorpheus Not a release" Drop =" Window_Drop" AllowDrop =" true" WindowStartupLocation =" CenterScreen" >
9
- <StackPanel Margin = " 5 " >
10
- <Menu x : Name =" menu" >
8
+ Title =" MetaMorpheus Not a release" Drop =" Window_Drop" AllowDrop =" true" WindowStartupLocation =" CenterScreen" MinHeight = " 400 " MinWidth = " 650 " Height = " 500 " Width = " 700 " >
9
+ <DockPanel >
10
+ <Menu x : Name =" menu" DockPanel.Dock= " Top " >
11
11
<MenuItem Header =" Databases" >
12
12
<MenuItem Header =" External Databases" />
13
13
<MenuItem Header =" Custom Modification Databases" />
22
22
<ColumnDefinition Width =" 1*" />
23
23
<ColumnDefinition Width =" 1*" />
24
24
</Grid .ColumnDefinitions>
25
- <Grid .RowDefinitions>
26
- <RowDefinition Height =" 1*" />
27
- <RowDefinition Height =" 1*" />
28
- </Grid .RowDefinitions>
29
- <StackPanel >
30
- <Border BorderBrush =" Black" BorderThickness =" 2" Margin =" 5" >
31
- <StackPanel Margin =" 5" x : Name =" XMLdbPanel" >
32
- <Label x : Name =" xmlLabel" Content =" Protein Databases" HorizontalAlignment =" Center" />
33
- <DataGrid x : Name =" dataGridXMLs" ItemsSource =" {Binding}" CanUserSortColumns =" False" CanUserResizeColumns =" False" CanUserReorderColumns =" False" Height =" 100" >
25
+ <Grid >
26
+ <Grid .RowDefinitions>
27
+ <RowDefinition Height =" 1*" />
28
+ <RowDefinition Height =" 1*" />
29
+ <RowDefinition Height =" 1*" />
30
+ </Grid .RowDefinitions>
31
+ <GroupBox Header =" Protein Databases" Name =" proteinDatabasesGroupBox" >
32
+ <Grid >
33
+ <Grid .RowDefinitions>
34
+ <RowDefinition Height =" *" />
35
+ <RowDefinition Height =" 20" />
36
+ </Grid .RowDefinitions>
37
+ <DataGrid x : Name =" dataGridXMLs" ItemsSource =" {Binding}" CanUserSortColumns =" False" CanUserResizeColumns =" False" CanUserReorderColumns =" False" >
34
38
<DataGrid .Resources>
35
39
<Style TargetType =" DataGridCell" >
36
40
<EventSetter Event =" MouseDoubleClick" Handler =" Row_DoubleClick" />
37
41
</Style >
38
42
</DataGrid .Resources>
39
43
</DataGrid >
40
- <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" >
44
+ <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" Grid.Row= " 1 " >
41
45
<Button x : Name =" AddXML" Content =" Add" Click =" AddXML_Click" />
42
46
<Button x : Name =" ClearXML" Content =" Clear" Click =" ClearXML_Click" />
43
47
</StackPanel >
44
- </StackPanel >
45
- </Border >
46
- <Border BorderBrush =" Black" BorderThickness =" 2" Margin =" 5" >
47
- <StackPanel x : Name =" DatafilesStackPanel" Margin =" 5" >
48
- <Label x : Name =" DatafilesLabel" Content =" Datafiles" HorizontalAlignment =" Center" />
49
- <DataGrid x : Name =" dataGridDatafiles" ItemsSource =" {Binding}" CanUserSortColumns =" False" CanUserResizeColumns =" False" CanUserReorderColumns =" False" Height =" 150" >
48
+ </Grid >
49
+ </GroupBox >
50
+ <GroupBox Header =" Datafiles" Grid.Row=" 1" Name =" datafilesGroupBox" >
51
+ <Grid >
52
+ <Grid .RowDefinitions>
53
+ <RowDefinition Height =" *" />
54
+ <RowDefinition Height =" 20" />
55
+ </Grid .RowDefinitions>
56
+ <DataGrid x : Name =" dataGridDatafiles" ItemsSource =" {Binding}" CanUserSortColumns =" False" CanUserResizeColumns =" False" CanUserReorderColumns =" False" DockPanel.Dock=" Top" >
50
57
<DataGrid .Resources>
51
58
<ResourceDictionary >
52
59
<Style x : Key =" {x:Type DataGridCell}" TargetType =" {x:Type DataGridCell}" >
85
92
</ResourceDictionary >
86
93
</DataGrid .Resources>
87
94
</DataGrid >
88
- <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" >
95
+ <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" Grid.Row= " 1 " >
89
96
<Button x : Name =" AddRaw" Content =" Add" Click =" AddRaw_Click" />
90
97
<Button x : Name =" ClearRaw" Content =" Clear" Click =" ClearRaw_Click" />
91
98
</StackPanel >
92
- </StackPanel >
93
- </Border >
94
- </StackPanel >
95
- <Border BorderBrush =" Black" BorderThickness =" 2" Grid.Row=" 1" Margin =" 5" >
96
- <StackPanel x : Name =" OutputFilesStackPanel" Margin =" 5" >
97
- <Label x : Name =" outputFilesLabel" Content =" Output Files" HorizontalAlignment =" Center" />
98
- <DataGrid x : Name =" outputFilesDataGrid" ItemsSource =" {Binding}" CanUserSortColumns =" False" CanUserResizeColumns =" False" CanUserReorderColumns =" False" >
99
- <DataGrid .Resources>
100
- <Style TargetType =" DataGridCell" >
101
- <EventSetter Event =" MouseDoubleClick" Handler =" Row_DoubleClick" />
102
- </Style >
103
- </DataGrid .Resources>
104
- </DataGrid >
105
- <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" >
106
- <Button x : Name =" ClearOutput" Content =" Clear" Click =" ClearOutput_Click" />
107
- </StackPanel >
108
- </StackPanel >
109
- </Border >
110
- <StackPanel x : Name =" RightPanel" Grid.Column=" 1" >
111
- <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" >
112
- <Button x : Name =" addSearchTaskButton" Content =" Add Search Task" Click =" addSearchTaskButton_Click" />
113
- <Button x : Name =" addCalibrateTaskButton" Content =" Add Calibrate Task" Click =" addCalibrateTaskButton_Click" />
114
- <Button x : Name =" addGPTMDTaskButton" Content =" Add GPTMD Task" Click =" addGPTMDTaskButton_Click" />
115
- </StackPanel >
116
- <Border BorderBrush =" Black" BorderThickness =" 2" Margin =" 5" >
117
- <StackPanel x : Name =" tasksPanel" Margin =" 5" >
99
+ </Grid >
100
+ </GroupBox >
101
+ <GroupBox Header =" Output Files" Grid.Row=" 2" >
102
+ <Grid >
103
+ <Grid .RowDefinitions>
104
+ <RowDefinition Height =" *" />
105
+ <RowDefinition Height =" 20" />
106
+ </Grid .RowDefinitions>
107
+ <DataGrid x : Name =" outputFilesDataGrid" ItemsSource =" {Binding}" CanUserSortColumns =" False" CanUserResizeColumns =" False" CanUserReorderColumns =" False" >
108
+ <DataGrid .Resources>
109
+ <Style TargetType =" DataGridCell" >
110
+ <EventSetter Event =" MouseDoubleClick" Handler =" Row_DoubleClick" />
111
+ </Style >
112
+ </DataGrid .Resources>
113
+ </DataGrid >
114
+ <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" Grid.Row=" 1" >
115
+ <Button x : Name =" ClearOutput" Content =" Clear" Click =" ClearOutput_Click" />
116
+ </StackPanel >
117
+ </Grid >
118
+ </GroupBox >
119
+ </Grid >
120
+ <Grid Grid.Column=" 1" >
121
+ <Grid .RowDefinitions>
122
+ <RowDefinition Height =" 1*" />
123
+ <RowDefinition Height =" 1*" />
124
+ </Grid .RowDefinitions>
125
+ <GroupBox Header =" Tasks" Name =" tasksGroupBox" >
126
+ <Grid >
127
+ <Grid .RowDefinitions>
128
+ <RowDefinition Height =" 20" />
129
+ <RowDefinition Height =" *" />
130
+ <RowDefinition Height =" 20" />
131
+ <RowDefinition Height =" 40" />
132
+ </Grid .RowDefinitions>
118
133
<StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" >
119
- <Label x : Name =" labelTasks" Content =" Tasks" HorizontalAlignment =" Center" />
134
+ <Button x : Name =" addSearchTaskButton" Content =" Add Search Task" Click =" addSearchTaskButton_Click" />
135
+ <Button x : Name =" addCalibrateTaskButton" Content =" Add Calibrate Task" Click =" addCalibrateTaskButton_Click" />
136
+ <Button x : Name =" addGPTMDTaskButton" Content =" Add GPTMD Task" Click =" addGPTMDTaskButton_Click" />
120
137
</StackPanel >
121
- <DataGrid x : Name =" tasksDataGrid" ItemsSource =" {Binding}" CanUserSortColumns =" False" CanUserResizeColumns =" False" CanUserResizeRows =" False" CanUserReorderColumns =" False" SelectionMode =" Single" MouseDoubleClick =" tasksDataGrid_MouseDoubleClick" IsReadOnly =" True" >
138
+ <DataGrid x : Name =" tasksDataGrid" ItemsSource =" {Binding}" CanUserSortColumns =" False" CanUserResizeColumns =" False" CanUserResizeRows =" False" CanUserReorderColumns =" False" SelectionMode =" Single" MouseDoubleClick =" tasksDataGrid_MouseDoubleClick" IsReadOnly =" True" Grid.Row= " 1 " >
122
139
<DataGrid .Resources>
123
140
<ResourceDictionary >
124
141
<Style x : Key =" {x:Type DataGridCell}" TargetType =" {x:Type DataGridCell}" >
156
173
</ResourceDictionary >
157
174
</DataGrid .Resources>
158
175
</DataGrid >
159
- <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" >
176
+ <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" Grid.Row= " 2 " >
160
177
<Button x : Name =" ClearTasksButton" Content =" Clear" Click =" ClearTasks_Click" />
161
178
<Button x : Name =" RemoveLastTaskButton" Content =" Remove Last Task" Click =" RemoveLastTask_Click" />
162
179
</StackPanel >
163
- <Button x : Name =" RunTasksButton" Content =" Run all tasks!" Click =" RunAllTasks_Click" Margin =" 10" FontSize =" 24" />
164
- </StackPanel >
165
- </Border >
166
- </StackPanel >
167
-
168
- <Border BorderBrush =" Black" BorderThickness =" 2" Margin =" 5" Grid.Column=" 1" Grid.Row=" 1" >
169
- <StackPanel Margin =" 5" >
170
- <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" >
171
- <Label x : Name =" labelStatus" Content =" Status:" HorizontalAlignment =" Center" />
172
- <Label x : Name =" statusLabel" Content =" Ready" HorizontalAlignment =" Center" />
173
- </StackPanel >
174
- <ProgressBar x : Name =" outProgressBar" Height =" 15" />
175
- <RichTextBox x : Name =" outRichTextBox" Height =" 200" VerticalScrollBarVisibility =" Visible" IsReadOnly =" True" >
176
- <RichTextBox .Resources>
177
- <Style TargetType =" {x:Type Paragraph}" >
178
- <Setter Property =" Margin" Value =" 0" />
179
- </Style >
180
- </RichTextBox .Resources>
181
- </RichTextBox >
182
- </StackPanel >
183
- </Border >
180
+ <Button x : Name =" RunTasksButton" Content =" Run all tasks!" Click =" RunAllTasks_Click" FontSize =" 24" Grid.Row=" 3" />
181
+ </Grid >
182
+ </GroupBox >
183
+ <GroupBox Header =" Status" Grid.Row=" 1" >
184
+ <DockPanel >
185
+ <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" DockPanel.Dock=" Top" >
186
+ <Label x : Name =" statusLabel" Content =" Ready" HorizontalAlignment =" Center" />
187
+ </StackPanel >
188
+ <ProgressBar x : Name =" outProgressBar" DockPanel.Dock=" Top" Height =" 20" />
189
+ <RichTextBox x : Name =" outRichTextBox" VerticalScrollBarVisibility =" Visible" IsReadOnly =" True" >
190
+ <RichTextBox .Resources>
191
+ <Style TargetType =" {x:Type Paragraph}" >
192
+ <Setter Property =" Margin" Value =" 0" />
193
+ </Style >
194
+ </RichTextBox .Resources>
195
+ </RichTextBox >
196
+ </DockPanel >
197
+ </GroupBox >
198
+ </Grid >
184
199
</Grid >
185
- </StackPanel >
200
+ </DockPanel >
186
201
</Window >
0 commit comments