Re: [Interest] New window in Qt makes the application activate

2014-02-04 Thread william.croc...@analog.com
On 02/03/2014 11:32 PM, Mandeep Sandhu wrote: As part of a (partly mistaken) emulation of some ancient Macintosh API's I was calling QWidget::activateWindow(). If the application is not active, that both makes the window active, and it makes the application active. I guess

[Interest] QWidget::adjustSize() issue

2014-02-04 Thread Etienne Sandré-Chardonnal
Dear all, I have a QStackedWidget in a toolbox with three pages, each having different sizes. The stacked widget does not adjust its size to the current page, so I used the trick from this article:

[Interest] Restore default mouse event handling without subclassing

2014-02-04 Thread Etienne Sandré-Chardonnal
Dear all, I have the following issue : QGroupBox is handling mouse events (press, release, move) and accepts them, preventing propagation to parents. However it does nothing with the events. I have toolbox widgets which handle mouse events not handled by children, so that they can be grabbed and

Re: [Interest] New window in Qt makes the application activate

2014-02-04 Thread Rutledge Shawn
On 4 Feb 2014, at 1:14 PM, william.croc...@analog.com wrote: On 02/03/2014 11:32 PM, Mandeep Sandhu wrote: As part of a (partly mistaken) emulation of some ancient Macintosh API's I was calling QWidget::activateWindow(). If the application is not active, that both makes the

[Interest] Qt 4.8.6

2014-02-04 Thread Jason Dolan
Does anyone know when Qt 4.8.6 will be released? I thought I heard a few months ago that it should be out by the end of January. -Jason ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt 4.8.6

2014-02-04 Thread Tomasz Siekierda
On 4 February 2014 14:58, Jason Dolan ja...@pcc.com wrote: Does anyone know when Qt 4.8.6 will be released? I thought I heard a few months ago that it should be out by the end of January. Later this month (February). AFAIK, it is now undergoing release testing. Snapshot packages are already

Re: [Interest] Grabbing frames from the camera

2014-02-04 Thread Lopes Yoann
I think this is simply bad API design... It should be QAbstractVideoSurface::present(QVideoFrame frame) instead. It's absolutely safe to ignore the const-ness of the video frame. Yoann Lopes Senior Software Engineer - Digia, Qt Visit us on: http://qt.digia.com

Re: [Interest] Qt 4.8.6

2014-02-04 Thread Thiago Macieira
Em ter 04 fev 2014, às 15:05:26, Tomasz Siekierda escreveu: On 4 February 2014 14:58, Jason Dolan ja...@pcc.com wrote: Does anyone know when Qt 4.8.6 will be released? I thought I heard a few months ago that it should be out by the end of January. Later this month (February). AFAIK, it is

Re: [Interest] New window in Qt makes the application activate

2014-02-04 Thread John Weeks
On 03-Feb-2014, at 8:32 PM, Mandeep Sandhu wrote: Wow...so much active-ity in this para! :) At 61, I like to think of myself as an active senior... -John Weeks ___ Interest mailing list Interest@qt-project.org

Re: [Interest] New window in Qt makes the application activate

2014-02-04 Thread John Weeks
On 04-Feb-2014, at 5:47 AM, Rutledge Shawn wrote: What does it mean to activate the application. Isn't it just a question of whether the app steals the keyboard focus? It means to bring it to the foreground so that it has an active-looking titlebar. On OSX, it might also mean bring

[Interest] QMdiSubWindow doesn't adjust its size

2014-02-04 Thread John Weeks
I have a moderately complex compound widget contained within a QMdiSubWindow. Certain user actions may cause the widgets to change size. Since everything is contained within layouts, I would expect the QMdiSubWindow to adjust its size, but it doesn't.Initial appearance:A user action causes

Re: [Interest] QMdiSubWindow doesn't adjust its size

2014-02-04 Thread Tony Rietwyk
Hi John, In the top level layout in the QMdiSubWindow, what is the sizeConstraint set to? Try Fixed. Hope that helps, Tony From: interest-bounces+tony=rightsoft.com...@qt-project.org [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of John Weeks

Re: [Interest] QMdiSubWindow doesn't adjust its size

2014-02-04 Thread John Weeks
Hmm... Calling ensurePolished() on the widget containing all that content seems to do the trick. That is, I'm not calling it on the QMdiSubWindow. Now I'm really confused. -John Weeks ___ Interest mailing list Interest@qt-project.org

Re: [Interest] QMdiSubWindow doesn't adjust its size

2014-02-04 Thread John Weeks
Hmm... Calling ensurePolished() on the widget containing all that content seems to do the trick. That is, I'm not calling it on the QMdiSubWindow. Now I'm really confused. I was confused. Sorry for the noise. -John Weeks ___ Interest mailing

[Interest] [interest][QT Installer Framework] how to overwrite or reinstall with existing app

2014-02-04 Thread peterlingoal
Hi All, I created an offline installer file for windows using QT Installer Frame work. After installation succeeded, I tried to execute the installation file again. However an error message The folder you selected already exists and contains an installation. Choose a different target for

Re: [Interest] [interest][QT Installer Framework] how to overwrite or reinstall with existing app

2014-02-04 Thread Sujan Dasmahapatra
you delete/uninstall the existing folder and reinstall. if you want want a new copy then give a different PATH. On Wed, Feb 5, 2014 at 8:10 AM, peterlingoal peterling...@gmail.com wrote: Hi All, I created an offline installer file for windows using QT Installer Frame work. After

Re: [Interest] [interest][QT Installer Framework] how to overwrite or reinstall with existing app

2014-02-04 Thread peterlingoal
Hi Sujan, Thanks for the reply. If uninstalling is the only solution, is there any way to invoke it at the beginning of installation process? Sorry I am new to QT installer framework, so please give me some guidance. Thanks. regards, On Wed, Feb 5, 2014 at 3:14 PM, Sujan Dasmahapatra