Example #1
0
 def __init__(self, parent=None):
     super(TestWindow, self).__init__(parent)
     self.setupUi(self)
     self.logo = LogoWidget(self)
     self.logoLayout.addWidget(self.logo)
     self.logo.setVisible(True)
     self.display_stats = False
     
     self.clickedButton = False
     
     # Attach event handler to bestButton
     self.bestButton.clicked.connect(self.bestClicked)
 def __init__(self, parent=None):
     super(MainWindow, self).__init__(parent)
     self.setupUi(self)
     #self.teleop=TeleopWidget(self)
     #self.tlLayout.addWidget(self.teleop)
     #self.teleop.setVisible(True)
     self.pushButton.clicked.connect(self.playClicked)
     self.pushButton.setCheckable(True)
     self.updGUI.connect(self.updateGUI)
     self.camera1=CameraWidget(self)
     self.stopButton.clicked.connect(self.stopClicked)
     self.logo = LogoWidget(self)
     self.logoLayout.addWidget(self.logo)
     self.logo.setVisible(True)
Example #3
0
    def __init__(self, parent=None):
        super(TrainWindow, self).__init__(parent)
        self.setupUi(self)
        self.logo = LogoWidget(self)
        self.logoLayout.addWidget(self.logo)
        self.logo.setVisible(True)
        self.display_stats = False

        # Attach event handler to trainButton and generationButton
        self.trainButton.clicked.connect(self.trainClicked)
        self.trainButton.setCheckable(True)
        self.generationButton.clicked.connect(self.generationClicked)
        self.generationButton.setCheckable(True)

        self.updGUI.connect(self.updateGUI)
Example #4
0
    def __init__(self, parent=None):
        super(MainWindow, self).__init__(parent)
        self.setupUi(self)
        self.graphic = GLWidget(self)
        self.graphicLayout.addWidget(self.graphic)
        self.graphic.setVisible(True)
        self.logo = LogoWidget(self)
        self.logoLayout.addWidget(self.logo)
        self.logo.setVisible(True)

        self.pushButton.clicked.connect(self.playClicked)
        self.pushButton.setCheckable(True)
        self.resetButton.clicked.connect(self.resetClicked)

        self.updGUI.connect(self.updateGUI)
        self.camera1 = CameraWidget(self)
Example #5
0
    def __init__(self, parent=None):
        super(MainWindow, self).__init__(parent)
        self.setupUi(self)
        self.teleop = TeleopWidget(self)
        self.map = MapWidget(self)
        self.tlLayout.addWidget(self.teleop)
        self.teleop.setVisible(True)
        self.mapLayout.addWidget(self.map)
        self.map.setVisible(True)

        self.verticalLayout_2.addWidget(self.stopButton, 3)

        self.logo = LogoWidget(self, 60, 60)
        self.verticalLayout_2.addWidget(self.logo, 4)
        self.logo.setVisible(True)

        self.playButton.clicked.connect(self.playClicked)
        self.playButton.setCheckable(True)
        self.updGUI.connect(self.updateGUI)
        #self.camera1=CameraWidget(self)

        self.stopButton.clicked.connect(self.stopClicked)