目录 PaintEvent用法:重写绘图事件 PaintEvent 返回值:void 参数:QPaintEvent* 用法:重写绘图事件 实例化画家对象: QPainter painter(this) //'this'指在当前窗口作画