src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnDialogMixin.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9653
e67609152c5e
equal deleted inserted replaced
9412:45e7bb09c120 9413:80c06d472826
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 EricGui.EricOverrideCursor import EricOverridenCursor 13 from eric7.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
85 @return tuple of three values (retcode, acceptedFailures, save). 85 @return tuple of three values (retcode, acceptedFailures, save).
86 Retcode should be true, if the certificate should be accepted, 86 Retcode should be true, if the certificate should be accepted,
87 acceptedFailures should indicate the accepted certificate failures 87 acceptedFailures should indicate the accepted certificate failures
88 and save should be True, if subversion should save the certificate. 88 and save should be True, if subversion should save the certificate.
89 """ 89 """
90 from EricWidgets import EricMessageBox 90 from eric7.EricWidgets import EricMessageBox
91 91
92 with EricOverridenCursor(): 92 with EricOverridenCursor():
93 parent = isinstance(self, QWidget) and self or None 93 parent = isinstance(self, QWidget) and self or None
94 msgBox = EricMessageBox.EricMessageBox( 94 msgBox = EricMessageBox.EricMessageBox(
95 EricMessageBox.Question, 95 EricMessageBox.Question,

eric ide

mercurial