[Interest] Crash on exit of Canvas3d examples

2017-02-08 Thread Immanuel Weber
Hi all, I started to play arround with Canvas3d. For that I used the project wizzard of QtCreator. However the simple example that the wizzard creates crashes on my machine on exit of the application. The debug trace hints likely at some dangling pointers in a QMap of the CanvasTextureImageFact

Re: [Interest] Creating Q_GADGET from qml

2016-11-25 Thread Immanuel Weber
ov 25, 2016 at 11:38 AM Immanuel Weber mailto:immanuel.we...@gmail.com]> wrote: Hi all, I'm trying to expose a class DoubleVector2D which is a Q_GADGET to qml.  That class looks like this: class DoubleVector2D { Q_GADGET Q_PROPERTY(double x READ x WRITE setX) Q_PROPERTY(double y READ y WRITE

[Interest] Creating Q_GADGET from qml

2016-11-25 Thread Immanuel Weber
Hi all, I'm trying to expose a class DoubleVector2D which is a Q_GADGET to qml.  That class looks like this: class DoubleVector2D { Q_GADGET Q_PROPERTY(double x READ x WRITE setX) Q_PROPERTY(double y READ y WRITE setY) public: DoubleVector2D() {} DoubleVector2D(double x, double y) : m_x(x), m_y(y)

Re: [Interest] QMdiSubWindow resize() does include the frame

2013-04-25 Thread Immanuel Weber
bWindow is not a top-level window, the behavior you describe is > correct. > On Apr 24, 2013 11:28 PM, "Immanuel Weber" > wrote: > >> Thanks John for the code. It works fine. I'm not really into the qt >> internals, I don't know if it is enough to overl

Re: [Interest] QMdiSubWindow resize() does include the frame

2013-04-24 Thread Immanuel Weber
ric(QStyle::PM_MdiSubWindowFrameWidth , &so, > myWidget()); > ---- > > > If anyone sees a problem with this, I'd be interested in hearing about it. So > far it seems to work, at least on Macintosh and Windows. > > -John Weeks > > > On

[Interest] QMdiSubWindow resize() does include the frame

2013-04-23 Thread Immanuel Weber
Hi all, I'm trying to set the inner area of a QMdiSubArea to a specific size, but the the resize(..) member of QMdiSubArea includes the frame. As stated in the documentation ( http://qt-project.org/doc/qt-5.0/qtwidgets/application-windows.html#window-geometry) resize(..) (belonging to size()) sho

Re: [Interest] Is QMetaMethod::tag() functional?

2013-03-06 Thread Immanuel Weber
Ahhh, thank you! It works now. That enclosing #infdef should definitely be stated in the documentation. If I have some spare time, I will have a look at the documentation contribution process. 2013/3/5 Thiago Macieira > On terça-feira, 5 de março de 2013 21.14.32, Immanuel Weber wr

Re: [Interest] Is QMetaMethod::tag() functional?

2013-03-05 Thread Immanuel Weber
Thiago Macieira intel.com> writes: > > On terça-feira, 5 de março de 2013 10.51.31, Immanuel Weber wrote: > > Hi all, > > > > I allready asked that question on the qt-forums, but did not get any > > response, so maybe here somebody can help me. > > I trie

[Interest] Is QMetaMethod::tag() functional?

2013-03-05 Thread Immanuel Weber
Hi all, I allready asked that question on the qt-forums, but did not get any response, so maybe here somebody can help me. I tried to use the QMetaMethod::tag() feature as described in the documentation, however it does not work. Actually there is a note in the documentation ( http://qt-project.or