|
1Qter豆
看qt帮助文档,qcolor 函数里面有很多用到index。比如:
void QColorDialog::setCustomColor ( int index, color ) [static]Sets the custom color at index to the color value.
Note: This function does not apply to the Native Color Dialog on the Mac OS X platform. If you still require this function, use the option.
但是一直不理解index是什么用的。我是新手。
是给颜色的一个编号么?
|
|