[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.

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] 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).

[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

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

Re: [Interest] Embedding QWindow

2014-08-04 Thread Ian Monroe
On Mon, Aug 4, 2014 at 8:28 AM, rap r...@dlc.fi 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

Re: [Interest] Embedding QWindow

2014-08-04 Thread rap
From: Ian Monroe ... On Mon, Aug 4, 2014 at 8:28 AM, rap r...@dlc.fi 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

Re: [Interest] Embedding QWindow

2014-08-04 Thread Ian Monroe
On Mon, Aug 4, 2014 at 11:21 AM, rap r...@dlc.fi 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

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

Re: [Interest] Embedding QWindow

2014-08-04 Thread Ian Monroe
On Mon, Aug 4, 2014 at 12:32 PM, rap r...@dlc.fi 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

[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.

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

Re: [Interest] Embedding QWindow

2014-08-04 Thread rap
From: Ian Monroe On Mon, Aug 4, 2014 at 12:32 PM, rap r...@dlc.fi 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] Embedding QWindow

2014-08-04 Thread Ian Monroe
On Mon, Aug 4, 2014 at 1:53 PM, rap r...@dlc.fi wrote: From: Ian Monroe On Mon, Aug 4, 2014 at 12:32 PM, rap r...@dlc.fi 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