def execMethod( self , method ): """ Execute a method of the object selected in the tree method : pointer to the method to execute """ widget=msMethodCallDialog(method[1],self.rootObject,self) widget.exec_()
def execMethod(self): """ Execute a method of the object selected in the tree method : pointer to the method to execute """ widget=msMethodCallDialog( self.listMethods.currentIndex().internalPointer().getRawdata()[1],self.mainwindows.rootObject,self.mainwindows) widget.exec_()
def newObject( self , object_cls ): """ Menu New-\object_cls object_cls : pointer to the class of the object """ widgetNew=msMethodCallDialog(object_cls.New,self.rootObject,self) widgetNew.exec_()
def addChild(self): widget=msMethodCallDialog( self.data.addChild,self.data,self.mainwindows) widget.exec_()