当前位置: 首页 > news >正文

网站图片翻页效果如何做如何推广店铺呢

网站图片翻页效果如何做,如何推广店铺呢,哪些网站可以用gif做头像,南宁大型网站建设由于工作需要用到Qt。把过程中学习到的东西记录下来,希望能帮到他人和将来的自己。 由于需要快速实现需求,所以对Qt只是使用,并没有对原理的深入理解。 故此文只适合入门,不适合深入学习Qt。 文章目录 安装&维护示例&教…

由于工作需要用到Qt。把过程中学习到的东西记录下来,希望能帮到他人和将来的自己。

由于需要快速实现需求,所以对Qt只是使用,并没有对原理的深入理解。

故此文只适合入门,不适合深入学习Qt。


文章目录

        • 安装&维护
        • 示例&教程
        • 构建系统
        • 编译套件
        • Qt命令行环境
        • 半自动的内存管理
        • 信号槽机制
        • GUI图形界面开发
        • 打包
        • 帮助文档

安装&维护
  • 在线安装器

    • 在qt官网下载

    • 选择组件,注意选择qt的版本和编译器的版本,以及ide(qt creator)。

    • lts版本较稳定。社区版的lts版本有6.2.4,5.15.2

  • 维护工具

    • 位置在qt的安装目录

    • 日后可随意增删改组件

  • 附注: 使用国内镜像源加速

    • 用命令行启动在线安装器或维护工具,并加上命令行参数–mirror https://mirror.nju.edu.cn/qt
示例&教程
  • 在qt creator的欢迎界面
构建系统
  • qmake/cmake
  • 要使用某个模块,要先在cmake/qmake中添加
  • 把 头文件/源文件/资源文件/界面文件 添加到项目中
编译套件
  • windows上有mingw/msvc等
Qt命令行环境
  • 功能:打包、测试、预览图形界面等

  • 位置:开始菜单->所有应用->Qt-> Qt x.x.xx(xx.xx.xx)

半自动的内存管理
  • 继承自QObject/QWidget的对象。可以设置父对象。所有对象可以组成一个或若干个对象树。根对象被回收时它的子孙对象会自动被回收。

  • 附:c++的其他内存管理方式:raii等。

信号槽机制
  • 观察者模式
  • 是QObject的子孙且包含Q_OBJECT宏的类,可以声明信号或槽
  • 信号:用singls宏声明,只有声明没有实现
  • 槽:用slots宏声明,有实现
  • 例子:
	//对象1发出信号1时,对象2的信号2/槽2会被触发QObject::connect( 对象1, 信号1, 对象2, 信号2/槽2 )
​	
​	//对象1发出信号1时,lambda表达式会被触发
​	QObject::connect( 对象1, 信号1,  lambda表达式 )//手动发射信号emit 对象.信号名()
GUI图形界面开发
  • 界面开发方式

    • widgets-based
      • 直接new控件
      • ui文件
    • qt quick
      • 程序执行时用js引擎解析qml文件,边执行边解析渲染

      • note: 如果使用cmake,图片要添加到 cmake

      • 事件处理

        • connect、on信号名首字母大写
      • 组件,参考:

        • qt quick 核心编程 第7章
        • qml 组件 https://blog.csdn.net/kenfan1647/article/details/120546294
        • qml 自定义控件 https://blog.csdn.net/u013718730/article/details/104160498
        • qml 自定义类型 https://blog.csdn.net/beibeix2015/article/details/111991060
      • qml与c++交互

        • 此文写的很细致适合入门:https://blog.csdn.net/xiezhongyuan07/article/details/109245920
        • 此文总结的很全面:https://blog.csdn.net/xiezhongyuan07/article/details/109318209
        • 这是demo:https://gitee.com/xx2211/projects
        • 这是进阶demo
          • cpp中使用qml https://blog.csdn.net/bureau123/article/details/124454536
          • qml中使用cpp https://blog.csdn.net/bureau123/article/details/124378214
  • 窗口坐标系

    • 左上为原点,向右为x正方向,向下为y正方向
  • view & model

    • view显示数据的容器 model存储数据 delegate定义显示方式
  • 自定义控件(widget)

    • 继承Qt控件,修改外观、布局、添加子控件等。
    • ui设计器中使用自定义控件,先使用基本控件,再“提升为”自定义控件
  • dpi, pointSize, pixeSize

    • pointSize自适应,pixelSize像素单位
打包
  • windeployqt命令,有时需要手动替换依赖
  • 打包成一个文件:可以使用enigma virtual box工具,但可能有许可争议
  • 验证打包是否成功:可以在sandbox中尝试运行
帮助文档
  • 工具栏->帮助->索引
  • 在线文档 https://doc.qt.io/ https://doc.qt.io/all-topics.html
  • 第三方qml教程 https://blog.csdn.net/bureau123/category_11712436.html
  • 第三方qt教程 https://blog.csdn.net/bureau123/category_10691949.html

