Krita Source Code Documentation
Loading...
Searching...
No Matches
tenbrushesdialog.py
Go to the documentation of this file.
1# SPDX-License-Identifier: CC0-1.0
2
3try:
4 from PyQt6.QtWidgets import QDialog
5except:
6 from PyQt5.QtWidgets import QDialog
7
8
9class TenBrushesDialog(QDialog):
10
11 def __init__(self, uitenbrushes, parent=None):
12 super(TenBrushesDialog, self).__init__(parent)
13
14 self.uitenbrushes = uitenbrushes
15
16 def accept(self):
17 self.uitenbrushes.tenbrushes.writeSettings()
18
19 super(TenBrushesDialog, self).accept()
20
21 def closeEvent(self, event):
22 event.accept()
__init__(self, uitenbrushes, parent=None)