View Full Version : How to present a Qt GUI app window to users???
wshn13
16th August 2011, 05:36
Now I have a Qt GUI app called A, and another we can call it B. Then I launch A, and launch B,in this case ,A window is behind B, we can send dbus message to A. The question is :How can I show A up to me ???
nish
16th August 2011, 09:51
once u get the dbus message,
QWidget::activateWindow ()
wshn13
29th August 2011, 08:27
once u get the dbus message,
QWidget::activateWindow ()
thans for your answer ,but what you said dose not work ,when my window stay behind another window , I send dbus message to it, then it invoke activateWindow ,but my window still stay behind other window!
wysota
29th August 2011, 08:57
QWidget::raise()
wshn13
29th August 2011, 10:34
I have a app with GUI ,I want it to show to front when the app receive a dbus message,but the app can't do like it now , I have attach it ,you can download it, modify my code,thanks!
PS:when I want it show front i send "dbus-send / com.test.clip.show" the app's session name is com.test.clip
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.