ITeye博客

QGraphicsWidget的geometry和boundingRect是什么关系?

johnsmith9th · 2012-12-25 17:08 · Qt · C++ · 编程语言 · Markdown

QGraphicsWidget的boundingRect的概念和QGraphicsWidget的windowFrameRect等价,所以QGraphicsWidget的boundingRect略大于或者等于QGraphicsWidget的geometry,取决于这个Widget有没有windowFrame,缺省情况下也就是取决于Style和WindowFlags。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。