40 @param indentCheckService reference to the service (IndentCheckService) |
40 @param indentCheckService reference to the service (IndentCheckService) |
41 @param parent The parent widget (QWidget). |
41 @param parent The parent widget (QWidget). |
42 """ |
42 """ |
43 super(TabnannyDialog, self).__init__(parent) |
43 super(TabnannyDialog, self).__init__(parent) |
44 self.setupUi(self) |
44 self.setupUi(self) |
|
45 self.setWindowFlags(Qt.Window) |
45 |
46 |
46 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
47 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
47 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
48 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
48 |
49 |
49 self.resultList.headerItem().setText(self.resultList.columnCount(), "") |
50 self.resultList.headerItem().setText(self.resultList.columnCount(), "") |