]> https://gitweb.dealii.org/ - parameter_gui.git/commitdiff
Remove tooltip
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Tue, 28 Mar 2017 20:33:44 +0000 (14:33 -0600)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Tue, 28 Mar 2017 20:33:44 +0000 (14:33 -0600)
xml_parameter_reader.cpp

index a608ea49f1cb8310aa2f2d88c7aed7568c66e396..29d1a7cfc028abc7d338d7387975a3fbd714ae51 100644 (file)
@@ -176,13 +176,6 @@ namespace dealii
                 {
                   QString documentation = xml.readElementText();                       // store it
                   parent->setText(3, documentation);
-
-                  if (!documentation.isEmpty())                                                // if there is a documentation,
-                    {
-                      parent->setToolTip(0, "Documentation: " + documentation);                // set Documentation as ToolTip for both columns
-                      parent->setToolTip(1, "Documentation: " + documentation);
-                      parent->setStatusTip(0, "Documentation: " + documentation);      // and as StatusTip for the first column also
-                    };
                 }
               else if (xml.isStartElement() && xml.name() == "pattern")                        // if it is <pattern>
                 {
@@ -196,6 +189,7 @@ namespace dealii
                   parent->setText(5, pattern_description);
                                                                                        // show the type and default
                                                                                        // in the StatusLine
+                  parent->setStatusTip(0, "Type: " + pattern_description + "   Default: " + parent->text(2));
                   parent->setStatusTip(1, "Type: " + pattern_description + "   Default: " + parent->text(2));
 
                                                // in order to store values as correct data types,

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.