会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
嘚惹
博客园
首页
新随笔
联系
订阅
管理
2025年11月7日
Win0查看自己电脑的激活码
摘要: 打开CMD窗口 输入 slmgr/dlv 查看到部分产品密钥 打开注册表 regedit 编辑查找 部分产品密钥 可查到完整产品密钥
阅读全文
posted @ 2025-11-07 09:02 嘚惹
阅读(5)
评论(0)
推荐(0)
2025年10月29日
qml与html通信
摘要: 1. 在qml显示html并通讯 main.qml import QtQuick 2.12 import QtQuick.Window 2.12 import QtWebEngine 1.2 import QtQuick.Controls Window { id:mainWindow width:
阅读全文
posted @ 2025-10-29 16:53 嘚惹
阅读(8)
评论(0)
推荐(0)
2025年10月15日
在浏览器播放多个视频 opencv+Nicegui
摘要: 效果图 代码: from nicegui import ui, native import cv2 import numpy as np import base64 import time import threading import os class VideoStream: """单个视频流管
阅读全文
posted @ 2025-10-15 15:57 嘚惹
阅读(16)
评论(0)
推荐(0)
2025年4月18日
使用YOLOv11制作打地鼠游戏辅助器完整指南
摘要: 1. 环境准备 1.1 安装Python 下载安装Python 3.9:Python官网 验证安装:python --version 1.2 安装核心依赖 pip install torch torchvision torchaudio pip install ultralytics pip ins
阅读全文
posted @ 2025-04-18 13:49 嘚惹
阅读(496)
评论(1)
推荐(0)
2025年4月17日
qml ComboBox 展开最大高度设置
摘要: QML ComboBox 下拉菜单最大高度设置指南 方法一览 方法 适用场景 关键属性 优点 固定高度 需要严格限制高度 popup.height 简单直接 最大高度限制 需要弹性限制 popup.maximumHeight 灵活自适应 动态计算 避免超出屏幕 Math.min(contentHei
阅读全文
posted @ 2025-04-17 13:30 嘚惹
阅读(152)
评论(0)
推荐(0)
2025年4月16日
编写Logger通用类
摘要: 主要功能: print → DebugLogger → debug.log log_info() → InfoLogger → info.log log_time() → InfoLogger → info.log log_err() → ErrorLogger → error.log logger
阅读全文
posted @ 2025-04-16 11:18 嘚惹
阅读(35)
评论(0)
推荐(0)
2025年4月15日
QML中FolderDialog异常问题排查:COM线程模式冲突解决方案
摘要: 问题现象 在开发过程中,QML的FolderDialog组件突然失效,终端出现以下错误提示: QWindowsContext: OleInitialize() failed: "COM error 0x80010106: 无法在设置线程模式后对其加以更改。" 根本原因 经排查发现,该问题是由于项目中
阅读全文
posted @ 2025-04-15 16:51 嘚惹
阅读(112)
评论(1)
推荐(0)
2024年12月27日
qml布局记录
摘要: main.qml 源码 import QtQuick Window { width: 640 height: 485 visible: true title: qsTr("布局学习") Rectangle { id:leftrect width: 180; height: 480 anchors.t
阅读全文
posted @ 2024-12-27 17:33 嘚惹
阅读(40)
评论(0)
推荐(0)
2024年12月26日
记录python+pyside+qml+qtcharts 使用,防踩坑
摘要: 使用QML-qtquick 进行开发时,有个使用chart图表的需求,看了一大圈,网上都是qmake或是cmake来构建QTchart,用python开发也只搜到QtWidgets模块进行图表绘制。然而我对qtwidgets不是很了解,想要的是QML开发,在使用ChartView{}时一直闪退,没有
阅读全文
posted @ 2024-12-26 18:15 嘚惹
阅读(350)
评论(0)
推荐(0)
2024年12月25日
PySide6-FluentUI-QML 使用记录 python + pyside6 + qml
摘要: PySide6-FluentUI-QML 是一个ui库,官网地址为 https://github.com/zhuzichu520/FluentUI 作用:美化qml文件,快速构建项目 简单使用 1.pip install pyside6 安装pyside6 2.pip install PySide6
阅读全文
posted @ 2024-12-25 14:55 嘚惹
阅读(1425)
评论(2)
推荐(0)
下一页
公告