Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个基于 QwtScaleWidget 的时间线小部件以将其呈现在图像中。如果我不显示此小部件widget.show(),则 QwtScaleWidget::getBorderDistHint() 方法会返回错误的边框距离。也许你知道它为什么会发生?
widget.show()