摘要: 主要通过给QTableWidget设置代理,即继承QItemDelegate类重写其中的方法实现,具体代码如下: 1 /** 2 * @file NonNegativeNumberItemDelegate.h 3 * @brief 非负整数校验代理 4 * @author 禅元天道 (chanyua 阅读全文
posted @ 2024-01-24 16:33 禅元天道 阅读(187) 评论(0) 推荐(0) 编辑