摘要: QRect r=QRect(0,0,100,100); r.setLeft(10);//设置左上角x坐标 r.setTop(20); //设置左上角y坐标 r.setWidth(130); //设置 宽 r.setHeight(100); //设置 高 QSize s=QSize(200,150); 阅读全文
posted @ 2019-08-29 18:54 天子骄龙 阅读(4801) 评论(0) 推荐(0)
摘要: QHBoxLayout 水平布局: Header: #include <QHBoxLayout> qmake: QT += widgets Inherits:QBoxLayout 选中要布局的控件 >点击布局按钮: QVBoxLayout 垂直布局: Header: #include <QVBoxL 阅读全文
posted @ 2019-08-29 08:59 天子骄龙 阅读(252) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-08-29 08:06 天子骄龙 阅读(427) 评论(0) 推荐(0)