Krita Source Code Documentation
Loading...
Searching...
No Matches
colormodelcombobox.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
ColorModelComboBox
(QComboBox):
10
11
def
__init__
(self, uiColorSpace, parent=None):
12
super(ColorModelComboBox, self).
__init__
(parent)
13
14
self.
uiColorSpace
= uiColorSpace
15
16
self.currentTextChanged.connect(self.
changedTextColorModelComboBox
changedTextColorModelComboBox
)
17
18
def
changedTextColorModelComboBox
(self, colorModel):
19
self.
uiColorSpace
.loadColorDepths()
colorspace.components.colormodelcombobox.ColorModelComboBox
Definition
colormodelcombobox.py:9
colorspace.components.colormodelcombobox.ColorModelComboBox.__init__
__init__(self, uiColorSpace, parent=None)
Definition
colormodelcombobox.py:11
colorspace.components.colormodelcombobox.ColorModelComboBox.changedTextColorModelComboBox
changedTextColorModelComboBox(self, colorModel)
Definition
colormodelcombobox.py:18
colorspace.components.colormodelcombobox.ColorModelComboBox.changedTextColorModelComboBox
changedTextColorModelComboBox
Definition
colormodelcombobox.py:16
colorspace.components.colormodelcombobox.ColorModelComboBox.uiColorSpace
uiColorSpace
Definition
colormodelcombobox.py:14
QtWidgets
QtWidgets
plugins
python
colorspace
components
colormodelcombobox.py
Generated at
2026-01-15 02:30:07+01:00
from
Krita
branch
master
, commit
38b517ca06286bb65279453cbf9a2b4fbd1153d1