Thanks for the help.
I went ahead and created MyHoverCheckBox, MyHoverComboBox, and MyHoverLineEdit to cover most of the controls. I will address lists and tables later.
The code to do this is pretty simple. I even created a MyHoverDialog derived from QDialog so my Windows application has a real Unix feel to it.
The only remaining problem is ,in Windows, when a dialog is made visible it is automatically given focus. So ... when achild window is created which is not under the cursor the "wrong" window has focus until I move the mouse over one of my controls which changes the "active control". I thought about overriding the "showEvent" method to try and counteract this but, the problem is more complicated then it seems - because the new child window may or may not need focus (depending on whether the current cursor position is within the bounds of the window). And the documentation on the "showEvent" method says that it is called before the dialog is shown. So, I do not know if the diaglog's data (e.g. geometry) is valid.
Bookmarks