32 @param isFile flag indicating log for a file is to be shown (boolean) |
32 @param isFile flag indicating log for a file is to be shown (boolean) |
33 @param parent parent widget (QWidget) |
33 @param parent parent widget (QWidget) |
34 """ |
34 """ |
35 super().__init__(parent) |
35 super().__init__(parent) |
36 self.setupUi(self) |
36 self.setupUi(self) |
|
37 self.setWindowFlags(self.windowFlags() | Qt.WindowMinMaxButtonsHint) |
37 |
38 |
38 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
39 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
39 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
40 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
40 |
41 |
41 self.filesTree.headerItem().setText(self.filesTree.columnCount(), "") |
42 self.filesTree.headerItem().setText(self.filesTree.columnCount(), "") |