Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
get the current KMdiChildView of a KMdiMainFrm object
Hi all,
I'm developping a KMdiMainFrm based application, and I don't manage to retrieve a pointer from the currently edited KMdiChildView... it's a bit annoying !
I try to call the function activeWindow(), but it doesn't work very well...
Can you help me ?
thanks.
activeWindow() looks like the method to use.
If it doesn't work as expected it could be a bug.
As a workaround you could try tracking the active child with the viewActivated signal.
Cheers,
_
Qt/KDE Developer
Debian User
thanks for the advice... I will try this.