Disable text editing of message box

This commit is contained in:
deeppomf 2019-10-09 02:02:47 -04:00
parent 2b5ffb6700
commit 2cbefc89e6

View File

@ -70,6 +70,7 @@ class MainWindow(QWidget):
self.progressMessage = QTextEdit() self.progressMessage = QTextEdit()
self.progressCursor = QTextCursor(self.progressMessage.document()) self.progressCursor = QTextCursor(self.progressMessage.document())
self.progressMessage.setTextCursor(self.progressCursor) self.progressMessage.setTextCursor(self.progressCursor)
self.progressMessage.setReadOnly(True)
self.progressCursor.insertText("After you prepared your images, click on the decensor button once to begin decensoring.\nPlease be patient.\nDecensoring will take time.\n") self.progressCursor.insertText("After you prepared your images, click on the decensor button once to begin decensoring.\nPlease be patient.\nDecensoring will take time.\n")
#put all groups into grid #put all groups into grid