eric6/Plugins/VcsPlugins/vcsMercurial/HgBookmarksInOutDialog.py

changeset 8218
7c09585bd960
parent 8205
4a0f1f896341
child 8259
2bbec88047dd
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
31 @param mode mode of the dialog (HgBookmarksInOutDialog.INCOMING, 31 @param mode mode of the dialog (HgBookmarksInOutDialog.INCOMING,
32 HgBookmarksInOutDialog.OUTGOING) 32 HgBookmarksInOutDialog.OUTGOING)
33 @param parent reference to the parent widget (QWidget) 33 @param parent reference to the parent widget (QWidget)
34 @exception ValueError raised to indicate an invalid dialog mode 34 @exception ValueError raised to indicate an invalid dialog mode
35 """ 35 """
36 super(HgBookmarksInOutDialog, self).__init__(parent) 36 super().__init__(parent)
37 self.setupUi(self) 37 self.setupUi(self)
38 self.setWindowFlags(Qt.WindowType.Window) 38 self.setWindowFlags(Qt.WindowType.Window)
39 39
40 self.buttonBox.button( 40 self.buttonBox.button(
41 QDialogButtonBox.StandardButton.Close).setEnabled(False) 41 QDialogButtonBox.StandardButton.Close).setEnabled(False)

eric ide

mercurial