yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #03498
Re: QGLViewer
-
To:
yade-users@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Sun, 11 Jul 2010 16:03:17 +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:
<1278855210.1583.3.camel@flux>
Václav Šmilauer said: (by the date of Sun, 11 Jul 2010 15:33:30 +0200)
> > yes, I want to look at this today. But I'm afraid of another
> > problem: that qt4 will insist on running in the main thread, which
> > will block python.
>
> It wwould be (I had thought) the issue with qt3 as well, but it works
> just fine, and qt4 it I think more flexible. I think there are only 2
> things we need to handle in c++: the 3d viewer and the serialization.
> The rest can be (perhaps) written in PyQt. But who knows...
>
> If your approach does not work, the attributes->widgets could be also
> written in python, though it would be tricky to know that c++ type an
> attribute is (if it is [] in python, is it a vector<string> or
> vector<Real> or something else?). It would be possible fairly easily
> only to enhance runtime data somehow to know that, though.
>
> So don't spend too much time on that, if it is too compliacted.
by "that" you mean getting to run my old example?
Fortunately I managed to do that in last 4 hours. Works as before.
But still lots to be done, see yade-dev
--
Janek Kozicki http://janek.kozicki.pl/ |
References