示例#1
0
    def __init__(self, name, parent=None):
        """Initialize the class.

        Parameters
        ----------
        name : str
            The name for the tab title.
        parent : QWidget
            The parent widget of this one.
        """
        ConfigurationTabWidget.__init__(self, name, parent)
    def __init__(self, name, parent=None):
        """Initialize the class.

        Parameters
        ----------
        name : str
            The name for the tab title.
        parent : QWidget
            The parent widget of this one.
        """
        ConfigurationTabWidget.__init__(self, name, parent)
    def __init__(self, name, parent=None):
        """Initialize the class.

        Parameters
        ----------
        name : str
            The name for the tab title.
        parent : QWidget
            The parent widget of this one.
        """
        ConfigurationTabWidget.__init__(self, name, parent)

        self.tab_mapping = {"telescope": "TelescopeWidget",
                            "dome": "DomeWidget",
                            "rotator": "RotatorWidget",
                            "camera": "CameraWidget",
                            "optics_loop_corr": "OpticsLoopCorrWidget",
                            "slew": "SlewWidget",
                            "park": "ParkWidget",
                            "obs_var": "ObservatoryVariationWidget"}
    def __init__(self, name, parent=None):
        """Initialize the class.

        Parameters
        ----------
        name : str
            The name for the tab title.
        parent : QWidget
            The parent widget of this one.
        """
        ConfigurationTabWidget.__init__(self, name, parent)

        self.tab_mapping = {"telescope": "TelescopeWidget",
                            "dome": "DomeWidget",
                            "rotator": "RotatorWidget",
                            "camera": "CameraWidget",
                            "optics_loop_corr": "OpticsLoopCorrWidget",
                            "slew": "SlewWidget",
                            "park": "ParkWidget",
                            "filters": "FiltersWidget",
                            "obs_var": "ObservatoryVariationWidget"}