Re: [Interest] Custom layouts

2014-08-04 Thread Tony Rietwyk
Hi Igor, Your problem makes sense. Hiding and showing widgets triggers a layout recalculation, and the layout uses setGeometry to position the widgets. It sounds unusual to change widget visibility in a setGeometry override. I suggest to use a flag to prevent the recursion yourself.

[Interest] QML TextEdit cursor not visible

2014-08-04 Thread Simone
Dear All, I have a problem in my application, I'm using Qt 4.8.5 and QML on our ARM freescale platform (QWS server, not X11). I have a TextEdit component in my QML page, and when I click on it to assign focus, the focus is assigned but I cannot see the cursor blinking. The same application on

[Interest] Qt on Wandboard-solo with Yocto -Problem

2014-08-04 Thread Nilesh Kokane
Hello, If anyone can help me to sought out the this issue to built up Qt on wandboard-Solo with yocto. Based on the url http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard I altered the local.conf and the bblayers.confand gave a bitbake core-image-minimal with DISTRO_FEAT

[Interest] Custom layouts

2014-08-04 Thread Igor Mironchik
Hi. I found that if in setGeometry() method call hide() or show() on widgets inside layout then this leads to recursion of layout. What do you think on this problem? May be it is good suggestion to Qt developers to remove this recursion, because of it is sometimes useful to hide some widgets i

Re: [Interest] Embedding QWindow

2014-08-04 Thread Ian Monroe
On Mon, Aug 4, 2014 at 1:53 PM, rap wrote: > From: Ian Monroe > > > On Mon, Aug 4, 2014 at 12:32 PM, rap wrote: >>> >>> Why do you want to use QWindow if you are using QWidget-based windows? QGLWidget seems like the correct solution. >>> >>> >>> >>> Your question arises a question of t

Re: [Interest] Embedding QWindow

2014-08-04 Thread rap
From: Ian Monroe On Mon, Aug 4, 2014 at 12:32 PM, rap wrote: >> Why do you want to use QWindow if you are using QWidget-based windows? >>> QGLWidget seems like the correct solution. >> >> >> Your question arises a question of the purpose and usefulness of QWindow >> class regarding opengl if you

Re: [Interest] Custom layout

2014-08-04 Thread Igor Mironchik
I have to say that count() returns 0 always too... Is it normal practice? From: Igor Mironchik Sent: Monday, August 04, 2014 10:44 PM To: interest@qt-project.org Subject: Custom layout Hi. I’m implementing custom layout for some widget. And I have problem. In my implementation of the widget

[Interest] Custom layout

2014-08-04 Thread Igor Mironchik
Hi. I’m implementing custom layout for some widget. And I have problem. In my implementation of the widget and layout itemAt never used, so I implemented it very simple and always return 0. But in debug mode something call this method. What it can be? P.S. Calls never stops. Thanks.__

Re: [Interest] Embedding QWindow

2014-08-04 Thread Ian Monroe
On Mon, Aug 4, 2014 at 12:32 PM, rap wrote: >> Why do you want to use QWindow if you are using QWidget-based windows? >> QGLWidget seems like the correct solution. > > > Your question arises a question of the purpose and usefulness of QWindow > class regarding opengl if you can not easily create

Re: [Interest] Embedding QWindow

2014-08-04 Thread rap
> Why do you want to use QWindow if you are using QWidget-based windows? > QGLWidget seems like the correct solution. Your question arises a question of the purpose and usefulness of QWindow class regarding opengl if you can not easily create UI controls to go with it, at least in a SDI applica

Re: [Interest] Embedding QWindow

2014-08-04 Thread Ian Monroe
On Mon, Aug 4, 2014 at 11:21 AM, rap wrote: > Thanks Ian, I have studied that example but it does not give an answer. > > What I'm trying accomplish is to have a MainWindow (derived from > QApplication / QWidget) for user input, (buttons etc.) and then a QWindow > derived class as the OpenGL dra

Re: [Interest] Embedding QWindow

2014-08-04 Thread rap
From: Ian Monroe ... On Mon, Aug 4, 2014 at 8:28 AM, rap wrote: > > Hello, > > > > I'm trying to create an initial OpenGL project for porting some Visual > > Studio 2010 win32 OpenGL learning stuff to Qt 5.3.1. I > > wonder > > if it is somehow possible to embed Opengl classes derived from QWind

Re: [Interest] Embedding QWindow

2014-08-04 Thread Ian Monroe
On Mon, Aug 4, 2014 at 8:28 AM, rap wrote: > Hello, > > I'm trying to create an initial OpenGL project for porting some Visual Studio > 2010 win32 OpenGL learning stuff to Qt 5.3.1. I wonder > if it is somehow possible to embed Opengl classes derived from QWindow as the > centralwidget to QMainW

Re: [Interest] Embedding QWindow

2014-08-04 Thread rap
> if it is somehow possible to embed Opengl classes derived from QWindow PS. Just to clarify my poorly chosen words: I have classes that use opengl and they are derived from QWindow. Hope that is more clear. Thanks, Risto From: rap Sent: Monday, August 04, 2014 6:28 PM To: Qt developer forum S

[Interest] Embedding QWindow

2014-08-04 Thread rap
Hello, I'm trying to create an initial OpenGL project for porting some Visual Studio 2010 win32 OpenGL learning stuff to Qt 5.3.1. I wonder if it is somehow possible to embed Opengl classes derived from QWindow as the centralwidget to QMainWindow? So far I have been using a QGLWidget as the ce

[Interest] question about relocating Qt library installation

2014-08-04 Thread Darren Dale
Hello, I'm working on project to provide a Qt5 conda package. Briefly, conda is an open source package manager developed by Continuum Analytics (with whom I am not affiliated) that deals with conflicting software stacks by creating isolated environments (especially good for scientific software). I

Re: [Interest] How to force layout...

2014-08-04 Thread Michael Sué
Perhaps you forgot to call "prepareGeometryChange()" before the rotation? --Michael. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] How to force layout...

2014-08-04 Thread Igor Mironchik
Hi. How to force layout to update geometries of items in it if some items changed theirs sizeHint property? For example if I rotate rectangle I want layout to update geometry of this rectangle. I’ve tried: layout->invalidate(); layout->update(); But with no success. Thanks._