GithubHelp home page GithubHelp logo

qt_learn's Introduction

目录

1、对象树、对象类的创建和析构、mainWindow中创建按钮,自己创建信号槽的signal函数和slot函数,Lamdba表达式写槽函数很方便
2、在代码中创建菜单栏、工具栏、底下状态栏等
3、Qt里面有一系列对话框,消息对话框QMessageBox、QFileDialog等
4、登录窗口 用户名、密码,水平、垂直布局、弹簧,Widget页面布局的使用
5、QtoolButton、groupbox、RadioButton、CheckBox、ListWidget的使用
6、QTreeWidgetItem控件的使用,添加头节点和子节点(英雄介绍)
7、使用QTabelWidget创建表格,名字、性别、年龄
8、其他控件的使用,添加动图等等,Qlabel添加jpg动图
9、封装自己的小控件,新建设计师界面类,主窗口中QWidget提升为smallWaiget,setUI函数()将当前类设置为UI的基类, ui包含smallWaiget和Widget两个类,提供get_num和set_num对外接口
10、QEvent事件,新建mylabel类,将控件提升为mylabel类。实现鼠标进入,离开标签时,打印信息。鼠标点击、移动、释放。定时器。事件分发器,事件过滤器
11、画图QPainter事件以及界面update()刷新
12、不同绘图设备绘图,在图片上绘图,降绘图操作保存为自定义文件
13、通过按钮打开文本文件,按行读取、写入txt文件,读取文件信息比如文件大小、创建日期、修改日期、路径、后缀名等等
14、金币小游戏
15、将金币用cmake构建,然后利用Cmake构建Visual Studio项目

qt_learn's People

Contributors

lichengwei47 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.