taurus_pyqtgraph/curveproperties.py
def onApply(self):
        """Apply does 2 things:

            - It updates `self.curvePropDict` using the current values
              chosen in the dialog
            - It emits a curveAppearanceChanged signal that indicates the names
              of the curves that changed and the new properties.  (TODO)

        :return: (tuple<CurveAppearanceProperties,list>) a tuple containing the
                 curve properties and a list of the selected curve names (as a
                 list<str>)
        """
        names = self.getSelectedCurveNames()
        prop = self.getShownProperties()
        # Update self.curvePropDict for selected properties
        for n in names:
            self.curvePropDict[n] = CurveAppearanceProperties.merge(
                [self.curvePropDict[n], prop],
                conflict=CurveAppearanceProperties.inConflict_update_a,
            )
        # emit a (PyQt) signal telling what properties (first argument) need to
        # be applied to which curves (second argument)
        # self.curveAppearanceChanged.emit(prop, names)
        # return both values

        self.curvePropAdapter.setCurveProperties(self.curvePropDict, names)
        return prop, names
Apply does 2 things:

            - It updates `self.curvePropDict` using the current values
              chosen in the dialog
            - It emits a curveAppearanceChanged signal that indicates the names
              of the curves that changed and the new properties.  (TODO)

        :return: (tuple<CurveAppearanceProperties,list>) a tuple containing the
                 curve properties and a list of the selected curve names (as a
                 list<str>)
        
Apply does 2 things:
It updates `self.curvePropDict` using the current values
chosen in the dialog
It emits a curveAppearanceChanged signal that indicates the names
of the curves that changed and the new properties.  (TODO)
Apply does 2 things : It updates ` self . curvePropDict ` using the current values chosen in the dialog It emits a curveAppearanceChanged signal that indicates the names of the curves that changed and the new properties . ( TODO )
def onApply(self):
        names = self.getSelectedCurveNames()
        prop = self.getShownProperties()
        for n in names:
            self.curvePropDict[n] = CurveAppearanceProperties.merge(
                [self.curvePropDict[n], prop],
                conflict=CurveAppearanceProperties.inConflict_update_a,
            )
        self.curvePropAdapter.setCurveProperties(self.curvePropDict, names)
        return prop, names
def onApply ( self ) : names = self . getSelectedCurveNames ( ) prop = self . getShownProperties ( ) for n in names : self . curvePropDict [ n ] = CurveAppearanceProperties . merge ( [ self . curvePropDict [ n ] , prop ] , conflict = CurveAppearanceProperties . inConflict_update_a , ) self . curvePropAdapter . setCurveProperties ( self . curvePropDict , names ) return prop , names
Apply does 2 things:
 It updates `self.curvePropDict` using the current values
chosen in the dialog
 It emits a curveAppearanceChanged signal that indicates the names
of the curves that changed and the new properties.
Apply does 2 things : It updates ` self . curvePropDict ` using the current values chosen in the dialog It emits a curveAppearanceChanged signal that indicates the names of the curves that changed and the new properties .
"""Apply does 2 things:

            - It updates `self.curvePropDict` using the current values
              chosen in the dialog
            - It emits a curveAppearanceChanged signal that indicates the names
              of the curves that changed and the new properties.  (TODO)

        :return: (tuple<CurveAppearanceProperties,list>) a tuple containing the
                 curve properties and a list of the selected curve names (as a
                 list<str>)
        """ # Update self.curvePropDict for selected properties # emit a (PyQt) signal telling what properties (first argument) need to # be applied to which curves (second argument) # self.curveAppearanceChanged.emit(prop, names) # return both values
(tuple) a tuple containing the
curve properties and a list of the selected curve names (as a
list)
( tuple ) a tuple containing the curve properties and a list of the selected curve names ( as a list )
self