Ejemplo n.º 1
0
 def initUI(self):                       
     self.setView(pyHStandardView(self))
     self.getView().setTransform(pyHTransform2D(10,10,self.width()/2,self.height()/2))
     
     self.setCentralWidget(self.getView())
     self.setGeometry(300, 30,900,900)
     self.setWindowTitle('Qt5 - pyHotGraphSLAM')    
     self.sb=QtWidgets.QLabel(self)
     self.sb.setText("x=0,y=0")
     self.statusBar().addPermanentWidget(self.sb)
     self.sb1=QtWidgets.QLabel(self)
     self.setCurrentTool(pyHSelectionTool(self.getView()))
     self.show()
    def initUI(self):
        self.setView(pyHStandardView(self))

        #         scrollArea = QtGui.QScrollArea()
        #         scrollArea.setBackgroundRole(QtGui.QPalette.Dark)
        #         scrollArea.setWidget(self.getView())

        self.setCentralWidget(self.getView())
        self.setGeometry(300, 30, 1000, 600)
        self.setWindowTitle('Qt4 - pyHotVision Face Tool ' + cv2.__version__)
        self.sb = QtGui.QLabel(self)
        self.sb.setText("x=0,y=0")
        self.statusBar().addPermanentWidget(self.sb)
        self.sb1 = QtGui.QLabel(self)
        self.setCurrentTool(pyHSelectionTool(self.getView()))
        self.show()
    def initUI(self):                       
        self.setView(pyHStandardView(self))
        
#         scrollArea = QtGui.QScrollArea()
#         scrollArea.setBackgroundRole(QtGui.QPalette.Dark)
#         scrollArea.setWidget(self.getView())
        
        self.setCentralWidget(self.getView())
        self.setGeometry(300, 30,900,500)
        self.setWindowTitle('pyHotVision')    
        self.sb=QtGui.QLabel(self)
        self.sb.setText("x=0,y=0")
        self.statusBar().addPermanentWidget(self.sb)
        self.sb1=QtGui.QLabel(self)
        self.setCurrentTool(pyHSelectionTool(self.getView()))
        self.show()
    def initUI(self):                       
        self.setView(pyHStandardView(self))
        self.getView().setTransform(pyHTransform2D(10,10,self.width()/2,self.height()/2))

#         scrollArea = QtGui.QScrollArea()
#         scrollArea.setBackgroundRole(QtGui.QPalette.Dark)
#         scrollArea.setWidget(self.getView())
        
        self.setCentralWidget(self.getView())
        self.setGeometry(300, 30,900,900)
        self.setWindowTitle('Qt4 - pyHotGraphSLAM')    
        self.sb=QtGui.QLabel(self)
        self.sb.setText("x=0,y=0")
        self.statusBar().addPermanentWidget(self.sb)
        self.sb1=QtGui.QLabel(self)
        self.setCurrentTool(pyHSelectionTool(self.getView()))
        self.show()
 def selectingFigures(self):
     self.setCurrentTool(pyHSelectionTool(self.getView()))
 def selectingFigures(self):
     self.setCurrentTool(pyHSelectionTool(self.getView()))