
Public Member Functions | |
| def | __init__ |
| def | customSetCurrentIndex |
| Use this function instad of setCurrentIndex for this combo box. | |
| def | setColors |
| def | colors |
| def | color |
| def | paintEvent |
| Paint the internalpixmap in the combobox (when it's unfolded). | |
| def | showEmptyList |
Public Attributes | |
| d | |
| pixlist | |
Usage: comboBox = CC.CCustomCombo(someParent) comboBox.setGeometry(0, 0, 270, 30) comboBox.show()
It's very easy : )
When a color map is selected a signal with the corresponding map could be implemented (in _k_slotActivated). As we don't really need that it is omitted, just query the box for the currently selected color map name.
1.5.8