上一页 1 ··· 9 10 11 12 13 14 15 下一页
摘要: 窗口类型: QMainWindow:可以包含菜单栏、工具栏、状态栏、标题栏 QWidget:不确定窗口的用途,就使用QWidget QDialog: 是对话窗口的基类,没有菜单栏、工具栏、状态栏 from PyQt5.QtWidgets import QWidget, QDesktopWidget, 阅读全文
posted @ 2024-06-07 16:47 星空28 阅读(49) 评论(0) 推荐(0)
摘要: """ 菜单栏 """ from PyQt5 import QtWidgets from PyQt5 import QtCore, QtGui import sys import cv2 class ButtonPanel(QtWidgets.QWidget): def __init__(self, 阅读全文
posted @ 2024-06-07 15:04 星空28 阅读(84) 评论(0) 推荐(0)
摘要: import os.path from PyQt5 import QtWidgets from PyQt5 import QtCore, QtGui import sys import cv2 class SpinBoxPanel(QtWidgets.QWidget): def __init__(s 阅读全文
posted @ 2024-06-05 12:11 星空28 阅读(106) 评论(0) 推荐(0)
摘要: """ 复选框 """ import os.path from PyQt5 import QtWidgets from PyQt5 import QtCore, QtGui import sys import cv2 class ButtonPanel(QtWidgets.QWidget): def 阅读全文
posted @ 2024-06-05 10:38 星空28 阅读(119) 评论(0) 推荐(0)
摘要: import os.path from PyQt5 import QtWidgets from PyQt5 import QtCore, QtGui import sys import cv2 class ButtonPanel(QtWidgets.QWidget): def __init__(se 阅读全文
posted @ 2024-06-05 09:27 星空28 阅读(70) 评论(0) 推荐(0)
摘要: from PyQt5 import QtWidgets from PyQt5 import QtCore, QtGui import sys import cv2 class TextDemoPanel(QtWidgets.QWidget): def __init__(self, *args, ** 阅读全文
posted @ 2024-06-05 07:07 星空28 阅读(61) 评论(0) 推荐(0)
摘要: 选择文件夹,显示图片 import os from PyQt5 import QtWidgets from PyQt5 import QtCore, QtGui import sys import cv2 class ButtonPanel(QtWidgets.QWidget): def __ini 阅读全文
posted @ 2024-06-04 18:12 星空28 阅读(119) 评论(0) 推荐(0)
摘要: 图片滚动 import os from PyQt5 import QtWidgets from PyQt5 import QtCore, QtGui import sys import cv2 class ButtonPanel(QtWidgets.QWidget): def __init__(se 阅读全文
posted @ 2024-06-04 17:20 星空28 阅读(94) 评论(0) 推荐(0)
摘要: from PyQt5 import QtWidgets from PyQt5 import QtCore, QtGui import sys import cv2 def click_btn1(): print("click button 1") txt_label.setText("我是按钮1点击 阅读全文
posted @ 2024-06-04 15:44 星空28 阅读(57) 评论(0) 推荐(0)
摘要: from PyQt5 import QtWidgets from PyQt5 import QtCore, QtGui import sys if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) main_win = Qt 阅读全文
posted @ 2024-06-04 15:39 星空28 阅读(42) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 下一页