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

List:       kde-commits
Subject:    kdenonbeta/kaxul
From:       Laurent Montel <montel () kde ! org>
Date:       2003-05-30 16:45:01
[Download RAW message or body]

CVS commit by mlaurent: 

Add multiple attribute in listview


  M +4 -0      kaxul.cpp   1.33
  M +1 -1      test/testcases/allelem.xul   1.12


--- kdenonbeta/kaxul/kaxul.cpp  #1.32:1.33
@@ -423,4 +423,8 @@ int KaXul::parseNodes(const QDomElement&
 
                         ne.appendChild(createProperty("rootIsDecorated", "true", "bool"));
+                        if ( e.attribute("multiple") == "true" ) {
+                            ne.appendChild( createProperty("selectionMode", "Multi", "enum"));
+                        }
+
 
                         // Attribute:

--- kdenonbeta/kaxul/test/testcases/allelem.xul  #1.11:1.12
@@ -228,5 +228,5 @@
     </tabpanel>
     <tabpanel id="tabpanel_3" orient="horizontal">
-      <tree id="tree" flex="1">
+      <tree id="tree" flex="1" multiple="true">
         <treecols id="treecols">
           <treecol id="treecol_1" label="Name" flex="2"/>


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

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