[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kaxul
From:       Frerich Raabe <raabe () kde ! org>
Date:       2003-05-30 14:37:09
[Download RAW message or body]

CVS commit by raabe: 

- Parse tooltiptext attribute for all widgets


  A            test/testcases/tooltiptext.xul   1.1
  M +4 -1      kaxul.cpp   1.29


--- kdenonbeta/kaxul/kaxul.cpp  #1.28:1.29
@@ -95,6 +95,9 @@ QDomElement KaXul::createWidget(const QS
                 ne.appendChild(createProperty("name", whom.attribute("id"), "cstring"));
         }
-        if (whom.hasAttribute("disabled") && whom.attribute("disabled") == "true") {
+        if (whom.attribute("disabled") == "true") {
                 ne.appendChild(createProperty("enabled", "false", "bool"));
+        }
+        if (whom.hasAttribute("tooltiptext")) {
+                ne.appendChild(createProperty("toolTip", whom.attribute("tooltiptext"), "string"));
         }
         if (!_gridInfo.isEmpty()) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic