35 """ |
35 """ |
36 Constructor |
36 Constructor |
37 |
37 |
38 @param parent reference to the parent widget (QWidget) |
38 @param parent reference to the parent widget (QWidget) |
39 """ |
39 """ |
40 super(PreviewerHTML, self).__init__(parent) |
40 super().__init__(parent) |
41 |
41 |
42 self.__layout = QVBoxLayout(self) |
42 self.__layout = QVBoxLayout(self) |
43 |
43 |
44 self.titleLabel = QLabel(self) |
44 self.titleLabel = QLabel(self) |
45 self.titleLabel.setWordWrap(True) |
45 self.titleLabel.setWordWrap(True) |
335 """ |
335 """ |
336 Constructor |
336 Constructor |
337 |
337 |
338 @param parent reference to the parent object (QObject) |
338 @param parent reference to the parent object (QObject) |
339 """ |
339 """ |
340 super(PreviewProcessingThread, self).__init__() |
340 super().__init__() |
341 |
341 |
342 self.__lock = threading.Lock() |
342 self.__lock = threading.Lock() |
343 |
343 |
344 def process(self, filePath, language, text, ssiEnabled, rootPath, |
344 def process(self, filePath, language, text, ssiEnabled, rootPath, |
345 useSphinx, convertNewLineToBreak, usePyMdownExtensions, |
345 useSphinx, convertNewLineToBreak, usePyMdownExtensions, |