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.
我正在尝试查看 PyQt6 QTableWidget 表格单元格中的一些字符串。如果字符串很长,我只想显示字符串的结尾并隐藏开头。例如,在这种情况下 QLineInput 可以使用.setCursorPosition(),但是 QTableWidget 的单元格有什么解决方案吗?
.setCursorPosition()