{"id":828,"date":"2024-07-06T17:12:06","date_gmt":"2024-07-07T00:12:06","guid":{"rendered":"http:\/\/fx-td.com\/houdiniandchill\/?p=828"},"modified":"2024-07-06T17:31:37","modified_gmt":"2024-07-07T00:31:37","slug":"archived-post-by-cdordelly","status":"publish","type":"post","link":"http:\/\/fx-td.com\/houdiniandchill\/2024\/07\/06\/archived-post-by-cdordelly\/","title":{"rendered":"Archived post by cdordelly"},"content":{"rendered":"<div class=\"postie-post\">\n<p class=\"\">`# Force Houdini&#8217;s style sheet         self.setProperty(&#8220;houdiniStyle&#8221;, True)         sh = hou.ui.qtStyleSheet()         self.setStyleSheet(sh)`<\/p>\n<p class=\"\">also when you call the dialog, make sure to set the houdini qt window as parent too:<\/p>\n<p class=\"\">`# Create and show the dialog dialog = OSLManagerDlg(parent=hou.ui.mainQtWindow()) dialog.exec_()`<\/p>\n<p class=\"\">in this case, this dlg looks like this<\/p>\n<p class=\"\">I guess it will be similar for a python panel, have no idea <:kill_me:419295639348838400><\/p>\n<p>Attachments in this post: <br \/><a href=\"http:\/\/fx-td.com\/houdiniandchill\/wp-content\/uploads\/discord\/20241207\/06\/24\/image.png\">http:\/\/fx-td.com\/houdiniandchill\/wp-content\/uploads\/discord\/20241207\/06\/24\/image.png<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>`# Force Houdini&#8217;s style sheet self.setProperty(&#8220;houdiniStyle&#8221;, True) sh = hou.ui.qtStyleSheet() self.setStyleSheet(sh)` also when you call the dialog, make sure to set the houdini qt window as parent too: `# Create and show the dialog dialog = OSLManagerDlg(parent=hou.ui.mainQtWindow()) dialog.exec_()` in this case, this dlg looks like this I guess it will be similar for a python &hellip; <a href=\"http:\/\/fx-td.com\/houdiniandchill\/2024\/07\/06\/archived-post-by-cdordelly\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Archived post by cdordelly<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/828"}],"collection":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/comments?post=828"}],"version-history":[{"count":0,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/828\/revisions"}],"wp:attachment":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/media?parent=828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/categories?post=828"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/tags?post=828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}