[Qt-interest] Does Qt::WindowModal works on windows XP?
techsgin
techsgin at gmail.com
Sun Feb 8 21:05:55 CET 2009
Hi Acenes
Many thank for your time and effort.
It is a bug of Qt 4.4.0 commercial.
When using Qt 4.4.5 snapshot the behavior is as expected. :)
Our configuration:
- Window XP Professional, all fixes installed
- Qt 4.4.5 snapshot
- VS2005 Professional
Regards
TechSgin
-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Acenes
Sent: Sunday, February 08, 2009 16:17 PM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] Does Qt::WindowModal works on windows XP?
With this configuration:
- Window XP Home, all fixes installed
- Qt 4.4.3 commercial
- VS2005 Professional
Everything works as expected for true Qt widgets and dialogs, I can switch
to and use other independant windows in the same application while the
window modal dialog is shown.
However for native windows dialogs (file, print) the behaviour is as you
describe.
Hope this helps.
"techsgin" <techsgin at gmail.com> schrieb im Newsbeitrag
news:gmke9t$n6r$1 at eple.troll.no...
Hi All, and thanks in advance.
This is a bit urgent for us.
According to the help (Qt Assistant)
Qt::WindowModal -
The window is modal to a single window hierarchy and blocks input to its
parent window, all grandparent windows, and all siblings of its parent and
grandparent windows.
Qt::ApplicationModal -
The window is modal to the application and blocks input to all windows.
Well I have successfully used many times Qt::ApplicationModal, but never
Qt::WindowModal.
Our pseudo code goes like this.
We have two top level windows (Documents) with no parents, Lets call them
"window one" and "window two".
Window one creates a QDialog:
QDialog* createWindowModalDialog()
{
QDialog *lMyDialog = new QDialog(this);
lMyDialog->setWindowModality(Qt::WindowModal);
connect(lMyDialog, SIGNAL(finished(int)), this,
SLOT(sltChildFinished(int)));
lMyDialog->show();
return lMyDialog;
}
Now accurding to the ducomentation, I should be able to access "window two"
and continue with my work on it, but I cant!!!! hmmmm
Am I doing something wrong? Is it a bug?
*There is also a weird behavior in the taskbar when I activte "window two"
it gets the focus but it is still frozen.
Thanks
TechSgin
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list