[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 15:29:58
[Download RAW message or body]
CVS commit by mlaurent:
Add progressbar balue support
M +5 -0 kaxul.cpp 1.31
M +1 -0 test/testcases/allelem.xul 1.10
--- kdenonbeta/kaxul/kaxul.cpp #1.30:1.31
@@ -405,4 +406,8 @@ int KaXul::parseNodes(const QDomElement&
QDomElement ne = createWidget("QProgressBar", e);
+ //test if it's a number or a string...
+ if (e.hasAttribute("value")) {
+ ne.appendChild(createProperty("progress", e.attribute("value"), "number"));
+ }
// Attribute:
out.appendChild(ne);
--- kdenonbeta/kaxul/test/testcases/allelem.xul #1.9:1.10
@@ -221,4 +221,5 @@
<colorpicker id="colorpicker"/>
<progressmeter id="progressmeter_u" mode="undetermined"/>
+ <progressmeter id="progressmeter_d1" mode="determined" value="50"/>
<scrollbar id="scrollbar_h" width="100"/>
</vbox>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic