QtQCombobox设置下拉箭头样式

参考:Qt样式表(QComboBox下拉框)(https://www.136.la/shida/show-383176.html)

/*下拉箭头样式*/
QComboBox::down-arrow{
	image:url(":/res/arrow_down_normal.png");
	width:20px;
}
QComboBox::down-arrow:hover{
	image:url(":/res/arrow_down_pressed.png");
	width:20px;
}
QComboBox::down-arrow:on{
	image:url(":/res/arrow_up_normal.png");
	width:20px;
}
QComboBox::down-arrow:hover{
	image:url(":/res/arrow_up_pressed.png");
	width:20px;
}

你可能感兴趣的:(C/C++/qt,qt,css)