当前位置:网站首页>Qt学习03 Qt的诞生和本质
Qt学习03 Qt的诞生和本质
2022-06-29 10:30:00 【一个小黑酱】
Qt学习03 Qt的诞生和本质
GUI用户界面元素
GUI用户界面是由固定的窗口元素所构成的

操作系统提供了创建用户界面元素所需要的函数
各种功能不同的函数依次调用,从而创建出界面元素
操作系统提供的原生函数无法直接映射到界面元素
问题:如何直观的将界面元素的概念直接映射到程序中?
面向对象的GUI程序设计
GUI应用程序是为解决非科学计算问题而诞生的
GUI应用程序适用于非专业的日常生活领域
面向过程程序设计方法学不适合GUI程序设计
面向对象程序设计方法学更适合GUI程序设计
用面向对象方法学看淡GUI界面元素
所有的界面元素都可以看作实际的对象
GUI用户界面是由不相同的对象组成的:
主窗口对象,菜单对象,按钮对象,文本框对象 等等。。。
GUI开发非常适合采用面向对象方法学
将界面元素定义为对应的类
通过抽象和封装可以隐藏界面元素的细节
程序的创建过程就是组合不同界面元素对象的过程

Qt的本质
- Qt是利用面向对象方法学开发的一套GUI组件库
- Qt将不同操作系统的GUI细节封装与类的内部
- Qt提供一套跨平台的类用于开发GUI程序
- Qt遵循经典的GUI应用程序开发模式
小结
- GUI程序开发更适合采用面向对象方法学
- 所有的界面元素都可以看作实际的对象
- GUI用户界面是由各不相同的对象组成的
- Qt是利用面向对象方法学开发的一套GUI组件库
I用户界面是由各不相同的对象组成的 - Qt是利用面向对象方法学开发的一套GUI组件库
- Qt将GUI细节封装与类的内部,具有跨平台的特性
边栏推荐
- The last 48 hours! The cloud XR theme competition invites you to bloom together. See you at the competition!
- 【无标题】我在密谋一件大事
- Bs-gx-018 student examination system based on SSM
- Cornerstone of efficient remote office: effective communication | community essay solicitation
- Multi thread communication between client and server (primary version)
- XML外部实体注入漏洞(一)
- 【每日3题(3)】重新格式化电话号码
- 软件工程导论——第五章——总体设计
- ModbusTCP协议WIFI无线学习型单路红外模块(小壳版)
- 什么?漫画居然能免费看全本了,这还不学起来一起做省钱小能手
猜你喜欢

The Chinese Computational Linguistics Conference and the national knowledge atlas and Semantic Computing Conference are in full swing
![[daily 3 questions (3)] reformat the phone number](/img/ba/0cfe8c084e626615934065b4dee453.png)
[daily 3 questions (3)] reformat the phone number

Today in history: musk was born; Microsoft launches office 365; The inventor of Chua's circuit was born

直击产业落地!飞桨重磅推出业界首个模型选型工具
![[daily 3 questions (1)] judge the color of a grid on the chess board](/img/bd/064058f917554237b741795d405189.png)
[daily 3 questions (1)] judge the color of a grid on the chess board

软件工程导论——第五章——总体设计

Limit introduction summary

Pipeline aggregations管道聚合- parent-2

斐波那锲数列与冒泡排序法在C语言中的用法

(JS) array de duplication
随机推荐
TTL serial port learning infrared remote control module can be extended to network control
Google Earth Engine(GEE)——GEDI L2A Vector Canopy Top Height (Version 2) 全球生态系统数据集
那些大佬经常在bash 命令行终端不经意间666飞起的必备操作
By asp Net core downloading files according to the path
ModbusTCP协议WIFI无线学习型单路红外模块(圆壳版)
misc3~7
Mastering the clever use of some shell wildcards will make us write with half the effort
Add notification announcements to send notifications to online users
Encore une fois, le chemin de l'amélioration de redis Cloud
Spark - one to one correspondence between task and partition and detailed explanation of parameters
毕业季·进击的技术er - 职场打工人
ruoyi框架中添加sharding sphere5.0.0分表(通过spi添加自定义分表策略)
(JS) handwritten deep copy
Pull and push ideas behind rxjs observable design principles
Nuc980 open source project 16- start from SPI flash (w25q128)
arcgis创建postgre企业级数据库
Pipeline aggregations管道聚合- parent-2
Today in history: musk was born; Microsoft launches office 365; The inventor of Chua's circuit was born
【HBZ分享】Semaphore 与 CountDownLatch原理
What are the pop, push, unshift, and shift of the (JS) array?