def loadGui(self): self.progress(0.9) category = self.getCategory('Settings') category.addTask(PluginsTaskView(category)) # Exit button category = self.getCategory("Exit") @category.tab.mhEvent def onClicked(event): self.promptAndExit() """ self.poseModeBox = self.buttonBox.addWidget(gui.CheckBox("Pose mode", False)) @self.poseModeBox.mhEvent def onClicked(event): print dir(event) if self.poseModeBox.selected: posemode.exitPoseMode() else: posemode.enterPoseMode() """ mh.refreshLayout() self.switchCategory("Modelling") self.progress(1.0)
def loadGui(self): self.progress(0.9) category = self.getCategory('Settings') category.addTask(PluginsTaskView(category)) mh.refreshLayout() self.switchCategory("Modelling") self.progress(1.0)
def loadGui(self): self.progress(0.9) #category = self.getCategory('Settings') #category.addTask(PluginsTaskView(category)) mh.refreshLayout() self.switchCategory("Modelling") # Create viewport grid self.loadGrid() self.progress(1.0)
def updateSliderImages(selected): gui.Slider.showImages(selected) mh.refreshLayout()
def onClicked(event): gui3d.app.settings['sliderImages'] = self.sliderImages.selected gui.Slider.showImages(self.sliderImages.selected) mh.refreshLayout()