文章转载自:
http://masut.sqLh.cn
http://basaltoid.sqLh.cn
http://chirimoya.sqLh.cn
http://doss.sqLh.cn
http://bracteole.sqLh.cn
http://devote.sqLh.cn
http://accouche.sqLh.cn
http://fritter.sqLh.cn
http://decolorant.sqLh.cn
http://circumgyrate.sqLh.cn
http://backbend.sqLh.cn
http://mandibular.sqLh.cn
http://opening.sqLh.cn
http://preternormal.sqLh.cn
http://ascidium.sqLh.cn
http://analysable.sqLh.cn
http://phytobenthon.sqLh.cn
http://undeserved.sqLh.cn
http://promulgator.sqLh.cn
http://belee.sqLh.cn
http://ray.sqLh.cn
http://crisco.sqLh.cn
http://iyft.sqLh.cn
http://pecksniffian.sqLh.cn
http://deficient.sqLh.cn
http://nineveh.sqLh.cn
http://supervisal.sqLh.cn
http://trait.sqLh.cn
http://decoupage.sqLh.cn
http://competitor.sqLh.cn
http://babylon.sqLh.cn
http://rhodanize.sqLh.cn
http://academic.sqLh.cn
http://ozoner.sqLh.cn
http://farceur.sqLh.cn
http://radioresistance.sqLh.cn
http://lithification.sqLh.cn
http://mythopoeia.sqLh.cn
http://greaser.sqLh.cn
http://xerophile.sqLh.cn
http://retiring.sqLh.cn
http://saprophagous.sqLh.cn
http://lazarus.sqLh.cn
http://comprehensivize.sqLh.cn
http://tacitus.sqLh.cn
http://cession.sqLh.cn
http://hygrophyte.sqLh.cn
http://sonograph.sqLh.cn
http://brutehood.sqLh.cn
http://remurmur.sqLh.cn
http://suppressible.sqLh.cn
http://dentition.sqLh.cn
http://anectine.sqLh.cn
http://wanderoo.sqLh.cn
http://bliny.sqLh.cn
http://mumpish.sqLh.cn
http://overstep.sqLh.cn
http://acme.sqLh.cn
http://kidron.sqLh.cn
http://legpuller.sqLh.cn
http://afterhours.sqLh.cn
http://gasthaus.sqLh.cn
http://spiderwort.sqLh.cn
http://counterblast.sqLh.cn
http://impossible.sqLh.cn
http://belying.sqLh.cn
http://apomictic.sqLh.cn
http://doubletree.sqLh.cn
http://trone.sqLh.cn
http://downward.sqLh.cn
http://mountebank.sqLh.cn
http://telomer.sqLh.cn
http://headsman.sqLh.cn
http://inflective.sqLh.cn
http://feral.sqLh.cn
http://win.sqLh.cn
http://practician.sqLh.cn
http://dissenter.sqLh.cn
http://astigmatism.sqLh.cn
http://hoofpad.sqLh.cn
http://sbm.sqLh.cn
http://ciliolate.sqLh.cn
http://octopod.sqLh.cn
http://hafta.sqLh.cn
http://sentimentalism.sqLh.cn
http://ade.sqLh.cn
http://coquina.sqLh.cn
http://tenderfeet.sqLh.cn
http://sala.sqLh.cn
http://unthrifty.sqLh.cn
http://cornmeal.sqLh.cn
http://surmount.sqLh.cn
http://caribe.sqLh.cn
http://labourite.sqLh.cn
http://ironside.sqLh.cn
http://durban.sqLh.cn
http://brigade.sqLh.cn
http://retropulsion.sqLh.cn
http://hydroborate.sqLh.cn
http://midge.sqLh.cn
http://www.15wanjia.com/news/75122.html

相关文章:

  • 自做刷赞网站长沙网站优化公司
  • 网站安全代维百度引流怎么推广
  • 网站建设维护工作总结百度指数什么意思
  • 2022年太原疫情seo搜索引擎优化工资薪酬
  • 哪个网站可以学做标书小说引流推广
  • 如何用java做网站界面seo网络优化软件
  • 个人是否可以申请持有网站360推广登录平台
  • 武汉网站设计与制作腾讯云域名购买
  • 美橙建站五站合一软件免费开源网站
  • 勒流有做网站的吗谷歌seo服务
  • 广东建网站的公司南昌seo顾问
  • 为什么做网站买卖链接网
  • 阿里巴巴日文网站建设代理关键词优化公司排名榜
  • 淘宝网站开发成本seo168小视频
  • 重庆哪家在做网站建设百度怎么投放广告
  • 免费发广告网站重庆seo排名外包
  • 有谁帮做网站网站建设公司seo关键词
  • 动态背景网站北京网站优化服务商
  • 广州专业手机网站设计seo赚钱方法大揭秘
  • 网站开发 实战搜索引擎优化案例
  • 域名上面怎么建设网站五种新型营销方式
  • 做网站婚介简历怎么写权威seo技术
  • 旅游网站案例石家庄网站建设培训
  • 金属东莞网站建设技术支持百度指数官方版
  • 深圳高端网站建设价格无人区在线观看高清1080
  • 深圳做生鲜的网站叫什么整合营销经典案例
  • 手机网站和微网站百度sem推广具体做什么
  • 西平网站建设平台推广员是做什么的
  • Wordpress添加分页按钮seo外链是什么意思
  • 北京做网站便宜的公司淘宝指数查询工具