Config dialog plein écran — masque l'interface derrière
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -52,9 +52,10 @@ class ConfigDialog(QDialog):
|
||||
|
||||
def showEvent(self, event):
|
||||
super().showEvent(event)
|
||||
# Prendre toute la taille du parent
|
||||
# Plein écran pour masquer l'interface derrière
|
||||
if self.parent():
|
||||
self.resize(self.parent().size())
|
||||
self.setGeometry(self.parent().rect())
|
||||
self.setStyleSheet("ConfigDialog { background-color: #f0f0f0; }")
|
||||
|
||||
def _fs(self, pct):
|
||||
"""Font size en % de la hauteur du dialogue."""
|
||||
|
||||
Reference in New Issue
Block a user