eric7/EricWidgets/EricModelToolBar.py

branch
eric7
changeset 8366
2a9f5153c438
parent 8358
144a6b854f70
child 8881
54e42bc2437a
equal deleted inserted replaced
8365:cde9bde830ea 8366:2a9f5153c438
176 self.activated[QModelIndex].emit(idx) 176 self.activated[QModelIndex].emit(idx)
177 elif ( 177 elif (
178 evt.type() == QEvent.Type.MouseButtonPress and 178 evt.type() == QEvent.Type.MouseButtonPress and
179 evt.buttons() & Qt.MouseButton.LeftButton 179 evt.buttons() & Qt.MouseButton.LeftButton
180 ): 180 ):
181 self.__dragStartPosition = self.mapFromGlobal(evt.globalPosition().toPoint()) 181 self.__dragStartPosition = self.mapFromGlobal(
182 evt.globalPosition().toPoint())
182 183
183 return False 184 return False
184 185
185 def dragEnterEvent(self, evt): 186 def dragEnterEvent(self, evt):
186 """ 187 """

eric ide

mercurial