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.
我正在使用 Qt Designer,并且我有一个 QStackedWidget。在其中一个页面上,数据超出了页面的大小限制。我添加了一个垂直滚动条,但在我运行应用程序时它不起作用。我是否必须为此编写任何代码。请有人帮忙。
谢谢你。
把你的QStackedWidget放入QScrollArea. 通常,如果您希望某些内容可滚动,请将其放入QScrollArea.
QStackedWidget
QScrollArea