summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoger Maclean <rmaclean@qnx.com>2014-01-15 14:29:27 -0500
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-18 04:39:25 +0100
commit30e677e2bb21f45bbb3bc538d6c02f20dbbdfb11 (patch)
tree9b25cea1c0fe6bb6d1500e878ac01b8e127605bf /tests
parent5fcee880975c0ee9e373b097209882fbd30add0b (diff)
QNX: Allow creation of parentless child windows
There is no reason why a parentless window from a Qt perspective needs to be a screen application window. There are some cases, such as the BB10 dialog service whose windows are always parented by a window in another process. Ideally one would have a means to indicate a child window was wanted that had no other side effect (i.e. the rest of Qt would ignore). The use of Qt::Dialog is not ideal as some code does pay attention to this type given the number of bits available for window type, it is not reasonable to add a new one. The use of Qt::Dialog seems safe since it is hard to conceive of a window of type Qt::Dialog wanting to be a top level window. If in future it is required to have a parentless, child window that is not of type Qt::Dialog one can simply define some additional way of signalling this. Change-Id: Ie7035980ac2efd5bc722a8371c834f21ea7755f4 Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions