Exemplo n.º 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.
        """
        ConfigurationTab.__init__(self, name, parent=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.
        """
        ConfigurationTab.__init__(self, name, parent=parent)
Exemplo n.º 3
0
    def __init__(self, name, proposals, parent=None):
        """Initialize the class.

        Parameters
        ----------
        name : str
            The name for the tab title.
        proposals : dict
            The default set of proposals.
        parent : QWidget
            The parent widget of this one.
        """
        self.proposals = proposals
        self.GEN_PROP_GB_POS = 3
        ConfigurationTab.__init__(self, name, parent=parent)
Exemplo n.º 4
0
    def __init__(self, name, params, parent=None):
        """Initialize the class.

        Parameters
        ----------
        name : str
            The name for the tab title.
        params : dict
            A set of parameters to help dynamically create the widgets.
        parent : QWidget
            The parent widget of this one.
        """
        self.group_box_rows = []
        self.num_group_boxes = 0
        self.setup = params

        ConfigurationTab.__init__(self, name, self.property_changed, parent)
        del self.setup
Exemplo n.º 5
0
    def __init__(self, name, params, parent=None):
        """Initialize the class.

        Parameters
        ----------
        name : str
            The name for the tab title.
        params : dict
            A set of parameters to help dynamically create the widgets.
        parent : QWidget
            The parent widget of this one.
        """
        self.group_box_rows = []
        self.num_group_boxes = 0
        self.setup = params
        self.full_check = False

        ConfigurationTab.__init__(self, name, self.property_changed, parent)
        del self.setup
Exemplo n.º 6
0
    def __init__(self, name, proposals, parent=None):
        """Initialize the class.

        Parameters
        ----------
        name : str
            The name for the tab title.
        proposals : dict
            The default set of proposals.
        parent : QWidget
            The parent widget of this one.
        """
        self.proposals = proposals
        self.GEN_PROP_GB_POS = 3
        self.SEQ_PROP_GB_POS = 4
        self.prop_loc_map = {
            "general_proposals": self.GEN_PROP_GB_POS,
            "sequence_proposals": self.SEQ_PROP_GB_POS
        }
        self.diff_props = []
        ConfigurationTab.__init__(self, name, parent=parent)