yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05262
Re: qt4 tree view, new attempt
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Mon, 12 Jul 2010 14:13:23 +0200
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
-
In-reply-to:
<20100711213551.0399644d@atak.bl.pg.gda.pl>
Heh if I continue changing that then probably I should make a branch
or something :)
But now I want to look at moment law. So take this last version and see it.
I fixed the initial problem with .cpp files and linker. So no more
problems. And file names are a bit shorter. You have here
Saving/loading to/from QT4.
It is possible to make special handlers for Vector3r and Quaternion
(or even a matrix), so that they would be displayed in a single row.
For that a save_override(Vector3r&...) and load_override() have to be
added in the same place where other save_overrides are. And it would
call a get/set_value() with Vector3r info.
best regards
Janek Kozicki
Janek Kozicki said: (by the date of Sun, 11 Jul 2010 21:35:51 +0200)
> ok, I think that now this example is self contained and complete.
>
> - you can load a demofile.txt
> - double click to edit some value.
> - then you can save it.
>
> still too much stuff is displayed, and perhaps exception handling is
> poor. But the whole cycle works: loading and saving to/from qt4 tree.
>
> So this is a full basis needed for switching to boost serialization.
>
> --
> Janek Kozicki http://janek.kozicki.pl/ |
--
Janek Kozicki http://janek.kozicki.pl/ |
Attachment:
15-boost-serialization-tree-qt4.tar.bz2
Description: application/bzip
Follow ups
References