Amm... to me your answer kinds of blends everything together and it makes it hard for me to understand what you are trying to do.
What you call "the condition" is not a condition effecting what...
or in short, RTFM.high_flyer Today, 10:10
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.