在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 1457|回复: 6

[求助] PySide6学习笔记(Qt for Python)

[复制链接]
发表于 2022-9-12 17:47:52 | 显示全部楼层 |阅读模式
 楼主| 发表于 2022-9-12 21:20:21 | 显示全部楼层
__main__ → Top-level code environment

  ○ __name = '__main__'
    ■ What is the "top-level code environment"?
    ■ Idiomatic Usage
    ■ Packaging Considerations

  ○ __main__.py in Python Packages
    ■ Idiomatic Usage

  ○ import __main__
发表于 2022-9-13 11:25:59 | 显示全部楼层
谢谢分享
发表于 2022-9-13 13:33:49 | 显示全部楼层
顶一下
 楼主| 发表于 2022-9-14 07:23:20 | 显示全部楼层
PySide6.QtCore

The Qt Core modules is part of Qt's essential modules.
The Qt Core module adds these features to C++:
○ a very powerful mechanism for seamless object communication called signals and slots
○ queryable and designable object properties
○ hierarchical and queryable object trees

The following pages provide more info about Qt's core features:
● The Meta-Object System
● The Property System
● Object Model
● Object Trees & Ownership
● Signals & Slots
 楼主| 发表于 2022-9-16 06:48:57 | 显示全部楼层
PySide6.QtSensors

The Qt Sensors API provides access to sensor hardware via QML and python interfaces.

Information for Application Writers

Applications can access Qt Sensors using QML or  Python.

To include the definitions of modules classes, use the following directive:

###
import PySide6.QtSensors
###
发表于 2022-9-16 10:04:53 | 显示全部楼层
谢谢分享
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

×

小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-12-23 12:47 , Processed in 0.020940 second(s), 6 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表