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.
我正在 linux 的 Qt 中创建一个 GUI 应用程序。在 Tableview 中,我创建了一个可以保存数据库值的表。现在我想用程序动态编辑我的表,以便表会根据程序需要自动更改。
您不需要更改表格视图。它使用模型-视图-控制器模式,因此对模型的任何更改都应该在视图中自动更新。