src/eric7/EricGraphics/EricArrowItem.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
135 ) 135 )
136 .normalized() 136 .normalized()
137 .adjusted(-extra, -extra, extra, extra) 137 .adjusted(-extra, -extra, extra, extra)
138 ) 138 )
139 139
140 def paint(self, painter, option, widget=None): # noqa: U100 140 def paint(self, painter, option, _widget=None):
141 """ 141 """
142 Public method to paint the item in local coordinates. 142 Public method to paint the item in local coordinates.
143 143
144 @param painter reference to the painter object 144 @param painter reference to the painter object
145 @type QPainter 145 @type QPainter
146 @param option style options 146 @param option style options
147 @type QStyleOptionGraphicsItem 147 @type QStyleOptionGraphicsItem
148 @param widget optional reference to the widget painted on 148 @param _widget optional reference to the widget painted on (unused)
149 @type QWidget 149 @type QWidget
150 """ 150 """
151 width = ( 151 width = (
152 2 152 2
153 if ( 153 if (

eric ide

mercurial