Kein PW bei Export
Dieser Commit ist enthalten in:
@ -1,7 +1,7 @@
|
||||
"""
|
||||
Export-Dialog für Account-Profile
|
||||
|
||||
Ermöglicht Auswahl von Export-Formaten und Passwortschutz.
|
||||
Ermöglicht Auswahl von Export-Formaten.
|
||||
"""
|
||||
|
||||
import logging
|
||||
@ -153,36 +153,6 @@ class ProfileExportDialog(QDialog):
|
||||
|
||||
container_layout.addWidget(format_group)
|
||||
|
||||
# Passwortschutz-Checkbox
|
||||
self.password_checkbox = QCheckBox("Mit Passwort schützen")
|
||||
self.password_checkbox.setChecked(False)
|
||||
self.password_checkbox.setStyleSheet("""
|
||||
QCheckBox {
|
||||
font-size: 13px;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-weight: 500;
|
||||
color: #374151;
|
||||
spacing: 8px;
|
||||
}
|
||||
QCheckBox::indicator {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 4px;
|
||||
border: 2px solid #D1D5DB;
|
||||
}
|
||||
QCheckBox::indicator:checked {
|
||||
background-color: #10B981;
|
||||
border-color: #10B981;
|
||||
}
|
||||
""")
|
||||
|
||||
# Info-Text für Passwortschutz
|
||||
password_info = QLabel("(Wird automatisch generiert)")
|
||||
password_info.setStyleSheet("color: #9CA3AF; font-size: 11px; font-family: 'Poppins', sans-serif; margin-left: 26px;")
|
||||
|
||||
container_layout.addWidget(self.password_checkbox)
|
||||
container_layout.addWidget(password_info)
|
||||
|
||||
# Spacer
|
||||
container_layout.addStretch()
|
||||
|
||||
@ -271,8 +241,8 @@ class ProfileExportDialog(QDialog):
|
||||
)
|
||||
return
|
||||
|
||||
# Passwortschutz-Option
|
||||
password_protect = self.password_checkbox.isChecked()
|
||||
# Passwortschutz ist entfernt - immer False
|
||||
password_protect = False
|
||||
|
||||
# Signal emittieren
|
||||
self.export_confirmed.emit(selected_formats, password_protect)
|
||||
@ -295,7 +265,8 @@ class ProfileExportDialog(QDialog):
|
||||
if self.pdf_checkbox.isChecked():
|
||||
formats.append("pdf")
|
||||
|
||||
password_protect = self.password_checkbox.isChecked()
|
||||
# Passwortschutz ist entfernt - immer False
|
||||
password_protect = False
|
||||
|
||||
return formats, password_protect
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren