Re: [Interest] QTimer and Qt::PreciseTimer

2017-07-26 Thread Thiago Macieira
On quarta-feira, 26 de julho de 2017 14:23:29 PDT Joshua Grauman wrote: > Thanks so much for the response. > > So do I have this right then? > > QTimer doesn't use any actually timers in the OS (no system > calls/interrupts). It is all handled internally by Qt's event loop. So if > the OS doesn't

Re: [Interest] QTimer and Qt::PreciseTimer

2017-07-26 Thread Joshua Grauman
Thanks so much for the response. So do I have this right then? QTimer doesn't use any actually timers in the OS (no system calls/interrupts). It is all handled internally by Qt's event loop. So if the OS doesn't give Qt CPU time, it will miss a timer. Calling 'nice' (Linux) on the process may

Re: [Interest] QTimer and Qt::PreciseTimer

2017-07-26 Thread Thiago Macieira
On quarta-feira, 26 de julho de 2017 12:58:43 PDT Joshua Grauman wrote: > Hello all, > > I have a QTimer in my application that runs every 40ms. It doesn't run > continuously, but I recall the start function every time my timer function > is done so that the timer doesn't drift over time. My quest

Re: [Interest] Any way to achieve retina resolution on QGraphicsView?

2017-07-26 Thread Jason H
I don't know what your code path is, or the current state of this long-time bug is, but  I belive the current "fix" is to manualyl double the pixel density and then scale down.      Sent: Tuesday, July 25, 2017 at 9:29 PM From: "Patrick Stinson" To: "Qt Interest" Subject: Re: [Interest] Any

[Interest] QTimer and Qt::PreciseTimer

2017-07-26 Thread Joshua Grauman
Hello all, I have a QTimer in my application that runs every 40ms. It doesn't run continuously, but I recall the start function every time my timer function is done so that the timer doesn't drift over time. My question though is about timeout overrun. If the system is busy, and so the timer i

[Interest] 3D World in C++ - loading objects and change properties ..

2017-07-26 Thread Jens Kallup
Hello, the code above will display a plane and a mesh sphere. But, how can I move it around the scene, set material texture or color, and how can I change the position of it? TIA Jens extern Qt3DExtras::Qt3DWindow *view; dreidworld::dreidworld() { Qt3DCore::QEntity *sceneRoot = new Qt3DCor

Re: [Interest] Get a list of avaialable (icon) resources

2017-07-26 Thread Thiago Macieira
On quarta-feira, 26 de julho de 2017 02:50:18 PDT Marcel Stegehuis wrote: > Solved: > simply iterate over files/dirs in the ":/" path That will find things that aren't icons (like the QMimetype database) and will not find any icons that are located in /usr/share/icons. -- Thiago Macieira - thia

Re: [Interest] Get a list of avaialable (icon) resources

2017-07-26 Thread Marcel Stegehuis
Solved: simply iterate over files/dirs in the ":/" path Marcel -Original Message- From: Marcel Stegehuis Sent: Wednesday, July 26, 2017 10:55 AM To: 'interest@qt-project.org' Subject: Re: [Interest] Get a list of avaialable (icon) resources In my application I would like the user to add

Re: [Interest] Get a list of avaialable (icon) resources

2017-07-26 Thread Marcel Stegehuis
In my application I would like the user to add custom (toolbar)actions and therefor select an icon from a list of available icons. Is there a way to query for all icons available in the resources run-time? I would like to prevent to hard code the icon names. Marcel _

Re: [Interest] Qt 3D showcase

2017-07-26 Thread Sean Harmer
On Wednesday, 26 July 2017 08:52:21 BST Jean-Michaël Celerier wrote: > It would be interesting to showcase the use of Qt3D, both through C++ and > QML > in this repository : https://github.com/kosua20/herebedragons . > > I have zero knowledge in 3D so I feel that what I'd be doing would be... > cl

[Interest] Qt 3D showcase

2017-07-26 Thread Jean-Michaël Celerier
It would be interesting to showcase the use of Qt3D, both through C++ and QML in this repository : https://github.com/kosua20/herebedragons . I have zero knowledge in 3D so I feel that what I'd be doing would be... closer to worst-practices than best-practices but maybe someone knowledgeable can m