随笔分类 - Qt日常笔记
主要记录日常使用qt过程中遇到的一些问题或者产生的一些想法。
摘要:1 简介 参考视频:https://www.bilibili.com/video/BV1XW411x7AB?p=3 Github:https://github.com/zhengcixi/Qt_Demo/tree/master/CarMananger 本项目实现一个小的demo,主要目的用于进行汽车
阅读全文
摘要:1 简介 参考视频:https://www.bilibili.com/video/BV1XW411x7NU?p=53 Github:https://github.com/zhengcixi/Qt_Demo/tree/master/chess 说明:实现一个8*8的棋盘,点击棋盘的任意位置显示一个表情
阅读全文
摘要:1 环境 系统:windows 10 代码编写运行环境:Qt Creator 4.4.1 (community) Github:https://github.com/zhengcixi/Qt_Demo/tree/master/GuessNum 2 简介 参考视频:https://www.bilibi
阅读全文
摘要:1 环境: 系统:windows 10 代码编写运行环境:Qt Creator 4.4.1 (community) GitHub:https://github.com/zhengcixi/Qt_Demo/tree/master/notepad 2 参考代码 Karllen:qt5.5实现 记事本程序
阅读全文
摘要:本文简要说明,如何实现点击按钮弹出一个文本框。 1)首先创建工程,我们就创建一个QMainWindow,不选择UI,就好了。 2)然后再单独创建一个C++类文件,最后得到的工程代码如下: 由于在创建mydiaglog时无法选择Dialog,我们就选择QWidget就行了。 3)接下来,把myDial
阅读全文