9 |
9 |
10 from __future__ import unicode_literals |
10 from __future__ import unicode_literals |
11 |
11 |
12 import pysvn |
12 import pysvn |
13 |
13 |
|
14 from PyQt5.QtCore import Qt |
14 from PyQt5.QtWidgets import QDialog, QApplication, QDialogButtonBox |
15 from PyQt5.QtWidgets import QDialog, QApplication, QDialogButtonBox |
15 |
16 |
16 from .SvnConst import svnNotifyActionMap |
17 from .SvnConst import svnNotifyActionMap |
17 |
18 |
18 from .SvnDialogMixin import SvnDialogMixin |
19 from .SvnDialogMixin import SvnDialogMixin |
37 @keyparam log optional log message (string) |
38 @keyparam log optional log message (string) |
38 """ |
39 """ |
39 super(SvnDialog, self).__init__(parent) |
40 super(SvnDialog, self).__init__(parent) |
40 self.setupUi(self) |
41 self.setupUi(self) |
41 SvnDialogMixin.__init__(self, log) |
42 SvnDialogMixin.__init__(self, log) |
|
43 self.setWindowFlags(Qt.Window) |
42 |
44 |
43 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
45 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
44 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
46 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
45 |
47 |
46 self.outputGroup.setTitle(text) |
48 self.outputGroup.setTitle(text) |