aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-14 11:46:27 +0200
committerThomas White <taw@physics.org>2021-07-14 11:46:27 +0200
commit6b98d433c6e461f5c351f8ed6dec84da21d45870 (patch)
tree20fec309ef7fc83c7d70310e2caf1a1d47867346 /src
parent1a60c142dc919cf9765547c3c79be10155d3a873 (diff)
GUI: Add placeholders for advanced indexer options
Diffstat (limited to 'src')
-rw-r--r--src/crystfelindexingopts.c52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/crystfelindexingopts.c b/src/crystfelindexingopts.c
index 0705557c..eb717354 100644
--- a/src/crystfelindexingopts.c
+++ b/src/crystfelindexingopts.c
@@ -504,6 +504,54 @@ static GtkWidget *integration_parameters(CrystFELIndexingOpts *io)
}
+static GtkWidget *advanced_parameters(CrystFELIndexingOpts *io)
+{
+ GtkWidget *box;
+ GtkWidget *expander;
+ GtkWidget *label;
+
+ box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8);
+ gtk_container_set_border_width(GTK_CONTAINER(box), 8);
+
+ expander = gtk_expander_new("PinkIndexer");
+ gtk_box_pack_start(GTK_BOX(box), expander, FALSE, FALSE, 8);
+ label = gtk_label_new("Advanced options for this indexing method are "
+ "currently not available through the GUI.");
+ gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
+ gtk_container_add(GTK_CONTAINER(expander), label);
+
+ expander = gtk_expander_new("XGandalf");
+ gtk_box_pack_start(GTK_BOX(box), expander, FALSE, FALSE, 8);
+ label = gtk_label_new("Advanced options for this indexing method are "
+ "currently not available through the GUI.");
+ gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
+ gtk_container_add(GTK_CONTAINER(expander), label);
+
+ expander = gtk_expander_new("Felix");
+ gtk_box_pack_start(GTK_BOX(box), expander, FALSE, FALSE, 8);
+ label = gtk_label_new("Advanced options for this indexing method are "
+ "currently not available through the GUI.");
+ gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
+ gtk_container_add(GTK_CONTAINER(expander), label);
+
+ expander = gtk_expander_new("TakeTwo");
+ gtk_box_pack_start(GTK_BOX(box), expander, FALSE, FALSE, 8);
+ label = gtk_label_new("Advanced options for this indexing method are "
+ "currently not available through the GUI.");
+ gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
+ gtk_container_add(GTK_CONTAINER(expander), label);
+
+ expander = gtk_expander_new("FromFile");
+ gtk_box_pack_start(GTK_BOX(box), expander, FALSE, FALSE, 8);
+ label = gtk_label_new("Advanced options for this indexing method are "
+ "currently not available through the GUI.");
+ gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
+ gtk_container_add(GTK_CONTAINER(expander), label);
+
+ return box;
+}
+
+
static void add_metadata_item(GtkListStore *model, const char *string)
{
GtkTreeIter iter;
@@ -650,6 +698,10 @@ GtkWidget *crystfel_indexing_opts_new()
integration_parameters(io),
gtk_label_new("Integration"));
+ gtk_notebook_append_page(GTK_NOTEBOOK(io),
+ advanced_parameters(io),
+ gtk_label_new("Advanced indexing"));
+
io->stream_params = stream_parameters(io);
gtk_notebook_append_page(GTK_NOTEBOOK(io), io->stream_params,
gtk_label_new("Stream contents"));