28 Constructor |
28 Constructor |
29 |
29 |
30 @param project reference to the project object |
30 @param project reference to the project object |
31 @param parent reference to the parent widget (QWidget) |
31 @param parent reference to the parent widget (QWidget) |
32 """ |
32 """ |
33 QDialog.__init__(self, parent) |
33 super().__init__(parent) |
34 self.setupUi(self) |
34 self.setupUi(self) |
35 |
35 |
36 self.editorLexerList.headerItem().setText(self.editorLexerList.columnCount(), "") |
36 self.editorLexerList.headerItem().setText(self.editorLexerList.columnCount(), "") |
37 header = self.editorLexerList.header() |
37 header = self.editorLexerList.header() |
38 header.setResizeMode(QHeaderView.ResizeToContents) |
38 header.setResizeMode(QHeaderView.ResizeToContents) |