Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
我發現如果一般的QWidget,非自己製作的QWidget,可以透過adjustSize()來獲得QWidget在layout中的size。但自己製作的QWidget則無法。想問該怎麼製作一個可以獲得在layout中size的QWidget。 (我的QWidget是QLabel, QGraphicsView等等)