//设置位置
void setGeometry(int x, int y, int w, int h)
void setGeometry(const QRect &)
//设置大小
void resize(int w, int h)
void resize(const QSize &)
//QPixmap初始化两种
第一种:
QPixmap* px=new QPixmap(100,100);
第二种:
QPixmap px=QPixmap(100,100);
//设置位置
void setGeometry(int x, int y, int w, int h)
void setGeometry(const QRect &)
//设置大小
void resize(int w, int h)
void resize(const QSize &)
//QPixmap初始化两种
第一种:
QPixmap* px=new QPixmap(100,100);
第二种:
QPixmap px=QPixmap(100,100);