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()
connect
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
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
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52