borbs727 Posted August 22, 2016 Share Posted August 22, 2016 (edited) I'm new to Houdini pipeline and I'm starting to port a Maya pipeline tool over to Houdini. Everything is working great but the tooltip windows aren't appearing in the right positions. I've used Paul Winex's MSE and hqt as a reference to see how Houdini is working with windows, if there are any other learning resources out there let me know! 1) The popups are supposed to lock onto the edge of the panel, but it looks like they're offsetting from the left edge of my center monitor (in a 3 monitor setup). No matter where I move the main Houdini window, the popups still appear in the same spots. 2) There's only 1 UI element that creates a popup correctly, but it gets hidden behind Houdini's main viewport. Tearing off my tool's panel doesn't resolve any of these problems. I'm getting the parent window in Houdini like so: class Build( QtGui.QWidget ): '''Main functions to build UI.''' def __init__(self, parent = hou.ui.mainQtWindow()): super( Build, self ).__init__( parent ) My tool works fine when getting the parent window in Maya like so: ptr = mui.MQtUtil.mainWindow() class Build( QtGui.QWidget ): '''Main functions to build UI.''' def __init__(self, parent = wrapInstance( long( ptr ), QtGui.QWidget ) ): super( Build, self ).__init__( parent ) Example for problem 1): Example for problem 2): Edited August 22, 2016 by borbs727 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.