QComboBox{ border:1px solid gray; border-radius:3px; padding: 5px; min-width:40px;background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #55aaff, stop: 0.4 #75bdff,
stop: 0.5 #7ec1ff, stop: 1.0 #b8deff);}
QComboBox::drop-down{subcontrol-origin:padding; subcontrol-position:top right; width:20px; border-left-width:1px;border-left-color:darkgray; border-left-style:solid; border-top-right-radius:3px; border-bottom-right-radius:3px;min-height:40px;}
QComboBox QAbstractItemView::item { min-height:25px; min-width: 60px; }
自定义QComboBox下拉框的item高度,需注意:ui->comboBox->setView(new QListView);