重写combobox的showpopup函数
void customcombobox::showpopup()
{
QComboBox::showPopup();
QWidget * popup = this->findChild<QFrame*>();
popup->move(popup->x()-(popup->width()-this->width(),popup->y());
}
重写combobox的showpopup函数
void customcombobox::showpopup()
{
QComboBox::showPopup();
QWidget * popup = this->findChild<QFrame*>();
popup->move(popup->x()-(popup->width()-this->width(),popup->y());
}