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

 找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

搜帖子
查看: 1619|回复: 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 | 显示全部楼层
谢谢分享
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-5-24 16:52 , Processed in 0.120635 second(s), 4 queries , Gzip On, Redis On.

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