Thanks WY.
Anwsering you, to the first. Imagine I have a ui with 25 Qframes (each one for a specific purpose and with different buttons and other widgets). Imagine I want to show a dialog with the Qframe 12 (only). A solution can be : 1.- hide de tab widget where I have organized my 25 Qframes. 2.- Set the parent of Qframe 12 to main layout. 3.- Show the dialog.
I have 24 unused frames. This is the reason because I'd like to have a way to 'load' only the Qframe12.
To the second:
I have now this :
A_analyzer = new A_analyzer(qApp->activeWindow());
A_analyzer = new A_analyzer(qApp->activeWindow());
To copy to clipboard, switch view to plain text mode
Inside A_analyzer constuctor :
Qt::WindowFlags flags = 0;
flags = Qt::SplashScreen;
this->setWindowFlags(flags);
this->move(0,0)
Qt::WindowFlags flags = 0;
flags = Qt::SplashScreen;
this->setWindowFlags(flags);
this->move(0,0)
To copy to clipboard, switch view to plain text mode
Ok, I see my widget-window without title (this is what I want). But, it would not have to be contained by qApp->activeWindow() ??? this->move(0,0) place the window at top-left of the screen, not at 0,0 of the activeWindow. Maybe the flag SplashScreen let my 'window' can live into the whole desktop?????
Thanks
Bookmarks