From cd2de6042054fceda10caad010fa09d7fc092820 Mon Sep 17 00:00:00 2001 From: Martin Steigemann Date: Fri, 6 Sep 2013 11:11:23 +0000 Subject: [PATCH] modify the parameter GUI to handle Map and List paremeters as strings git-svn-id: https://svn.dealii.org/trunk@30626 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/contrib/parameter_gui/parameter_delegate.cpp | 2 +- deal.II/contrib/parameter_gui/parameter_delegate.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/contrib/parameter_gui/parameter_delegate.cpp b/deal.II/contrib/parameter_gui/parameter_delegate.cpp index 1add7f46e0..1dd33b59cc 100644 --- a/deal.II/contrib/parameter_gui/parameter_delegate.cpp +++ b/deal.II/contrib/parameter_gui/parameter_delegate.cpp @@ -102,7 +102,7 @@ namespace dealii { QString pattern_description = index.data(Qt::StatusTipRole).toString(); // load pattern description // stored in the StatusLine - QRegExp rx_string("\\b(Anything|MultipleSelection|List)\\b"), + QRegExp rx_string("\\b(Anything|MultipleSelection|List|Map)\\b"), rx_filename("\\b(FileName)\\b"), rx_dirname("\\b(DirectoryName)\\b"), rx_integer("\\b(Integer)\\b"), diff --git a/deal.II/contrib/parameter_gui/parameter_delegate.h b/deal.II/contrib/parameter_gui/parameter_delegate.h index 155fa8edaa..3c41359266 100644 --- a/deal.II/contrib/parameter_gui/parameter_delegate.h +++ b/deal.II/contrib/parameter_gui/parameter_delegate.h @@ -39,7 +39,7 @@ namespace dealii * The ParameterDelegate class implements special delegates for the QTreeWidget class used in the parameterGUI. * The QTreeWidget class provides some different standard delegates for editing parameters shown in the * tree structure. The ParameterDelegate class provides special editors for the different types of parameters defined in - * the ParameterHandler class. For all parameter types based on strings as "Anything", "MultipleSelection" and + * the ParameterHandler class. For all parameter types based on strings as "Anything", "MultipleSelection" "Map" and * "List" a simple line editor will be shown up. In the case of integer and double type parameters the editor is a spin box and for * "Selection" type parameters a combo box will be shown up. For parameters of type "FileName" and "DirectoryName" * the delegate shows a @ref BrowseLineEdit editor. The column of the tree structure with the parameter values has to be set -- 2.39.5