会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
gzbkey
博客园
首页
新随笔
联系
订阅
管理
2019年10月23日
QLineEdit右侧添加按键(最简方案)
摘要: 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)
编辑
公告