zoukankan      html  css  js  c++  java
  • paip.提高用户体验c++图片按钮方法总结

    paip.提高用户体验----c++图片按钮方法总结


    作者Attilax ,  EMAIL:1466519819@qq.com 
    来源:attilax的专栏
    地址:http://blog.csdn.net/attilax


    1.new>qt  >resource file  >>*.qrc
    -------------------------------------------
    then can auto change in *.pro 
    RESOURCES += \
        picnavbek.qrc


    2.add a jpg into from gui   ... finaly open with txt editor like this
    ----------------------------------------------------------------


    <RCC>
        <qresource>
            <file>C:/Documents and Settings/Administrator/桌面/nav2.jpg</file>
        </qresource>
    </RCC>


    3.button>rit key >change stylySheet> add resource >select resource  :select the pic..   then floow txt box like this
    =============================================================================================
    background-image: url(:/C:/Documents and Settings/Administrator/桌面/nav2.jpg);




    参考
    QT4.6上怎样给按钮加背景图片 - CSDN论坛 - CSDN.NET.htm





  • 相关阅读:
    Springboot中使用Scala开发
    aliyun阿里云Maven仓库地址
    css文字滚动
    随笔
    下拉菜单事件
    微信分享
    微信分享功能
    随笔记
    全屏设置
    判定复选框的选中状态
  • 原文地址:https://www.cnblogs.com/attilax/p/15199534.html
Copyright © 2011-2022 走看看