mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
461a5ea571
commit
fe4f798c70
@ -93,14 +93,15 @@ class MessageBox(QDialog): # {{{
|
|||||||
tc.setObjectName("toggle_checkbox")
|
tc.setObjectName("toggle_checkbox")
|
||||||
l.addWidget(tc, 2, 0, 1, 2)
|
l.addWidget(tc, 2, 0, 1, 2)
|
||||||
|
|
||||||
def __init__(self, type_, title, msg,
|
def __init__(
|
||||||
det_msg='',
|
self, type_, title, msg,
|
||||||
q_icon=None,
|
det_msg='',
|
||||||
show_copy_button=True,
|
q_icon=None,
|
||||||
parent=None, default_yes=True,
|
show_copy_button=True,
|
||||||
yes_text=None, no_text=None, yes_icon=None, no_icon=None,
|
parent=None, default_yes=True,
|
||||||
add_abort_button=False,
|
yes_text=None, no_text=None, yes_icon=None, no_icon=None,
|
||||||
only_copy_details=False
|
add_abort_button=False,
|
||||||
|
only_copy_details=False
|
||||||
):
|
):
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
self.only_copy_details = only_copy_details
|
self.only_copy_details = only_copy_details
|
||||||
|
Loading…
x
Reference in New Issue
Block a user