Match styling of document-labels to design reference

- removes bold
- removes font size (default works)
- removes 'suspicious: ' label before the document name
This commit is contained in:
deeplow 2022-10-11 09:22:57 +01:00
parent 6707cbbc4a
commit bbc70df43b
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -590,12 +590,7 @@ class DocumentWidget(QtWidgets.QWidget):
# Dangerous document label # Dangerous document label
self.dangerous_doc_label = QtWidgets.QLabel() self.dangerous_doc_label = QtWidgets.QLabel()
self.dangerous_doc_label.setAlignment(QtCore.Qt.AlignCenter) self.dangerous_doc_label.setAlignment(QtCore.Qt.AlignCenter)
self.dangerous_doc_label.setStyleSheet( self.dangerous_doc_label.setText(os.path.basename(self.document.input_filename))
"QLabel { font-size: 16px; font-weight: bold; }"
)
self.dangerous_doc_label.setText(
f"Suspicious: {os.path.basename(self.document.input_filename)}"
)
# Conversion status images # Conversion status images
self.img_status_unconverted = self.load_status_image("status_unconverted.png") self.img_status_unconverted = self.load_status_image("status_unconverted.png")