嵌入式Qt学习(2)-- 设置按钮大小及位置

  参考:http://blog.sina.com.cn/s/blog_6c67826b0100u4kg.html

  btn->setGeometry(0,0,100,100);  //坐标参考系在屏幕左上角

你可能感兴趣的:(嵌入式Qt学习(2)-- 设置按钮大小及位置)