摘要:
要实现paintEvent方法StyleSheet才会有效void AccountingForm::paintEvent(QPaintEvent * e){ QStyleOption opt; opt.init(this); QPainter p(this); style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);} 阅读全文
posted @ 2012-11-06 23:11
杂草
阅读(1026)
评论(0)
推荐(0)

浙公网安备 33010602011771号