1.本工程为qt设计师里面的QPushButton的自定义插件
2.需要将本工程Release目录下生成的dll文件复制到qt安装目录下的plugins\designer目录下,我本机拷贝到的目录为:C:\Qt\Qt5.5.0\5.5\msvc2010\plugins\designer;
3.将本工程的mypushbutton.h和mypushbutton.cpp文件拷贝到使用工程目录下,运行即可编译过。同时qt设计师的My Plugins组会显示本自定义插件。
没有合适的资源?快使用搜索试试~ 我知道了~
自定义的QPushButton插件,可放到qt设计师使用v3.0
共40个文件
tlog:10个
cpp:4个
obj:4个
需积分: 50 31 下载量 142 浏览量
2017-05-17
15:42:52
上传
评论 1
收藏 7.3MB ZIP 举报
温馨提示
一个简单的自定义QPushButton插件,可放到qt设计师使用,功能有:点击时按钮连同按钮上的文字一起缩放,给人一种很明显的点击效果。具体使用方法可参考文章http://blog.csdn.net/qqwangfan/article/details/71724118 简单说是将生成的dll放到qt的plugins\designer目录下,将插件的.h和.cpp文件放到你的工程目录下,编译通过后,可以直接使用qt设计师拖拉到界面使用。插件具体位置在qt设计师的My Plugins组下。
资源推荐
资源详情
资源评论
收起资源包目录
MyPushButton.zip (40个子文件)
MyPushButton
MyPushButton
MyPushButton.vcxproj.filters 3KB
mypushbuttonplugin.cpp 1KB
MyPushButton.vcxproj 11KB
Resources
GeneratedFiles
Release
moc_mypushbuttonplugin.cpp 6KB
moc_mypushbutton.cpp 3KB
mypushbuttonplugin.json 4B
mypushbutton.cpp 2KB
MyPushButton.vcxproj.user 850B
Release
MyPushButton.tlog
link.read.1.tlog 5KB
MyPushButton.lastbuildstate 197B
link.command.1.tlog 4KB
custombuild.write.1.tlog 730B
CL.write.1.tlog 4KB
MyPushButton.write.1u.tlog 12KB
cl.command.1.tlog 13KB
custombuild.read.1.tlog 470B
CL.read.1.tlog 91KB
custombuild.command.1.tlog 6KB
link.write.1.tlog 854B
MyPushButton.log 3KB
moc_mypushbuttonplugin.obj 62KB
mypushbuttonplugin.obj 66KB
mypushbutton.obj 67KB
moc_mypushbutton.obj 55KB
vc120.pdb 1.04MB
mypushbutton.h 436B
mypushbuttonplugin.h 833B
MyPushButton.sln 982B
MyPushButton.sdf 20.69MB
Win32
Debug
MyPushButton.lib 2KB
MyPushButton.pdb 1.03MB
MyPushButton.dll 63KB
MyPushButton.exp 839B
MyPushButton.ilk 565KB
Release
MyPushButton.lib 2KB
MyPushButton.pdb 1.4MB
MyPushButton.dll 21KB
MyPushButton.exp 909B
MyPushButton.v12.suo 29KB
按钮插件使用说明.txt 338B
共 40 条
- 1
资源评论
军神关云长_大凡
- 粉丝: 175
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功