]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
modify the parameter GUI to handle Map and List paremeters as strings
authorsteigemann <steigemann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 6 Sep 2013 11:11:23 +0000 (11:11 +0000)
committersteigemann <steigemann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 6 Sep 2013 11:11:23 +0000 (11:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@30626 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/parameter_gui/parameter_delegate.cpp
deal.II/contrib/parameter_gui/parameter_delegate.h

index 1add7f46e0d4a4a39b8f9f2258121097166d1d88..1dd33b59cca390c4335011cb18713b29fd9edde5 100644 (file)
@@ -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"),
index 155fa8edaa50baa7ad5d9b84591f66984ae4bcb4..3c4135926640c79ceb46020e04cb8149f968126c 100644 (file)
@@ -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 &quot;Anything&quot;, &quot;MultipleSelection&quot; and
+ * the ParameterHandler class. For all parameter types based on strings as &quot;Anything&quot;, &quot;MultipleSelection&quot; &quot;Map&quot; and
  * &quot;List&quot; 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
  * &quot;Selection&quot; type parameters a combo box will be shown up. For parameters of type &quot;FileName&quot; and &quot;DirectoryName&quot;
  * the delegate shows a @ref BrowseLineEdit editor. The column of the tree structure with the parameter values has to be set

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.