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.
在我的应用程序中,我正在创建一个向导。我的第一页包含 QTextEdit 中的输入文件列表,存储在 QStringList 中。我希望此 QstringList 作为变量传递到下一页。如何实现?我尝试过调用构造函数以及信号和插槽,但这不起作用。
尝试让所有页面的包含类成为QStringList. 然后,将引用传递给QStringList需要它的每个页面。
QStringList