File indexing completed on 2024-12-22 04:16:28

0001 # SPDX-License-Identifier: CC0-1.0
0002 
0003 from PyQt5.QtWidgets import QDialog
0004 
0005 
0006 class TenBrushesDialog(QDialog):
0007 
0008     def __init__(self, uitenbrushes, parent=None):
0009         super(TenBrushesDialog, self).__init__(parent)
0010 
0011         self.uitenbrushes = uitenbrushes
0012 
0013     def accept(self):
0014         self.uitenbrushes.tenbrushes.writeSettings()
0015 
0016         super(TenBrushesDialog, self).accept()
0017 
0018     def closeEvent(self, event):
0019         event.accept()