UserDefindeControl

来源:互联网 发布:linux php 删除模块 编辑:程序博客网 时间:2024/06/05 05:50
根据Qt已有的widget进行继承扩展内容  在UI的普通文本模式下添加这个即可
 <customwidgets>  <customwidget>   <class>SearchableComboBox</class>   <extends>QComboBox</extends>   <header location="global">../UsrDefineControl/searchable_combobox.h</header>  </customwidget> </customwidgets>

Qt 在textWidget 或者QLineEdit中实现鼠标右键 选择 粘贴剪切功能 在如图中

http://blog.csdn.net/tju355/article/details/7652327


1 0
原创粉丝点击