
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'll try to explain this clearly.
All this worked in maya 2016, I'm trying to port it to the new 2017/2018 world. It's not originally my ui code and it's a bit complex, so I need a bit of help.
We have a toolBrowser (kind of like a vertical shelf with buttons). There is a QTabWidget, within each tab a QStackedWidget, within that a custom scrolling ListView within which we have the custom button-like widgets. It is all in a workspaceControl, so it docks nicely with the attribute editor. The problem is that while the scrolling list works fine while the workspaceControl is floating, it appears to not scroll when docked. It actually does scroll, but the display is not refreshed. I can tell this because I can force a refresh by switching tabs, and then I can see the list has scrolled to where it should have. The tool widgets in the ListView work fine.
What am I missing? It's like the scrollbar part of the widget gets the mouse click and drag events, but it the widget not getting refreshed when the list is scrolled. I'm a bit new to qt, so I'm sure I'm missing something obvious...
Thanks, Sumit
Solved! Go to Solution.