摘要: 1 QLineEdit *edit =new QLineEdit; 2 QPushButton *btn=new QPushButton(edit); 3 btn->setText("..."); 4 btn->setCursor(Qt::ArrowCursor); 5 action = new QWidgetAction(edit); 6 action->setDefaultWidget(btn 阅读全文
posted @ 2019-10-23 13:12 gzbkey 阅读(1186) 评论(0) 推荐(1) 编辑