Example #1
0
    def __init__(self, parent=None):
        super(CameraInfo, self).__init__(parent)

        self.ccd = CCDInfo(self)
        self.fan = FanStatus(self)
        self.temp = TempMonitor(self)
        # self.temp = None
        self.setLayout(set_wvbox(self.ccd, self.fan, self.temp))
        self.setStyleSheet("background-color: rgb(50, 50, 50); border-radius: 10px; color: white;")
Example #2
0
    def __init__(self, parent=None):
        super(CameraInfo, self).__init__(parent)

        self.ccd = CCDInfo(self)
        self.fan = FanStatus(self)
        self.temp = TempMonitor(self)
        # self.temp = None
        self.setLayout(set_wvbox(self.temp, self.fan, self.ccd))
        self.setStyleSheet("background-color: rgb(50, 50, 50); border-radius: 10px; color: white;")
Example #3
0
    def __init__(self, parent=None):
        super(Clock, self).__init__(parent)
        self.title = QtWidgets.QLabel('Universal Time Coordinated', self)

        self.lcd = QtWidgets.QLabel(self)
        self.sc = SchedClock(lcd_display=self.lcd)

        self.init_ui()
        self.config_widgets()

        self.setLayout(set_wvbox(self.title, self.lcd))
        self.setStyleSheet("background-color: rgb(50, 50, 50); border-radius: 10px; color: white;")
Example #4
0
    def __init__(self, parent=None):
        super(Clock, self).__init__(parent)
        self.title = QtWidgets.QLabel('Universal Time Coordinated', self)

        self.lcd = QtWidgets.QLabel(self)
        self.sc = SchedClock(lcd_display=self.lcd)

        self.init_ui()
        self.config_widgets()

        self.setLayout(set_wvbox(self.title, self.lcd))
        self.setStyleSheet(
            "background-color: rgb(50, 50, 50); border-radius: 10px; color: white;"
        )
Example #5
0
    def __init__(self, parent=None):
        super(MainWindow, self).__init__(parent)

        # Init the Layouts
        self.MainHBox = QtWidgets.QHBoxLayout()   # Main Box
        self.VBox = QtWidgets.QVBoxLayout()   # Vertical Box in the Left Box
        self.all_h_boxes = []
        self.console = ConsoleThreadOutput()
        self.console.set_widget_console(ConsoleLogWidget(self))

        self.MainHBox.addLayout(self.VBox)
        self.MainHBox.addStretch(1)
        self.MainHBox.addLayout(set_wvbox(self.console.get_widget_console(), Shooter(self)))

        add_all_to_vbox(self.VBox, Clock(self), ConfigsInfo(self), CameraInfo(self))
        self.VBox.addStretch(1)

        self.setLayout(self.MainHBox)
Example #6
0
    def __init__(self, parent=None):
        super(MainWindow, self).__init__(parent)

        # Init the Layouts
        self.MainHBox = QtWidgets.QHBoxLayout()   # Main Box
        self.VBox = QtWidgets.QVBoxLayout()   # Vertical Box in the Left Box
        self.all_h_boxes = []
        self.console = ConsoleThreadOutput()
        self.console.set_widget_console(ConsoleLogWidget(self))

        self.MainHBox.addLayout(self.VBox)
        self.MainHBox.addStretch(1)
        self.MainHBox.addLayout(set_wvbox(self.console.get_widget_console(), Shooter(self)))

        add_all_to_vbox(self.VBox, Clock(self), ConfigsInfo(self), StartEndEphem(self), CameraInfo(self))
        self.VBox.addStretch(1)

        self.setLayout(self.MainHBox)
Example #7
0
 def set_layout(self):
     self.setLayout(set_wvbox(self.site, self.moon))
Example #8
0
 def set_layout(self):
     self.setLayout(set_wvbox(self.site, self.moon))