代码如下:QPainter* paint = new QPainter();paint->fillRect(0,0,32,w,QColor(255,255,0));谁知道哪儿错了
QPainter构造怎么没参数呢,应该指定绘图的窗口啊
代码如下:QPainter* paint = new QPainter();paint->fillRect(0,0,32,w,QColor(255,255,0));谁知道哪儿错了备注:w=640