projects
/
jspeed
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added POI text field. Some tuning to detail screen item position.
[jspeed]
/
src
/
rectangle.cpp
diff --git
a/src/rectangle.cpp
b/src/rectangle.cpp
index
2e0705b
..
00e2115
100644
(file)
--- a/
src/rectangle.cpp
+++ b/
src/rectangle.cpp
@@
-29,6
+29,8
@@
namespace
{
{"xpos", true},
{"ypos", true},
{
{"xpos", true},
{"ypos", true},
+ {"zpos", true},
+ {"visiblewhen", false},
{"width", true},
{"height", true},
{"color", false}
{"width", true},
{"height", true},
{"color", false}
@@
-58,6
+60,12
@@
bool Rectangle::setAttribute(QString const& name, QString const& value)
case YPOS:
y_ = intVal;
break;
case YPOS:
y_ = intVal;
break;
+ case ZPOS:
+ element_->setZValue(intVal);
+ break;
+ case VISIBLEWHEN:
+ setVisibleWhen(strToVisibleWhen(value));
+ break;
case WIDTH:
width_ = intVal;
break;
case WIDTH:
width_ = intVal;
break;