taurus_pyqtgraph/curvesmodel.py
def processSrc(self, src):
        """
        processes the src and sets the values of display, icon and ok
        attributes
        """
        if src is None:
            self.display, self.icon, self.ok = "", Qt.QIcon(), True
            return
        src = str(src).strip()
        # empty
        if src == "":
            self.display, self.icon, self.ok = "", Qt.QIcon(), True
            return
        # for taurus attributes
        if taurus.isValidName(src, etypes=[TaurusElementType.Attribute]):
            self.display, self.icon, self.ok = (
                src,
                Qt.QIcon("logos:taurus.png"),
                True,
            )
            return

        # if not caught before, it is unsupported
        self.display, self.icon, self.ok = (
            src,
            Qt.QIcon.fromTheme("dialog-warning"),
            False,
        )

        processes the src and sets the values of display, icon and ok
        attributes
        
processes the src and sets the values of display, icon and ok
attributes
processes the src and sets the values of display icon and ok attributes
def processSrc(self, src):
        if src is None:
            self.display, self.icon, self.ok = "", Qt.QIcon(), True
            return
        src = str(src).strip()
        if src == "":
            self.display, self.icon, self.ok = "", Qt.QIcon(), True
            return
        if taurus.isValidName(src, etypes=[TaurusElementType.Attribute]):
            self.display, self.icon, self.ok = (
                src,
                Qt.QIcon("logos:taurus.png"),
                True,
            )
            return
        self.display, self.icon, self.ok = (
            src,
            Qt.QIcon.fromTheme("dialog-warning"),
            False,
        )
def processSrc ( self , src ) : if src is None : self . display , self . icon , self . ok = "" , Qt . QIcon ( ) , True return src = str ( src ) . strip ( ) if src == "" : self . display , self . icon , self . ok = "" , Qt . QIcon ( ) , True return if taurus . isValidName ( src , etypes = [ TaurusElementType . Attribute ] ) : self . display , self . icon , self . ok = ( src , Qt . QIcon ( "logos:taurus.png" ) , True , ) return self . display , self . icon , self . ok = ( src , Qt . QIcon . fromTheme ( "dialog-warning" ) , False , )
processes the src and sets the values of display, icon and ok
attributes
processes the src and sets the values of display icon and ok attributes
"""
        processes the src and sets the values of display, icon and ok
        attributes
        """ # empty # for taurus attributes # if not caught before, it is unsupported
self
src