摘要:
如果头文件中有多个类,带有Q_OBJECT的类要放在头文件的第一个类位置,否则可能无法moc 阅读全文
posted @ 2019-10-31 11:51
酷熊
阅读(568)
评论(1)
推荐(0)
摘要:
QWidget* w = new QWidget(this); w->setGeometry(10,20,400,300); QVBoxLayout* layout = new QVBoxLayout(w); layout->setSpacing(0); layout->setContentMarg 阅读全文
posted @ 2019-10-31 10:47
酷熊
阅读(1167)
评论(0)
推荐(0)
摘要:
setAttribute(Qt::WA_Mapped); 阅读全文
posted @ 2019-10-31 10:39
酷熊
阅读(317)
评论(0)
推荐(0)

浙公网安备 33010602011771号