Qt
Qt学习笔记
cqy阳
2022博客之星Top31
感谢关注!互相学习!
实践是检验真理的唯一标准!
展开
-
【Qt】随记2:CV_Assert的用法
【Qt】随记2:CV_Assert的用法原创 2023-06-27 11:09:46 · 830 阅读 · 0 评论 -
【Qt】随记1:#if 1/0 #else #endif的用法
随记1:#if 1/0 #else #endif的用法原创 2023-04-18 20:05:10 · 2074 阅读 · 2 评论 -
04-常用控件(QLabel)-python+pycharm实现PyQt5
QLabel控件代码import sysfrom PyQt5.QtWidgets import QMainWindow,QLabel, QApplication,QVBoxLayout,QHBoxLayout,QWidget,QPushButtonfrom PyQt5.QtGui import QIcon,QPalette,QPixmapfrom PyQt5.QtCore import Qt"""# QLabel控件 # setAlignment():设置文本的对齐方式原创 2021-06-06 18:05:11 · 368 阅读 · 2 评论 -
03-为控件添加提示信息-python+pycharm实现PyQt5
为控件添加提示信息代码import sysfrom PyQt5.QtWidgets import QMainWindow, QApplication,QHBoxLayout,QWidget,QPushButtonfrom PyQt5.QtGui import QIconclass ToolTipForm(QMainWindow): def __init__(self): super().__init__() self.unitUI() se原创 2021-06-06 14:17:04 · 216 阅读 · 2 评论 -
02-屏幕坐标系-python+pycharm实现PyQt5
屏幕坐标系代码import sysfrom PyQt5.QtWidgets import QMainWindow, QApplication,QHBoxLayout,QWidget,QPushButtonfrom PyQt5.QtGui import QIcondef onClick_Button(): print("方法1--整个外围边框") print("widget.x=%d"%widget.x()) print("widget.y=%d" % widget.y())原创 2021-06-06 13:56:06 · 449 阅读 · 0 评论 -
01-基础创建窗口-python+pycharm实现PyQt5
1.创建主窗口学习笔记:PyQt5教程 来源b站一起来交流代码import sysfrom PyQt5.QtWidgets import QMainWindow,QApplicationfrom PyQt5.QtGui import QIconclass FirstMainWin(QMainWindow): def __init__(self): super(FirstMainWin,self).__init__() # 设置窗口的标题原创 2021-06-05 22:54:08 · 997 阅读 · 0 评论