Krita Source Code Documentation
Loading...
Searching...
No Matches
colordepthcombobox.py
Go to the documentation of this file.
1
# SPDX-License-Identifier: CC0-1.0
2
3
try
:
4
from
PyQt6.QtWidgets
import
QComboBox
5
except
:
6
from
PyQt5.QtWidgets
import
QComboBox
7
8
9
class
ColorDepthComboBox
(QComboBox):
10
11
def
__init__
(self, uiColorSpace, parent=None):
12
super(ColorDepthComboBox, self).
__init__
(parent)
13
14
self.
uiColorSpace
= uiColorSpace
15
16
self.currentTextChanged.
connect
(self.
changedTextColorDepthComboBox
changedTextColorDepthComboBox
)
17
18
def
changedTextColorDepthComboBox
(self, colorDepth):
19
self.
uiColorSpace
.loadColorProfiles()
connect
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
colorspace.components.colordepthcombobox.ColorDepthComboBox
Definition
colordepthcombobox.py:9
colorspace.components.colordepthcombobox.ColorDepthComboBox.__init__
__init__(self, uiColorSpace, parent=None)
Definition
colordepthcombobox.py:11
colorspace.components.colordepthcombobox.ColorDepthComboBox.changedTextColorDepthComboBox
changedTextColorDepthComboBox(self, colorDepth)
Definition
colordepthcombobox.py:18
colorspace.components.colordepthcombobox.ColorDepthComboBox.uiColorSpace
uiColorSpace
Definition
colordepthcombobox.py:14
colorspace.components.colordepthcombobox.ColorDepthComboBox.changedTextColorDepthComboBox
changedTextColorDepthComboBox
Definition
colordepthcombobox.py:16
QtWidgets
QtWidgets
plugins
python
colorspace
components
colordepthcombobox.py
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52