コード例 #1
0
    def property_changed(self, pwidget):
        """Get information from a possibly changed parameter.

        Parameters
        ----------
        pwidget : QWidget
            The parameter widget that has possibly changed.
        """
        ProposalWidget.property_changed(self, pwidget, 2)
コード例 #2
0
    def create_sky_constraints(self, glayout, params):
        """Set the information for the proposal sky constraints.

        Parameters
        ----------
        glayout : QGridLayout
            Instance of a grid layout.
        params : dict
            The configuration information for the sky constraints.
        """
        ProposalWidget.create_sky_constraints(self, glayout, params)
コード例 #3
0
    def create_filters(self, glayout, params):
        """Set the information for the proposal filters.

        Parameters
        ----------
        glayout : QGridLayout
            Instance of a grid layout.
        params : dict
            The configuration information for the filters.
        """
        ProposalWidget.create_filters(self, glayout, params, is_general=False)
コード例 #4
0
    def create_scheduling(self, glayout, params):
        """Set the information for the proposal scheduling.

        Parameters
        ----------
        glayout : QGridLayout
            Instance of a grid layout.
        params : dict
            The configuration information for the scheduling.
        """
        ProposalWidget.create_scheduling(self, glayout, params)
コード例 #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.
        """
        ProposalWidget.__init__(self, name, params, parent)