new $.oColorButton(paletteName, colorName, showName, parent)
openHarmony/openHarmony_dialog.js, line 1487
The constructor for $.oColorButton
Name | Type | Description |
---|---|---|
paletteName |
string | The name of the palette that contains the color |
colorName |
string | The name of the color (if more than one is present, will pick the first match) |
showName |
bool | Wether to display the name of the color on the button |
parent |
QWidget | The parent QWidget for the button. Automatically set during initialisation of the menu. |