eric7/Plugins/VcsPlugins/vcsPySvn/SvnDialogMixin.py

branch
eric7
changeset 8358
144a6b854f70
parent 8356
68ec9c3d4de5
child 8881
54e42bc2437a
equal deleted inserted replaced
8357:a081458cc57b 8358:144a6b854f70
8 the pysvn client. 8 the pysvn client.
9 """ 9 """
10 10
11 from PyQt6.QtWidgets import QApplication, QDialog, QWidget 11 from PyQt6.QtWidgets import QApplication, QDialog, QWidget
12 12
13 from E5Gui.EricOverrideCursor import EricOverridenCursor 13 from EricGui.EricOverrideCursor import EricOverridenCursor
14 14
15 15
16 class SvnDialogMixin: 16 class SvnDialogMixin:
17 """ 17 """
18 Class implementing a dialog mixin providing common callback methods for 18 Class implementing a dialog mixin providing common callback methods for
84 @return tuple of three values (retcode, acceptedFailures, save). 84 @return tuple of three values (retcode, acceptedFailures, save).
85 Retcode should be true, if the certificate should be accepted, 85 Retcode should be true, if the certificate should be accepted,
86 acceptedFailures should indicate the accepted certificate failures 86 acceptedFailures should indicate the accepted certificate failures
87 and save should be True, if subversion should save the certificate. 87 and save should be True, if subversion should save the certificate.
88 """ 88 """
89 from E5Gui import EricMessageBox 89 from EricWidgets import EricMessageBox
90 90
91 with EricOverridenCursor(): 91 with EricOverridenCursor():
92 parent = isinstance(self, QWidget) and self or None 92 parent = isinstance(self, QWidget) and self or None
93 msgBox = EricMessageBox.EricMessageBox( 93 msgBox = EricMessageBox.EricMessageBox(
94 EricMessageBox.Question, 94 EricMessageBox.Question,

eric ide

mercurial