mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 18:13:04 +02:00
...
This commit is contained in:
parent
4b1812cac9
commit
ddcd2d3a0c
2 changed files with 2 additions and 2 deletions
|
|
@ -229,7 +229,7 @@ def create_menu_action(self, menu, unique_name, text, icon=None, shortcut=None,
|
|||
an UUID to it.
|
||||
:param text: The text of the action.
|
||||
:param icon: Either a QIcon or a file name. The file name is passed to
|
||||
the I() builtin, so you do not need to pass the full path to the images
|
||||
the QIcon.ic() builtin, so you do not need to pass the full path to the images
|
||||
folder.
|
||||
:param shortcut: A string, a list of strings, None or False. If False,
|
||||
no keyboard shortcut is registered for this action. If None, a keyboard
|
||||
|
|
|
|||
|
|
@ -352,7 +352,7 @@ def __call__(self, callback, payload, html_log, log_viewer_title, title,
|
|||
:param focus_action: If True, the action button will be focused instead of the Yes button
|
||||
:param show_det: If True, the Detailed message will be shown initially
|
||||
:param show_ok: If True, OK will be shown instead of YES/NO
|
||||
:param icon: The icon to be used for this popop (defaults to question mark). Can be either a QIcon or a string to be used with I()
|
||||
:param icon: The icon to be used for this popop (defaults to question mark). Can be either a QIcon or a string to be used with QIcon.ic()
|
||||
:log_viewer_unique_name: If set, ViewLog will remember/reuse its size for this name in calibre.gui2.gprefs
|
||||
'''
|
||||
question = Question(
|
||||
|
|
|
|||
Loading…
Reference in a new issue