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.
我将 QHeaderView 子类化为 QTreeWidget 并用它的对象调用 setHeader。现在标题具有固定宽度而不是等于父宽度的宽度。我怎样才能同步它们?