Re: [Interest] window alway on top

2012-04-03 Thread Till Oliver Knoll


Am 03.04.2012 um 02:08 schrieb Tibo W tibo_...@yahoo.com:

 Hi guys,
 
 thanks a lot for your help !
 
 I forgot to mention one thing: on Ubuntu 10.04 X11 x86 running with gnome and 
 matacity, it's working.

Yes, what I said: More like guidelines for the actual window manager... ;)

 I also had to change the focus policy so I can still click on the background 
 (main app) window.

That sounds wrong to me: how exactly did you change the focus policy, and of 
what widget?

What you really want is setting the *modality* of your QDialog to non-modal. 
Look it up in the Qt docs:

  http://qt-project.org/doc/qt-4.8/QDialog.html

Hint: it's the first property described.

Cheers, Oliver___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] window alway on top

2012-04-02 Thread Tibold Kandrai
Hi!

I'm not sure what you try to achieve here, but if I understood it right
setting the windowModality to ApplicationModal might help. :)

On 02/04/2012 20:06, Tibo W wrote:
 Hi,

 I have a Qt application displayed full screen, and small
 semi-transparent windows (QGraphicsView + QML) on top on the main app.
 When I click on the main app, the small windows disappear behind...
 I set the modality, windows flags etc, but I can't find how to make
 the small windows not disappear (unless I call hide() then show() but
 that looks ugly).

 I'm using Qt 471 X11 with Ubuntu 10.04 x86. I tried with metacity,
 openbox and xfwm4 but the behavior is the same.

 Any suggestion ? Thanks  in advance !


 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest


-- 
Tibold Kandrai
CEO @ Dotz Team

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest