MCPcopy Create free account
hub / github.com/QuantFans/quantdigger / pick

Method pick

quantdigger/backup/pyqt_kline/QxtSpanSlider.py:148–152  ·  view source on GitHub ↗
(self, p)

Source from the content-addressed store, hash-verified

146 self.triggerAction(QAbstractSlider.SliderMove, main)
147
148 def pick(self, p):
149 if self.orientation() == QtCore.Qt.Horizontal:
150 return p.x()
151 else:
152 return p.y()
153
154 def triggerAction(self, action, main):
155 value = 0

Callers 5

paintEventMethod · 0.95
handleMousePressMethod · 0.95
mouseMoveEventMethod · 0.95
fFunction · 0.80
underscore-min.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected