mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
7e004def33
commit
1de1d03aea
@ -115,17 +115,21 @@ class InterfaceAction(QObject):
|
|||||||
|
|
||||||
def accept_enter_event(self, event, mime_data):
|
def accept_enter_event(self, event, mime_data):
|
||||||
''' This method should return True iff this interface action is capable
|
''' This method should return True iff this interface action is capable
|
||||||
of handling the drag event. '''
|
of handling the drag event. Do not call accept/ignore on the event,
|
||||||
|
that will be taken care of by the calibre UI.'''
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def accept_drag_move_event(self, event, mime_data):
|
def accept_drag_move_event(self, event, mime_data):
|
||||||
''' This method should return True iff this interface action is capable
|
''' This method should return True iff this interface action is capable
|
||||||
of handling the drag event. '''
|
of handling the drag event. Do not call accept/ignore on the event,
|
||||||
|
that will be taken care of by the calibre UI.'''
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def drop_event(self, event, mime_data):
|
def drop_event(self, event, mime_data):
|
||||||
''' This method should perform some useful action and return True
|
''' This method should perform some useful action and return True
|
||||||
iff this interface action is capable of handling the drag event. '''
|
iff this interface action is capable of handling the drag event. Do not
|
||||||
|
call accept/ignore on the event, that will be taken care of by the
|
||||||
|
calibre UI.'''
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def do_genesis(self):
|
def do_genesis(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user