重写QLineEdit,实现编辑框内添加删除按钮的功能(随时把控件Move到一个地方,然后show就可以了,这是万能的办法)

http://www.qtcn.org/bbs/read-htm-tid-62265-ds-1-page-1.html#180286

原文地址:https://www.cnblogs.com/findumars/p/6523775.html