chezifresh
1st June 2011, 23:37
I have a QMainWindow with a bunch of dock widgets. Like most of you, I can drag something from one of the dock widgets and drop it on my desktop. I can also drag something from one of the dock widgets to another dock widget. Pretty straight forward. (Something like this example http://www.qtcentre.org/wiki/index.php?title=Extended_Main_Window)
The hard part that I can't find out is, I want to drag something from one dock widget to a tabified dock widget. For example, imagine you have two tabified dock widgets, one on top of the other, how can you drag something from the top dock widget to the obscured dock widget? Obviously, the only thing you can drag it to is the tab bar, but I'm finding it exceedingly hard to detect a drag event ontop of the tab bar.
Anyone cracked this nut yet?
6503 6504
The hard part that I can't find out is, I want to drag something from one dock widget to a tabified dock widget. For example, imagine you have two tabified dock widgets, one on top of the other, how can you drag something from the top dock widget to the obscured dock widget? Obviously, the only thing you can drag it to is the tab bar, but I'm finding it exceedingly hard to detect a drag event ontop of the tab bar.
Anyone cracked this nut yet?
6503 6504