taurus_pyqtgraph/curveproperties.py
def _onItemChanged(self, item):
        """slot used when an item data has changed"""
        name = item.data(self.NAME_ROLE)
        previousTitle = self.curvePropDict[name].title
        currentTitle = item.text()
        if previousTitle != currentTitle:
            self.curvePropDict[name].title = currentTitle
            self.CurveTitleEdited.emit(name, currentTitle)
slot used when an item data has changed
slot used when an item data has changed
slot used when an item data has changed
def _onItemChanged(self, item):
        name = item.data(self.NAME_ROLE)
        previousTitle = self.curvePropDict[name].title
        currentTitle = item.text()
        if previousTitle != currentTitle:
            self.curvePropDict[name].title = currentTitle
            self.CurveTitleEdited.emit(name, currentTitle)
def _onItemChanged ( self , item ) : name = item . data ( self . NAME_ROLE ) previousTitle = self . curvePropDict [ name ] . title currentTitle = item . text ( ) if previousTitle != currentTitle : self . curvePropDict [ name ] . title = currentTitle self . CurveTitleEdited . emit ( name , currentTitle )
slot used when an item data has changed
slot used when an item data has changed
"""slot used when an item data has changed"""
self
item