IconEditor/IconEditorWindow.py

changeset 1507
9225700cbff5
parent 1131
7781e396c903
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1506:f28af766e539 1507:9225700cbff5
1216 def __whatsThis(self): 1216 def __whatsThis(self):
1217 """ 1217 """
1218 Private slot called in to enter Whats This mode. 1218 Private slot called in to enter Whats This mode.
1219 """ 1219 """
1220 QWhatsThis.enterWhatsThisMode() 1220 QWhatsThis.enterWhatsThisMode()
1221
1222 def wheelEvent(self, evt):
1223 """
1224 Protected method to handle wheel events.
1225
1226 @param evt reference to the wheel event (QWheelEvent)
1227 """
1228 if evt.modifiers() & Qt.ControlModifier:
1229 if evt.delta()< 0:
1230 self.__zoomOut()
1231 else:
1232 self.__zoomIn()
1233 evt.accept()
1234 return
1235
1236 super().wheelEvent(evt)

eric ide

mercurial