def show(*args, **kwargs): import hqt reload(hqt) reload(editor_panel) hqt.show(editor_panel.VEXEditorPanelClass, name='VEX Editor', replacePyPanel=0, hideTitleMenu=0)
def show(*args, **kwargs): import hqt reload(hqt) hqt.show(editor_panel.VEXEditorPanelClass, name='VEX Editor',replacePyPanel=0, hideTitleMenu=0)
super(myMenu, self).__init__() for i in range(10): self.addAction(hqt.QAction('Item %s' % i, self)) action = hqt.showUi(myMenu) # get data from action object print action.text() ######################################################################################## 14 # EXAMPLES HOUDINI 14 ########## Simple Window import myWidget import hqt w = myWidget() w.setParent(hqt.getHouWindow()) w.setStyleSheet(hqt.get_h14_style()) w.show() ######## Insert as Panel import hqt #1 import myWidget # in panel hqt.show(myWidget.mainWindow, name='My Widget',replacePyPanel=1, hideTitleMenu=0) # floating hqt.show(myWidget.mainWindow, floating=1, position=(200,300), size=(300,400))
def show(*args, **kwargs): hqt.show(scriptEditor.scriptEditorClass, *args, **kwargs)